Script::IsAttackAction
function · ui · orchestration
- Address
0x4e7280· 97 bytes, up to0x4e72e0- Signature
int __fastcall (lua_State *L)- Meaning
- Returns 1 when an action slot is an attack action, else nil
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/actionbar#repeat-and-attack-tests
Finding: Repeat and attack tests in ui: action bars
IsAutoRepeatAction (0x4e7360) pushes 1 or nil from 0x4e55b0: true when the slot's book-0 spell is
the auto-repeat spell (0x6e9fd0). IsAttackAction (0x4e7280) uses 0x4e59b0: true when the spell's
first effect is 78; the test reads the effect, not the spell id 6603. 0x4e5a00 is the ranged
repeat test the usable and icon code use: Attributes & 2 and AttributesEx2 & 0x20.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- __ftol crt
- ActionSlotIsAttack 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.