* Tapestry of the Ages - Fixed wrong condition check of activated ability.

This commit is contained in:
LevelX2 2015-04-12 23:47:01 +02:00
parent 3064a52fc8
commit 22ae0c79ff

View file

@ -88,12 +88,12 @@ class PlayerCastNonCreatureSpellCondition implements Condition {
@Override
public boolean apply(Game game, Ability source) {
PlayerCastNonCreatureSpellWatcher watcher = (PlayerCastNonCreatureSpellWatcher) game.getState().getWatchers().get("PlayerCastNonCreatureSpell");
return watcher != null && !watcher.playerDidCastNonCreatureSpellThisTurn(source.getControllerId());
return watcher != null && watcher.playerDidCastNonCreatureSpellThisTurn(source.getControllerId());
}
@Override
public String toString() {
return "you've cast a noncreature spell this turn";
return "you've cast a noncreature spell this turn";
}
}