forked from External/mage
* 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:
parent
bf3fa37e5d
commit
fb2d367992
5 changed files with 28 additions and 18 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue