* 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:
Oleg Agafonov 2021-03-05 16:22:46 +04:00
parent 4e79c83784
commit 712cf4576d
8 changed files with 97 additions and 14 deletions

View file

@ -142,6 +142,10 @@ public abstract class AbilityImpl implements Ability {
this.id = UUID.randomUUID();
}
getEffects().newId();
for (Ability sub : getSubAbilities()) {
sub.newId();
}
}
@Override