ShowSwingOnVictim
function · objectlayer · primitive
- Address
0x624530· 356 bytes, up to0x624693- Meaning
- Shows a swing on its victim: the float, wound, blood, impact sounds and pain vocal
- Confidence
- verified, proof one
- Finding
- objectlayer/unitcombat#showing-a-swing-on-the-victim
Finding: Showing a swing on the victim in objectlayer: unit combat
0x624530 shows a swing on its victim unless the victim's dynamic flags have 0x1. It floats the word
or number, then for hit info 0x2 plays the wound (critical 0x80) and, with damage in state 1 or
4, blood; then the parry or block impact sound. An absorbed or resisted swing (0x60) or an immune
one plays an impact sound; otherwise a 0x2 swing plays the victim's pain, kind 9 for a crushing
blow (0x8000), 3 for a critical, else 2 unless 0x10.
The derivation is in the doc.
Callers 2
- OnCombatModelEvent objectlayer
- HandleUnitCombatMessage objectlayer
Callees 6
- PlayShieldImpact sound
- PlayAbsorbSound sound
- CGUnit_C::PlayWoundAnimation objectlayer
- PlayParryImpact objectlayer
- FloatSwingResult objectlayer
- SpillBlood objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.