Closed Whebon closed 2 weeks ago
Update:
~It is asserted that a chameleon does not have a card_modification
row before copying, otherwise it should have already been "used".~
Good old times is allowed to set its active_used
to true before copying. On copying a card, active_used
will also be overwritten by the active_used
of the target.
This proposal will be discarded in favor of #74
Card Modifications
Any state modifications of a card instance beyond its printed properties will be reflected in the
card_modification
table. If the state of a card is updated for the first time, a new row in the table will be created for that card instance and the values are set accordingly. Subsequent card modifications of that instance will be applied on top of the already existing row for that card_id.New db table
Notes
card_id
). Ifeffective_type_id
is null, set it to the printed type id of the target.expires_on_resolve
is set to true, and it will expire when fully resolving the technique instead.CT_FLASHYSHOW
andCT_PRACTICALVALUES
, are stored in the effects table. Only when a card is "used", those effects are applied. Then theeffect_pointer
is updated for that instance to assure those effects are not applied again.value
field.n
with2
accordions, the stack value must be in range[n-2, n+2]
instead of exactlyn
)