forked from External/mage
Changed ability handling of modal spells to be able to select the same mode multiple times with different targets.
This commit is contained in:
parent
b18cae5100
commit
4711e0cf99
40 changed files with 488 additions and 421 deletions
|
|
@ -86,14 +86,14 @@ public class StackAbility extends StackObjImpl implements Ability {
|
|||
public StackAbility(Ability ability, UUID controllerId) {
|
||||
this.ability = ability;
|
||||
this.controllerId = controllerId;
|
||||
this.name = new StringBuilder("stack ability (").append(ability.getRule()).append(")").toString();
|
||||
this.name = "stack ability (" + ability.getRule() + ")";
|
||||
}
|
||||
|
||||
public StackAbility(final StackAbility spell) {
|
||||
this.ability = spell.ability.copy();
|
||||
this.controllerId = spell.controllerId;
|
||||
this.name = spell.name;
|
||||
this.expansionSetCode = spell.expansionSetCode;
|
||||
public StackAbility(final StackAbility stackAbility) {
|
||||
this.ability = stackAbility.ability.copy();
|
||||
this.controllerId = stackAbility.controllerId;
|
||||
this.name = stackAbility.name;
|
||||
this.expansionSetCode = stackAbility.expansionSetCode;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue