Script::GetActionAutocast
function · ui · orchestration
- Address
0x4e6f90· 186 bytes, up to0x4e7049- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the pet autocast allowed and enabled flags of an action's spell, as 1 or nil
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/actionbar#cooldown-and-flags
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 8
- __ftol crt
- FindPetSpell ui
- GetActionSlotSpell ui
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnil lua
- lua_pushnumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.