mage icon indicating copy to clipboard operation
mage copied to clipboard

TDFC cleanup follow up

Open Jmlundeen opened this issue 3 weeks ago • 0 comments

This is some additional cleanup for the transforming double faced card rework.

  • remove secondSideCardClazz used by old transforming cards
  • remove TransformAbility since not needed anymore
  • cleanup TODO items
    • moved VALUE_KEY_ENTER_TRANSFORMED to TransformingDoubleFacedCard
    • removed transform validation in Player.moveCards and kept in ZonesHandler. Doesn't seem necessary to have redundant check.
    • removed old transform card check from Mycosynth Lattice and Painter's Servant
    • removed old transform related code from PermanantCard init
    • remove ignoreTransformEffect flag from SpellTransformedAbility (temporary flag to separate from old transform implementation)
    • remove instanceof DoubleFacedCardHalf check from CardImpl copy constructor; DFC will still use the field, instance check is currently just to differentiate between old Transforming logic

part of #14099

Jmlundeen avatar Dec 07 '25 17:12 Jmlundeen