Skip to content

Cost.AND

Source Code | Usage Examples | Cost Functions

Combines multiple cost functions into a single cost function that will check if every passed function can be paid, and will execute each passed function.

Signature

Cost.AND(EffectCost ...) → EffectCost

lua
Cost.AND(...)

Parameters

Returns