- Added optional flag for BecomesTargetControllerSpellTriggeredAbility. Fixes Dormant Gomazoa.

This commit is contained in:
jeffwadsworth 2012-04-06 20:41:20 -05:00
parent 26084cc184
commit 39fcd5648f
2 changed files with 3 additions and 3 deletions

View file

@ -64,7 +64,7 @@ public class DormantGomazoa extends CardImpl<DormantGomazoa> {
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SkipUntapSourceEffect()));
// Whenever you become the target of a spell, you may untap Dormant Gomazoa.
this.addAbility(new BecomesTargetControllerSpellTriggeredAbility(new UntapSourceEffect()));
this.addAbility(new BecomesTargetControllerSpellTriggeredAbility(new UntapSourceEffect(), true));
}
public DormantGomazoa(final DormantGomazoa card) {

View file

@ -42,8 +42,8 @@ import mage.game.stack.Spell;
*/
public class BecomesTargetControllerSpellTriggeredAbility extends TriggeredAbilityImpl<BecomesTargetControllerSpellTriggeredAbility> {
public BecomesTargetControllerSpellTriggeredAbility(Effect effect) {
super(Zone.BATTLEFIELD, effect);
public BecomesTargetControllerSpellTriggeredAbility(Effect effect, Boolean optional) {
super(Zone.BATTLEFIELD, effect, optional);
}
public BecomesTargetControllerSpellTriggeredAbility(final BecomesTargetControllerSpellTriggeredAbility ability) {