SpellCooldown
Defined in: client/api.d.ts:5492
One of the local player’s spells on cooldown, as the game counts it.
Properties
Section titled “Properties”paused
Section titled “paused”
readonlypaused: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.
remaining
Section titled “remaining”
readonlyremaining: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.
readonlyspell:string
Defined in: client/api.d.ts:5496
The spell’s gameplay name, as Spells.loadout() names it.
readonlytotal: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.