benilla-re systems structs docs

SpillBlood

function · objectlayer · primitive

Address
0x625010 · 382 bytes, up to 0x62518d
Meaning
Adds a victim's front or back blood effect from its UnitBlood row
Confidence
verified, proof one
Finding
objectlayer/unitcombat#blood
Test
objectlayer::diff_blood_spurt_front_back, objectlayer::diff_blood_spurt_front_back_diff_rounding, objectlayer::diff_blood_spurt_dot

Finding: Blood in objectlayer: unit combat

A melee hit spills the victim's blood: the UnitBlood row of its blood levels and the violence level picks an effect, the front one at attachment 15 when the attacker is ahead of the victim or out of sight, the back one at 16 when it is behind; hit info 0x2000 takes each side's second effect.

The derivation is in the doc.

Callers 1

Callees 7

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