Skip to content

Refactor creature flip cards to not use private token classes#14569

Open
muz wants to merge 13 commits intomagefree:masterfrom
muz:flip_creaturetoken
Open

Refactor creature flip cards to not use private token classes#14569
muz wants to merge 13 commits intomagefree:masterfrom
muz:flip_creaturetoken

Conversation

@muz
Copy link
Copy Markdown
Contributor

@muz muz commented Feb 28, 2026

Linked to #14315

There's a bunch of private token classes that are used for Flip cards which needed refactoring too. This finally gets around to also refactoring all but 2 of the Creature flip cards.

TobitaMasterOfWinds from mage.cards.s.TobitaMasterOfWinds
TokTokVolcanoBorn from mage.cards.a.TokTokVolcanoBorn

These two remain for now because it's not as straightforward a change as all the ones in this PR are.

Due to how those are implemented, doing it in the same way ends up throwing Flexible Constructor Bodies warnings which are only available with source level 25 or above. I'm sure there's a way to get these to not use private token classes, but I can deal with that in a different PR later.

Aside from this, this PR being merged then leaves the 5 flip cards where they flip into an Enchantment, so using a CreatureToken is obviously inappropriate here. Again, that can be addressed in a PR of its own.

Slowly but surely, I'll get the backlog of tech debt dealt with to enable that CI test on verifying Token usage 😂

@github-actions github-actions bot added the cards label Feb 28, 2026
@muz muz force-pushed the flip_creaturetoken branch from b61eaf6 to d8bc8f5 Compare February 28, 2026 03:27
@muz muz changed the title Refactor flip cards to not use private token classes Refactor creature flip cards to not use private token classes Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant