mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
* Glory Bearers - fixed that it boost itself too;
This commit is contained in:
parent
684a4b3cc9
commit
cc1840b109
2 changed files with 21 additions and 4 deletions
|
|
@ -7,6 +7,8 @@ import mage.cards.CardImpl;
|
|||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.predicate.permanent.AnotherPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
|
|
@ -15,6 +17,12 @@ import java.util.UUID;
|
|||
*/
|
||||
public final class GloryBearers extends CardImpl {
|
||||
|
||||
private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("another creature you control");
|
||||
|
||||
static {
|
||||
filter.add(AnotherPredicate.instance);
|
||||
}
|
||||
|
||||
public GloryBearers(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT, CardType.CREATURE}, "{3}{W}");
|
||||
|
||||
|
|
@ -27,7 +35,7 @@ public final class GloryBearers extends CardImpl {
|
|||
this.addAbility(new AttacksCreatureYouControlTriggeredAbility(
|
||||
new BoostTargetEffect(0, 1)
|
||||
.setText("it gets +0/+1 until end of turn"),
|
||||
false, true
|
||||
false, filter, true
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue