From 360cde3c8299364cf44559d8fa035270f99bf1b8 Mon Sep 17 00:00:00 2001 From: Grath <1895280+Grath@users.noreply.github.com> Date: Fri, 20 Sep 2024 23:03:23 -0400 Subject: [PATCH] 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. --- Mage.Sets/src/mage/cards/z/ZenithChronicler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/z/ZenithChronicler.java b/Mage.Sets/src/mage/cards/z/ZenithChronicler.java index 9a46850d0ab..20f7bc10662 100644 --- a/Mage.Sets/src/mage/cards/z/ZenithChronicler.java +++ b/Mage.Sets/src/mage/cards/z/ZenithChronicler.java @@ -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) {