Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

SpellCooldown

Defined in: client/api.d.ts:5492

One of the local player’s spells on cooldown, as the game counts it.

readonly paused: boolean

Defined in: client/api.d.ts:5511

The game holds it rather than draining it; remaining is then what is left once it resumes.


readonly remaining: number

Defined in: client/api.d.ts:5501

Seconds left at the rate the game drains it now. Out of combat most spells drain many times faster, so entering or leaving combat changes it.


readonly spell: string

Defined in: client/api.d.ts:5496

The spell’s gameplay name, as Spells.loadout() names it.


readonly total: number

Defined in: client/api.d.ts:5506

The whole cooldown in seconds at that same rate; remaining / total is the fill the game’s own spell bar draws.