forked from External/mage
updated target adjusters D through G
This commit is contained in:
parent
8d9cf6a8d2
commit
f6ed3a4d19
21 changed files with 348 additions and 364 deletions
|
|
@ -1,7 +1,5 @@
|
|||
package mage;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.UUID;
|
||||
import mage.cards.Card;
|
||||
import mage.constants.Zone;
|
||||
import mage.game.Game;
|
||||
|
|
@ -10,6 +8,9 @@ import mage.game.stack.Spell;
|
|||
import mage.game.stack.StackObject;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* A object reference that takes zone changes into account.
|
||||
*
|
||||
|
|
@ -145,4 +146,8 @@ public class MageObjectReference implements Comparable<MageObjectReference>, Ser
|
|||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean zoneCounterIsCurrent(Game game) {
|
||||
return game.getState().getZoneChangeCounter(sourceId) == zoneChangeCounter;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue