benilla-re systems structs docs

PlaySpellImpactsOnHits

function · spell · orchestration

Address
0x6e8bf0 · 177 bytes, up to 0x6e8ca0
Signature
void __fastcall (void *record, void *visual, void *hits)
Meaning
Plays the impact kit on each hit unit and a wound for a harmful spell
Confidence
verified, proof one
Finding
spell/go#missile-and-impact-legs

Finding: Missile and impact legs in spell: go

A speed above 0 or NaN, with a casting unit, launches missiles: 0x6e8a50 for the hits; for any misses 0x6e8d10, which stores 0x624f20 (unit, reason) over each reason, leaving it unchanged, then 0x6e8a50 for the misses with their reasons and second bytes; then 0x60c9b0 on the unit when the visual's +0x18 is nonzero and the cast kit is absent or its +0x8 is not above 0. A speed of 0 or below plays impacts at once: 0x6e8bf0 for the hits, 0x6e8cb0 on the casting unit for each reflect whose second byte is 0. Both play the kit the visual's +0xc names with 0x60edf0 (unit, record, kit, 1, 0) and call 0x60ea70 (unit, 0) when 0x6ea280 gives 2.

The derivation is in the doc.

Callers 1

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.