benilla-re systems structs docs

GetSpellTargetAreaRadius

function · spell · primitive

Address
0x6e6350 · 268 bytes, up to 0x6e645b
Signature
float __cdecl (void)
Meaning
Returns the larger level-scaled radius of the pending spell's first two effects after modifier 6
Confidence
verified, proof one
Finding
spell/targeting#area-reticle-radius
Test
spell::spell_range_for_caster_difftest

Finding: Area reticle radius in spell: targeting

0x6e6350 returns the pending spell's area radius: for each of the record's first two effect radius indexes (+0x160, +0x164), the SpellRadius.dbc row's radius plus the caster's level times its per-level radius, or 0 for an index with no row. The first is rounded to a float; the larger wins, the second on a tie or NaN; modifier 6 is applied through 0x6e6bf0. The spell record is read with no null check. The third effect and the row's maximum are not read. With no caster it returns 0. The reticle 0x4820f0 draws min(radius, 20), 20 for NaN.

The derivation is in the doc.

Callers 1

Callees 2

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