FutureProg functions
spendstamina
spendstamina overload 1
Boolean spendstamina(Character character, Number amount)
Available in
- computer function
- computer program
- standard futureprog
Uses native stamina admission and expenditure. Returns false without spending when unaffordable or invalid.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character. |
amount |
Number |
Nonnegative stamina cost. |