mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
- Little fix for a watcher used for Ephara, God of the Polis.
This commit is contained in:
parent
2d4c1f9b06
commit
0372eb12e2
1 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,7 @@ import java.util.ArrayList;
|
|||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.WatcherScope;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.GameEvent;
|
||||
|
@ -75,7 +76,8 @@ public class PermanentsEnteredBattlefieldWatcher extends Watcher {
|
|||
if (enteringBattlefieldLastTurn.containsKey(sourcePermanent.getControllerId())) {
|
||||
for (Permanent permanent : enteringBattlefieldLastTurn.get(sourcePermanent.getControllerId())) {
|
||||
if (!permanent.getId().equals(sourcePermanent.getId())
|
||||
|| permanent.getZoneChangeCounter(game) != sourcePermanent.getZoneChangeCounter(game)) {
|
||||
//|| permanent.getZoneChangeCounter(game) == sourcePermanent.getZoneChangeCounter(game) why is this needed?
|
||||
&& permanent.getCardType().contains(CardType.CREATURE)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue