mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Added Zone as parameter for SpellCastTriggeredAbility.
This commit is contained in:
parent
a44c2c90b4
commit
881792c36d
1 changed files with 6 additions and 3 deletions
|
@ -51,8 +51,7 @@ public class SpellCastTriggeredAbility extends TriggeredAbilityImpl<SpellCastTri
|
|||
protected boolean rememberSource = false;
|
||||
|
||||
public SpellCastTriggeredAbility(Effect effect, boolean optional) {
|
||||
super(Zone.BATTLEFIELD, effect, optional);
|
||||
this.filter = spellCard;
|
||||
this(Zone.BATTLEFIELD, effect, spellCard, optional, false);
|
||||
}
|
||||
|
||||
public SpellCastTriggeredAbility(Effect effect, FilterSpell filter, boolean optional) {
|
||||
|
@ -60,7 +59,11 @@ public class SpellCastTriggeredAbility extends TriggeredAbilityImpl<SpellCastTri
|
|||
}
|
||||
|
||||
public SpellCastTriggeredAbility(Effect effect, FilterSpell filter, boolean optional, boolean rememberSource) {
|
||||
super(Zone.BATTLEFIELD, effect, optional);
|
||||
this(Zone.BATTLEFIELD, effect, filter, optional, rememberSource);
|
||||
}
|
||||
|
||||
public SpellCastTriggeredAbility(Zone zone, Effect effect, FilterSpell filter, boolean optional, boolean rememberSource) {
|
||||
super(zone, effect, optional);
|
||||
this.filter = filter;
|
||||
this.rememberSource = rememberSource;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue