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
Returns
EffectCost
The cost function generated based on the given parameters.