Added zoneChangeCounter to fix spell fizzle on flicker bug. All tests passed.

This commit is contained in:
magenoxx 2012-06-08 17:55:44 +04:00
parent 4c3a9e5c50
commit 1d22d59c42
4 changed files with 47 additions and 3 deletions

View file

@ -436,7 +436,12 @@ public class Spell<T extends Spell<T>> implements StackObject, Card {
throw new UnsupportedOperationException("Unsupported operation");
}
public void setCopiedSpell(boolean isCopied) {
@Override
public int getZoneChangeCounter() {
return card.getZoneChangeCounter();
}
public void setCopiedSpell(boolean isCopied) {
this.copiedSpell = isCopied;
}