forked from External/mage
Fix casting commander transformed (#10790)
Remove CastCommanderAbility and instead apply the modification directly
This commit is contained in:
parent
921b640c33
commit
a756529e05
4 changed files with 12 additions and 42 deletions
|
|
@ -1453,4 +1453,11 @@ public abstract class AbilityImpl implements Ability {
|
|||
.filter(Objects::nonNull)
|
||||
.anyMatch(Condition::caresAboutManaColor);
|
||||
}
|
||||
|
||||
public AbilityImpl copyWithZone(Zone zone) {
|
||||
AbilityImpl copy = ((AbilityImpl)this.copy());
|
||||
copy.zone = zone;
|
||||
copy.newId();
|
||||
return copy;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue