Skip to content

Effect.SetCost

Source Code | Usage Examples | Effect Functions

Sets (Effect e)'s cost function

Signature

Effect.SetCost(Effect e, function cost_func) → nil

lua
e:SetCost(cost_func)

Parameters


under-construction