* Fixed a bug were copied abilites (e.g. by Progenitor Mimic) did not use the correct controller after the control of the copying permanent changed (e.g. by Capitivating Vampire).

This commit is contained in:
LevelX2 2016-03-10 00:54:54 +01:00
parent 3184252d54
commit 4b0d027847
3 changed files with 9 additions and 2 deletions

View file

@ -632,6 +632,9 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
game.fireEvent(new GameEvent(EventType.GAINED_CONTROL, objectId, objectId, controllerId));
return true;
} else if (isCopy()) {// Because the previous copied abilities can be from another controller chnage controller in any case for abilities
this.getAbilities(game).setControllerId(controllerId);
game.getContinuousEffects().setController(objectId, controllerId);
}
return false;
}