Fixed bug of enters the battlefield handling for tokens.

This commit is contained in:
LevelX2 2013-04-17 17:35:31 +02:00
parent 122c225248
commit 3a51849bd8

View file

@ -117,7 +117,10 @@ public class Token extends MageObjectImpl<Token> {
game.getState().addCard(permanent);
game.addPermanent(permanent);
this.lastAddedTokenId = permanent.getId();
game.setScopeRelevant(true);
game.applyEffects();
permanent.entersBattlefield(sourceId, game, Zone.OUTSIDE, true);
game.setScopeRelevant(false);
game.applyEffects();
game.fireEvent(new ZoneChangeEvent(permanent, controllerId, Zone.OUTSIDE, Zone.BATTLEFIELD));
}