mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
fixes for issues 18, 19, 20, 21 + more fixes
This commit is contained in:
parent
2aad7682bd
commit
428609ab8b
58 changed files with 482 additions and 356 deletions
|
|
@ -112,18 +112,6 @@ public class PermanentCard extends PermanentImpl<PermanentCard> {
|
|||
this.cardNumber = card.getCardNumber();
|
||||
}
|
||||
|
||||
// @Override
|
||||
// public boolean moveToZone(Zone zone, Game game, boolean flag) {
|
||||
// ZoneChangeEvent event = new ZoneChangeEvent(this.getId(), this.getControllerId(), Zone.BATTLEFIELD, zone);
|
||||
// if (!game.replaceEvent(event)) {
|
||||
// if (game.getPlayer(controllerId).removeFromBattlefield(this, game)) {
|
||||
// CardImpl card = (CardImpl) game.getCard(objectId);
|
||||
// return card.moveToZone(event.getToZone(), controllerId, game, flag);
|
||||
// }
|
||||
// }
|
||||
// return false;
|
||||
// }
|
||||
|
||||
@Override
|
||||
public boolean moveToZone(Zone toZone, UUID sourceId, Game game, boolean flag) {
|
||||
Zone fromZone = game.getZone(objectId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue