Card-Forge / forge

An unofficial rules engine for the world's greatest card game.
https://card-forge.github.io/forge/
GNU General Public License v3.0
940 stars 548 forks source link

cards like Primal Plasma needs to be rewritten because of copyable values #1715

Open tool4ever opened 1 year ago

tool4ever commented 1 year ago

208.2b The card may have a static ability that creates a replacement effect that sets the creature’s power and toughness to one of a number of specific values as it enters the battlefield or is turned face up. (See rule 614, “Replacement Effects.”) Such an ability is worded “As [this creature] enters the battlefield . . . ,” “As [this creature] is turned face up . . . ,” or “[This creature] enters the battlefield as . . .” and lists two or more specific power and toughness values (and may also list additional characteristics). The characteristics chosen or determined with these effects affect the creature’s copiable values. (See rule 707.2.) While the card isn’t on the battlefield, its power and toughness are each considered to be 0.

Because these are Copyable values, these should probably use the Clone Layers

the problem i currently see is that it might cause a StackOverflow when trying it to become a copy of itself

Northmoc commented 1 year ago

This reminds me of Prototype type stuff

Hanmac commented 1 year ago

This reminds me of Prototype type stuff

you might look into it too

github-actions[bot] commented 1 year ago

This issue has not been updated in a while and has now been marked as stale. Stale messages will be auto closed.

Hanmac commented 2 months ago

@tool4ever while working other stuff, you can take a look at this

we just need to find a way to: