* Maelstrom Nexus - Fixed that cascade wrongly triggered not only for the first spell cast.

This commit is contained in:
LevelX2 2017-01-20 00:15:27 +01:00
parent e6b5c0aef6
commit 16648e53d1
2 changed files with 8 additions and 6 deletions

View file

@ -12,7 +12,8 @@ import mage.watchers.Watcher;
/**
* @author jeffwadsworth
**/
*
*/
public class FirstSpellCastThisTurnWatcher extends Watcher {
private final Map<UUID, UUID> playerFirstSpellCast = new HashMap<>();
@ -24,6 +25,8 @@ public class FirstSpellCastThisTurnWatcher extends Watcher {
public FirstSpellCastThisTurnWatcher(final FirstSpellCastThisTurnWatcher watcher) {
super(watcher);
playerFirstSpellCast.putAll(watcher.playerFirstSpellCast);
playerFirstCastSpell.putAll(watcher.playerFirstSpellCast);
}
@Override
@ -61,4 +64,4 @@ public class FirstSpellCastThisTurnWatcher extends Watcher {
return playerFirstSpellCast.get(playerId);
}
}
}
}