mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Tapestry of the Ages - Fixed wrong condition check of activated ability.
This commit is contained in:
parent
3064a52fc8
commit
22ae0c79ff
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue