Buff
A value shape that methods take or return.
Fields
| Field | Type | Description |
|---|---|---|
timer | string | The timer's name ("STAMINA", "DIVINE_SUPER_COMBAT"). |
remainingTicks | number | Game ticks left, rounded up. |
remainingMs | number | Milliseconds left. |
startedAt | number | When the timer started, Unix ms. A timer the game restarts has a new start; one it shortens keeps its start and moves endsAt. |
endsAt | number | When it runs out, Unix ms. |
Returned by
| Method | Returns | Description |
|---|---|---|
Buffs.active | { Buff } | Every running timer, in a fixed order. |