small fix

This commit is contained in:
Evan Kranzler 2018-04-14 14:44:48 -04:00
parent a646220a0a
commit 9ec4735cf1
2 changed files with 5 additions and 3 deletions

View file

@ -31,12 +31,14 @@ import java.util.UUID;
import mage.MageInt;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
import mage.abilities.dynamicvalue.common.StaticValue;
import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.constants.SubType;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SuperType;
import mage.constants.Zone;
import mage.filter.common.FilterControlledPermanent;
import mage.filter.predicate.mageobject.SupertypePredicate;
@ -50,7 +52,7 @@ public class BenalishHonorGuard extends CardImpl {
private static final FilterControlledPermanent filter = new FilterControlledPermanent("legendary creature you control");
static {
filter.add(new SupertypePredicate(Supertype.LEGENDARY));
filter.add(new SupertypePredicate(SuperType.LEGENDARY));
}
public BenalishHonorGuard(UUID ownerId, CardSetInfo setInfo) {
@ -63,7 +65,7 @@ public class BenalishHonorGuard extends CardImpl {
// Benalish Honor Guard gets +1/+0 for each legendary creature you control.
PermanentsOnBattlefieldCount count = new PermanentsOnBattlefieldCount(filter);
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostSourceEffect(count, 0, Duration.WhileOnBattlefield)));
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostSourceEffect(count, new StaticValue(0), Duration.WhileOnBattlefield)));
}
public BenalishHonorGuard(final BenalishHonorGuard card) {

View file

@ -33231,7 +33231,7 @@ Warcry Phoenix|Dominaria|150|U|{3}{R}|Creature - Phoenix|2|2|Flying, haste$Whene
Warlord's Fury|Dominaria|151|C|{R}|Sorcery|||Creatures you control gain first strike until end of turn.$Draw a card.|
Wizard's Lightning|Dominaria|152|U|{2}{R}|Instant|||This spell costs {2} less to cast if you control a Wizard.$Wizard's Lightning deals 3 damage to any target.|
Adventurous Impulse|Dominaria|153|C|{G}|Sorcery|||Look at the top three cards of your library. You may reveal a creature or land card from among them and put it into your hand. Put the rest on the bottom of your library in any order.|
Ancient Animus|Dominaria|154|C|{1}{G}|instant|||Put a +1/+1 counter on target creature you control if it's legendary. Then it fights target creature an opponent controls. <i>(Each deals damage equal to its power to the other.)</i>|
Ancient Animus|Dominaria|154|C|{1}{G}|Instant|||Put a +1/+1 counter on target creature you control if it's legendary. Then it fights target creature an opponent controls. <i>(Each deals damage equal to its power to the other.)</i>|
Arbor Armament|Dominaria|155|C|{G}|Instant|||Put a +1/+1 counter on target creature. That creature gains reach until end of turn. |
Baloth Gorger|Dominaria|156|C|{2}{G}{G}|Creature - Beast|4|4|Kicker {4} <i>(You may pay an additional 4 as you cast this spell.)</i>$If Baloth Gorger was kicked, it enters the battlefield with three +1/+1 counters on it.|
Broken Bond|Dominaria|157|C|{1}{G}|Sorcery|||Destroy target artifact or enchantment. You may put a land card from your hand onto the battlefield.|