From 85cd54b262341f68dad3bb9aec702c13e13d9e1e Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Wed, 16 Dec 2020 04:45:35 +0400 Subject: [PATCH] Fixed missing watcher error in non commander games for some cards; --- Mage.Sets/src/mage/cards/c/CaptainVargusWrath.java | 2 +- Mage.Sets/src/mage/cards/c/CommandersInsignia.java | 5 +++-- Mage.Sets/src/mage/cards/m/MythUnbound.java | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/cards/c/CaptainVargusWrath.java b/Mage.Sets/src/mage/cards/c/CaptainVargusWrath.java index 3e9913d84b..7ff3c5eecb 100644 --- a/Mage.Sets/src/mage/cards/c/CaptainVargusWrath.java +++ b/Mage.Sets/src/mage/cards/c/CaptainVargusWrath.java @@ -40,7 +40,7 @@ public final class CaptainVargusWrath extends CardImpl { Duration.EndOfTurn, filter, false, true ), false, "Whenever {this} attacks, Pirates you control get +1/+1 until end of turn " + "for each time you've cast a commander from the command zone this game." - ).addHint(CaptainVargusWrathValue.getHint())); + ).addHint(CaptainVargusWrathValue.getHint()), new CommanderPlaysCountWatcher()); } private CaptainVargusWrath(final CaptainVargusWrath card) { diff --git a/Mage.Sets/src/mage/cards/c/CommandersInsignia.java b/Mage.Sets/src/mage/cards/c/CommandersInsignia.java index f8f97f3aab..5d19eb6257 100644 --- a/Mage.Sets/src/mage/cards/c/CommandersInsignia.java +++ b/Mage.Sets/src/mage/cards/c/CommandersInsignia.java @@ -26,8 +26,9 @@ public final class CommandersInsignia extends CardImpl { // Creatures you control get +1/+1 for each time you've cast your commander from the command zone this game. this.addAbility(new SimpleStaticAbility(new BoostControlledEffect( - CommandersInsigniaValue.instance, CommandersInsigniaValue.instance, Duration.WhileOnBattlefield - ).setText("Creatures you control get +1/+1 for each time you've cast your commander from the command zone this game."))); + CommandersInsigniaValue.instance, CommandersInsigniaValue.instance, Duration.WhileOnBattlefield + ).setText("Creatures you control get +1/+1 for each time you've cast your commander from the command zone this game.")), + new CommanderPlaysCountWatcher()); } private CommandersInsignia(final CommandersInsignia card) { diff --git a/Mage.Sets/src/mage/cards/m/MythUnbound.java b/Mage.Sets/src/mage/cards/m/MythUnbound.java index 0b2e0ea26d..c397c4fa38 100644 --- a/Mage.Sets/src/mage/cards/m/MythUnbound.java +++ b/Mage.Sets/src/mage/cards/m/MythUnbound.java @@ -38,7 +38,7 @@ public final class MythUnbound extends CardImpl { this.addAbility(new SimpleStaticAbility( Zone.BATTLEFIELD, new MythUnboundCostReductionEffect() - )); + ), new CommanderPlaysCountWatcher()); // Whenever your commander is put into the command zone from anywhere, draw a card. this.addAbility(new ZoneChangeAllTriggeredAbility(