benilla-re systems structs docs

s_keepInFlightAfterSend

global · spell

Address
0xcecaa4 · 1 bytes, up to 0xcecaa4
Type
uint8_t
Meaning
Holds 1 when the send keeps the spell in flight: an active-player cast with no item or an item flag 0x40
Confidence
verified, proof one
Finding
spell/cast#cast-attempt-commit

Finding: Cast attempt commit in spell: cast

A passing attempt plays the item's use sound (0x457fb0(2, item)), else GAMEABILITYACTIVATE for Attributes 0x10 and GAMESPELLACTIVATE otherwise. It fills the record, sets 0xcecaa4 to "no item or item flag 0x40, and the caster is the active player", zeroes 0xcead5c, and pushes the spell as in flight when the caster's slot +0xb4 returns at least 0 or the spell has Attributes 0x404, and there is no item or the item has flag 0x40. Then the arm runs. When it returns 1 the attempt finishes; when it returns 0 the attempt refuses or raises the cursor (Targeting refusal or cursor). It finishes by starting a melee attack when the spell was sent, 0x6e5200 holds and 0x6e5230 does not, and calls 0x4b3250.

The derivation is in the doc.