Added Mana Drain and Spell Crumple. Fixed replacement effect of Hinder.

This commit is contained in:
LevelX2 2014-08-25 13:54:47 +02:00
parent 97276cbd2a
commit 48e8be4fc2
14 changed files with 599 additions and 48 deletions

View file

@ -99,6 +99,10 @@ public class MageObjectReference implements Comparable<MageObjectReference> {
return hash;
}
public boolean refersTo(UUID id, Game game) {
return refersTo(game.getObject(id));
}
public boolean refersTo(Permanent permanent) {
return permanent.getZoneChangeCounter()== zoneChangeCounter && permanent.getId().equals(sourceId);
}