* Phasing- Fixed that permanets with phasing did not phase out at controllers untap step and phased out permanents where count as on the battlefield.

This commit is contained in:
LevelX2 2014-11-23 13:00:58 +01:00
parent bf3fa37e5d
commit fb2d367992
5 changed files with 28 additions and 18 deletions

View file

@ -401,7 +401,8 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
if (!phasedIn) {
if (!replaceEvent(EventType.PHASE_IN, game)) {
this.phasedIn = true;
fireEvent(EventType.PHASED_IN, game);
game.informPlayers(getLogName() + " phased in");
fireEvent(EventType.PHASED_IN, game);
return true;
}
}
@ -413,7 +414,8 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
if (phasedIn) {
if (!replaceEvent(EventType.PHASE_OUT, game)) {
this.phasedIn = false;
fireEvent(EventType.PHASED_OUT, game);
game.informPlayers(getLogName() + " phased out");
fireEvent(EventType.PHASED_OUT, game);
return true;
}
}