benilla-re systems structs docs

s_spellVisualAttachments

global · objectlayer

Address
0x860a18 · 44 bytes, up to 0x860a43
Type
uint32_t[11]
Meaning
Holds the attachment ids a SpellVisual record's +0x24 indexes: 20, 34, 19, 21, 22, 17, 23, 24, 25, 15, 16
Confidence
verified, proof one
Finding
spell/visuals#chain-endpoints

Finding: Chain endpoints in spell: visuals

0x6ec6f0 gives the caster's end: the position when the unit has no model, the $CSL event's position when the model has it, else the position with z + f32(+0x90 · +0xbc · 0.75), the product at 53 bits and both results rounded to floats. 0x6ec780 gives a spell's impact end: for a spell id with no record, attachment 0x22 when the model has it, else the position; otherwise the SpellVisual record's +0x24 indexes the attachments of 0x860a18 (20, 34, 19, 21, 22, 17, 23, 24, 25, 15, 16), unbounded, and the end is that attachment, else the position. A found spell never falls back to 0x22.

The derivation is in the doc.