* Fix to handle returning effects correct if multiple objects return at the same time (e.g. two creatures with evolve return from exile because two Banisher Priests die by damage to all effect). (not complete finished yet, because Undying test does not run without error).

This commit is contained in:
LevelX2 2014-05-06 17:51:37 +02:00
parent 3caacdfec8
commit 9364616517
9 changed files with 142 additions and 29 deletions

View file

@ -178,8 +178,6 @@ public abstract class AbilityImpl<T extends AbilityImpl<T>> implements Ability {
if (effect.applyEffectsAfter()) {
game.applyEffects();
}
// effects like entersBattlefield have to trigger simultanously so objects see each other
game.getState().handleSimultaneousEvent(game);
}
}
return result;