if multiple permanents come to battlefield at the same time, they are aware now of each other. (e.g. useful for for Valakut, the Molten Pinnacle).

This commit is contained in:
LevelX2 2014-02-06 01:02:44 +01:00
parent 9a0c05f576
commit ca831aee05
6 changed files with 39 additions and 6 deletions

View file

@ -159,6 +159,8 @@ 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;