mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
Fix Zenith Chronicler bug.
Sneaky bug, it would trigger on every spell cast after one multicolored spell until the next multicolored spell was cast. This change makes it only trigger when the spell that was cast was multicolored.
This commit is contained in:
parent
bf2c4cac15
commit
360cde3c82
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ class ZenithChroniclerTriggeredAbility extends TriggeredAbilityImpl {
|
|||
Player controller = game.getPlayer(getControllerId());
|
||||
Spell spell = game.getSpell(event.getTargetId());
|
||||
SpellsCastWatcher watcher = game.getState().getWatcher(SpellsCastWatcher.class);
|
||||
if (controller != null && spell != null && watcher != null) {
|
||||
if (controller != null && spell != null && watcher != null && spell.getColor(game).isMulticolored()) {
|
||||
int multicoloredSpell = 0;
|
||||
for (Spell spellCastThisTurn : watcher.getSpellsCastThisTurn(spell.getControllerId())) {
|
||||
if (spellCastThisTurn.getColor(game).isMulticolored() && ++multicoloredSpell > 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue