A transformed card with a static copy ability does not work #11683
Labels
bug
Bugs and errors
Developers Discussion
Discussion about redesign or changes
refactoring
Developers topics about code and programming
While attempting to implement [[Paleontologist's Pick-Axe // Dinosaur Headdress]], I found that the third ability of the second side (Dinosaur Headdress), does not work (#11677).
The ability is:
The "chosen card" is a reference to the previous ability:
Transform effects are currently implemented in the continuous layered effects logic.
TransformEffect
ContinuousEffects.apply()
When the layer 1 effects are processed, the transform effects are processed at the same time. When the
apply
method is called, it results in this:TransformAbility.transformPermanent()
The abilities (and therefore effects) of the second side are added to the game.
When copy effects are processed, these effects from the transformed card are not yet present, and so they are not applied.
Before layer 2 is processed, the layered effects are recalculated and so any effects from transform or copy abilities are correctly applied at higher layers.
Prior to Dinosaur Headdress, there was no transform card that had a copy ability, so this implementation detail did not affect the correct working of cards.
According to the rules for the layer system (613) and for transform (701.28), transform is not a continuous ability, it is merely a different state of a card. The current implementation is a work-around that allows transform to be treated as a kind of copy effect.
There are two ways to address this:
The text was updated successfully, but these errors were encountered: