forked from External/mage
* Gain abilities - fixed that objects can get only one instance of triggered ability instead multiple (example: 2+ cascades from copies of Imoti, Celebrant of Bounty, f52753ad61);
This commit is contained in:
parent
4e79c83784
commit
712cf4576d
8 changed files with 97 additions and 14 deletions
|
|
@ -142,6 +142,10 @@ public abstract class AbilityImpl implements Ability {
|
|||
this.id = UUID.randomUUID();
|
||||
}
|
||||
getEffects().newId();
|
||||
|
||||
for (Ability sub : getSubAbilities()) {
|
||||
sub.newId();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue