Skip to content

Cost.HardOncePerBattle ​

Source Code | Usage Examples | Cost Functions

Creates a baseline cost function used for effects that can only be activated once per battle by a player.

Signature ​

Cost.HardOncePerBattle(int flag) → EffectCost

lua
Cost.HardOncePerBattle(flag)

Parameters ​

  • int flag ​

    The value of the flag to register to the Duel.

Returns ​

  • EffectCost ​

    The cost function generated based on the given parameters.


See Also ​