Skip to content

Cost.SoftOncePerBattle ​

Source Code | Usage Examples | Cost Functions

Creates a baseline cost function used for effects that can only be activated once per battle per card, e.g. "Lavalval Ignis".

Signature ​

Cost.SoftOncePerBattle(int flag) → EffectCost

lua
Cost.SoftOncePerBattle(flag)

Parameters ​

  • int flag ​

    The value of the flag to register to the card.

Returns ​

  • EffectCost ​

    The cost function generated based on the given parameters.


See Also ​