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
EffectCost
...The cost functions to combine.
Returns
EffectCost
The generated cost function.