benilla-re systems structs docs

CMissile::ArriveMiss

function · objectlayer · primitive

Address
0x61dd50 · 1149 bytes, up to 0x61e1cc
Meaning
Shows a missile's miss, block, resist, deflection or reflection at its target
Confidence
verified, proof one
Finding
objectlayer/missiles#misses-resists-and-reflections
Test
objectlayer::b3_deflect_length, objectlayer::b3_deflect_gates, objectlayer::b3_deflect_gates_special_values, objectlayer::b3_deflect_normalize, objectlayer::b3_deflect_random_angle, objectlayer::b3_deflect_axis_from_mat, objectlayer::b3_deflect_transform_and_move, objectlayer::b3_deflect_full

Finding: Misses, resists and reflections in objectlayer: missiles

0x61dd50(target, d) reports the outcome once at a target: the miss word and UNIT_COMBAT unless the spell has Attributes 0x100, then the miss line. A target not blocking, missing or deflecting plays 30 Dodge. A block sticks the missile in the target for 5,000 ms; a resist swaps its model for Spells\Resist_Immune_Effect.M2 stuck for its animation plus 500 ms. A deflection ricochets at half speed with 198 Deflect; a reflection turns it back at its caster. A miss frees it.

The derivation is in the doc.

Callers 1

Callees 21

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