benilla-re systems structs docs

Script::GetActionCooldown

function · ui · orchestration

Address
0x4e6ed0 · 188 bytes, up to 0x4e6f8b
Signature
int __fastcall (lua_State *L)
Meaning
Returns an action's cooldown start and duration in seconds, and its enable flag
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/actionbar#cooldown-and-flags
Test
ui::luabind_4e6ed0_get_action_cooldown

Finding: Cooldown and flags in ui: action bars

GetActionCooldown (0x4e6ed0) returns three numbers: start and duration times 0.001, then the enable flag unscaled. An item slot reads 0x6e2ed0 for its entry and any other slot 0x6e2ea0 for its spell (spell/records#cooldown-queries); an empty slot gives zeros. IsConsumableAction (0x4e5250) is true for an item of inventory type 24 or 25, or with an on-use spell whose charges are negative. IsEquippedAction (0x4e5310) is true for an item whose entry the equipment slots hold. GetActionAutocast (0x4e6f90) returns two values, both nil unless the spell comes from the pet book, then bits 31 and 30 of the pet's spell flags as 1 or nil.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

Calls and jumps by a bare address, from tables/calls.tsv.