mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
* Maelstrom Nexus - Fixed that cascade wrongly triggered not only for the first spell cast.
This commit is contained in:
parent
e6b5c0aef6
commit
16648e53d1
2 changed files with 8 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue