mage icon indicating copy to clipboard operation
mage copied to clipboard

Mizzix's Mastery doesn't work with overload

Open NapoleonBorn2Party opened this issue 2 months ago • 10 comments

All cards get exiled, but I was unable to cast any of them. There were no other cards in the battlefield that would prevent me from casting them.

NapoleonBorn2Party avatar Oct 10 '25 17:10 NapoleonBorn2Party

Same issue is happening with [[Arcane Bombardment]] - @JayDi85 this might be due to the target refactor?

Grath avatar Oct 15 '25 18:10 Grath

Arcane Bombardment - (Gatherer) (Scryfall) (EDHREC)

{4}{R}{R} Enchantment Whenever you cast your first instant or sorcery spell each turn, exile an instant or sorcery card at random from your graveyard. Then copy each card exiled with this enchantment. You may cast any number of the copies without paying their mana costs.

github-actions[bot] avatar Oct 15 '25 18:10 github-actions[bot]

If code fail in copied cards choose then it can be related to targeting refactor (e.g. possibleTargets code can’t filter/find it in the list for some reason):

Image

JayDi85 avatar Oct 15 '25 18:10 JayDi85

[[Mizzix's Mastery]]

jeffwadsworth avatar Oct 21 '25 16:10 jeffwadsworth

Mizzix's Mastery - (Gatherer) (Scryfall) (EDHREC)

{3}{R} Sorcery Exile target card that's an instant or sorcery from your graveyard. For each card exiled this way, copy it, and you may cast the copy without paying its mana cost. Exile Mizzix's Mastery. Overload {5}{R}{R}{R} (You may cast this spell for its overload cost. If you do, change "target" in its text to "each.")

github-actions[bot] avatar Oct 21 '25 16:10 github-actions[bot]

I believe your targeting code is fine here. The problem is that the exile zone doesn't have the copied cards in it. The solution here may be to just move the copied cards to exile. They will then be picked up by the possibleTargets code and highlighted.

From a judge: You exile the cards, make copies of those cards, and then you can cast those copies from exile while the Mastery is resolving. The copies go on the stack, the cards stay in exile.

jeffwadsworth avatar Oct 22 '25 16:10 jeffwadsworth

It's probably the same issue with Arcane Bombardment in that case - I'm pretty sure that was copied from Mizzix's Mastery

Grath avatar Oct 22 '25 16:10 Grath

So, the solution here is to move the copied cards to the exile zone and to implement a state-based action check for all zones outside the battlefield and stack that removes all copied cards from the game.

jeffwadsworth avatar Oct 23 '25 21:10 jeffwadsworth

It's already implemented -- copied cards removes from any zones (except stack and battlefield) on SBA.

Image

JayDi85 avatar Oct 23 '25 22:10 JayDi85

During the card-copying process in GameState, the copied card is never actually placed into the exile zone. Although the game state may indicate that the copied card is in exile, the exile zone itself does not contain the copied card. This would fix this issue and probably others as well.

jeffwadsworth avatar Oct 28 '25 15:10 jeffwadsworth