benilla-re systems structs docs

s_sheatheBlockingAnims

global · objectlayer

Address
0x5eb6f8 · 67 bytes, up to 0x5eb73a
Type
uint8_t[67]
Meaning
Maps an animation minus 46 to whether it blocks the sheathe toggle (case 0 blocks)
Confidence
verified, proof one
Finding
objectlayer/playercombat#sheathing

Finding: Sheathing in objectlayer: player spells and combat

0x5eb480 toggles the sheathe state for the active player unless busy, mounted, under UNIT_FIELD_FLAGS 0x40000, dead, attacking, casting, in a blocking animation, or with a model lacking or playing the sheathe animations. From 0 it draws melee weapons (1) or else the ranged one (2), and stops the melee attack; from 1 it goes to 2 with a ranged weapon, else 0; from 2 to 0. A class whose ChrClasses +0x40 is set ignores the ranged weapon.

The derivation is in the doc.