From 9ec4735cf160ff6f03a7a040f0eb92fc27a7819f Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 14 Apr 2018 14:44:48 -0400 Subject: [PATCH] small fix --- Mage.Sets/src/mage/cards/b/BenalishHonorGuard.java | 6 ++++-- Utils/mtg-cards-data.txt | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/cards/b/BenalishHonorGuard.java b/Mage.Sets/src/mage/cards/b/BenalishHonorGuard.java index 6378c013236..3d4662bf1ba 100644 --- a/Mage.Sets/src/mage/cards/b/BenalishHonorGuard.java +++ b/Mage.Sets/src/mage/cards/b/BenalishHonorGuard.java @@ -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) { diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index ca1b6602378..9ade81b1f4d 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -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. (Each deals damage equal to its power to the other.)| +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. (Each deals damage equal to its power to the other.)| 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} (You may pay an additional 4 as you cast this spell.)$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.|