* Flashback - Fixed that exile effect was not removed after applied.

This commit is contained in:
LevelX2 2016-03-10 00:09:50 +01:00
parent c2b68a9b6f
commit 3184252d54
4 changed files with 53 additions and 12 deletions

View file

@ -625,7 +625,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
this.removeFromCombat(game);
this.controlledFromStartOfControllerTurn = false;
this.abilities.setControllerId(controllerId);
this.getAbilities(game).setControllerId(controllerId);
game.getContinuousEffects().setController(objectId, controllerId);
// the controller of triggered abilites is always set/checked before the abilities triggers so not needed here
game.fireEvent(new GameEvent(EventType.LOST_CONTROL, objectId, objectId, beforeResetControllerId));