stage_cooldown
Sets how long is left on a creature’s cooldown for one ability; 0 makes the ability ready. abilities lists a creature’s abilities with their ids. The answer includes the cooldown afterwards (remaining and total). Refuses an ability the creature does not have.
Arguments
| Name | Type | Required | What |
|---|---|---|---|
id | string | yes | The creature, by id (from creatures). |
ability | integer | yes | The ability, by id. |
seconds | number | yes | Seconds left on the cooldown, 0 (ready) to 3600. |
total | number | The full length of the cooldown, in seconds. Default: its current length, or seconds. |
Call it as stage_cooldown over MCP, or POST /api/tool/stage_cooldown with the arguments as JSON.