mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
- Reverted old fix 08d9e8cfa0
. It is no longer required for Animate Dead and friends.
This commit is contained in:
parent
4aedf44bdf
commit
cdef28e1b4
1 changed files with 1 additions and 5 deletions
|
@ -109,12 +109,8 @@ public class PermanentCard extends PermanentImpl {
|
||||||
} else {
|
} else {
|
||||||
// copy only own abilities; all dynamic added abilities must be added in the parent call
|
// copy only own abilities; all dynamic added abilities must be added in the parent call
|
||||||
this.abilities = card.getAbilities().copy();
|
this.abilities = card.getAbilities().copy();
|
||||||
// only set spellAbility to null if it has no targets IE: Dance of the Dead bug #7031
|
|
||||||
if (this.getSpellAbility() != null
|
|
||||||
&& this.getSpellAbility().getTargets().isEmpty()) {
|
|
||||||
this.spellAbility = null; // will be set on first getSpellAbility call if card has one.
|
this.spellAbility = null; // will be set on first getSpellAbility call if card has one.
|
||||||
}
|
}
|
||||||
}
|
|
||||||
this.abilities.setControllerId(this.controllerId);
|
this.abilities.setControllerId(this.controllerId);
|
||||||
this.abilities.setSourceId(objectId);
|
this.abilities.setSourceId(objectId);
|
||||||
this.cardType.clear();
|
this.cardType.clear();
|
||||||
|
|
Loading…
Reference in a new issue