[Commander]Added alternative lose condition. (21 damages by commander)

This commit is contained in:
Plopman 2013-07-23 18:15:12 +02:00
parent 62d5d43a33
commit a8538885ab
3 changed files with 129 additions and 1 deletions

View file

@ -37,6 +37,7 @@ import mage.game.events.ZoneChangeEvent;
import mage.players.Player;
import java.util.UUID;
import mage.game.command.Commander;
/**
@ -194,6 +195,9 @@ public class PermanentCard extends PermanentImpl<PermanentCard> {
case EXILED:
game.getExile().getPermanentExile().add(card);
break;
case COMMAND:
game.addCommander(new Commander(card));
break;
case LIBRARY:
if (flag)
owner.getLibrary().putOnTop(card, game);