diff --git a/Mage.Sets/src/mage/sets/gatecrash/CryptGhast.java b/Mage.Sets/src/mage/sets/gatecrash/CryptGhast.java index d871fea4ec..2c99e612fb 100644 --- a/Mage.Sets/src/mage/sets/gatecrash/CryptGhast.java +++ b/Mage.Sets/src/mage/sets/gatecrash/CryptGhast.java @@ -29,9 +29,9 @@ package mage.sets.gatecrash; import java.util.UUID; -import mage.Constants; import mage.Constants.CardType; import mage.Constants.Rarity; +import mage.Constants.Zone; import mage.MageInt; import mage.Mana; import mage.abilities.effects.common.BasicManaEffect; @@ -77,14 +77,13 @@ public class CryptGhast extends CardImpl { class CryptGhastTriggeredAbility extends TriggeredManaAbility { - private final static FilterControlledLandPermanent filter = new FilterControlledLandPermanent("Island"); - + private final static FilterControlledLandPermanent filter = new FilterControlledLandPermanent("Swamp"); static { filter.add(new SubtypePredicate("Swamp")); } public CryptGhastTriggeredAbility() { - super(Constants.Zone.BATTLEFIELD, new BasicManaEffect(Mana.BlackMana)); + super(Zone.BATTLEFIELD, new BasicManaEffect(Mana.BlackMana), true); this.usesStack = false; } @@ -94,9 +93,11 @@ class CryptGhastTriggeredAbility extends TriggeredManaAbility { Permanent target = game.getPermanent(source.getFirstTarget()); Player controller = game.getPlayer(target.getControllerId()); if (target != null && controller != null) { - target.moveToZone(Constants.Zone.HAND, id, game, true); + target.moveToZone(Zone.HAND, source.getSourceId(), game, true); controller.discard(1, source, game); return true; } return false; } -} \ No newline at end of file +} diff --git a/Mage.Sets/src/mage/sets/gatecrash/FathomMage.java b/Mage.Sets/src/mage/sets/gatecrash/FathomMage.java index e2776f37d1..d578479345 100644 --- a/Mage.Sets/src/mage/sets/gatecrash/FathomMage.java +++ b/Mage.Sets/src/mage/sets/gatecrash/FathomMage.java @@ -104,6 +104,6 @@ class FathomMageTriggeredAbility extends TriggeredAbilityImpl { //Whenever a creature you control deals combat damage, put a blaze counter on Five-Alarm Fire. this.addAbility(new FiveAlarmFireTriggeredAbility()); //Remove five blaze counters from Five-Alarm Fire: Five-Alarm Fire deals 5 damage to target creature or player. - Ability ability = new SimpleActivatedAbility(Constants.Zone.BATTLEFIELD, new DamageTargetEffect(5), new RemoveCountersSourceCost(CounterType.BLAZE.createInstance(5))); + Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(5), new RemoveCountersSourceCost(CounterType.BLAZE.createInstance(5))); ability.addTarget(new TargetCreatureOrPlayer()); this.addAbility(ability); } @@ -83,7 +82,7 @@ class FiveAlarmFireTriggeredAbility extends TriggeredAbilityImpl> extends TriggeredAbilityImpl { public TriggeredManaAbility(Zone zone, ManaEffect effect) { - super(zone, effect); + this(zone, effect, false); + } + + public TriggeredManaAbility(Zone zone, ManaEffect effect, boolean optional) { + super(zone, effect, optional); } public TriggeredManaAbility(final TriggeredManaAbility ability) {