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
|
|
@ -1247,10 +1247,11 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
@Override
|
||||
public void phasing(Game game) {
|
||||
//20091005 - 502.1
|
||||
List<Permanent> phasedOut = game.getBattlefield().getPhasedOut(playerId);
|
||||
for (Permanent permanent: game.getBattlefield().getPhasedIn(playerId)) {
|
||||
permanent.phaseOut(game);
|
||||
}
|
||||
for (Permanent permanent: game.getBattlefield().getPhasedOut(playerId)) {
|
||||
for (Permanent permanent: phasedOut) {
|
||||
permanent.phaseIn(game);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue