FloatSwingResult
function · objectlayer · primitive
- Address
0x6243e0· 327 bytes, up to0x624526- Meaning
- Floats a swing record's word or number on its victim when its line is due
- 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 3
- ShowSwingOnVictim objectlayer
- StopAttack objectlayer
- HandleUnitCombatMessage objectlayer
Callees 5
- ClntObjMgrGetActivePlayer objectlayer
- SignalSwingRecord ui
- CGUnit_C::ShowMissWord objectlayer
- CGUnit_C::ShowDamageNumber objectlayer
- IsSwingLogDue objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.