ShowPendingXpGain
function · objectlayer · orchestration
- Address
0x6251e0· 139 bytes, up to0x62526a- Meaning
- Logs a unit's pending XP gain, floats it over the active player and clears it
- Confidence
- verified, proof one
- Finding
- objectlayer/unitcombat#environmental-damage-and-death
Finding: Environmental damage and death in objectlayer: unit combat
0x1fc writes the environmental line, signals the active player's wound in the type's school
with absorb and resist marks, and plays the type's kit, the kit even for a hit of all zeros. A unit's death writes the death line,
flushes the XP gain held on it, which is always empty since a gain is written as it is stored,
plays the death animation and the death sound, stops its loop sound and, for the active player,
signals PLAYER_DEAD.
The derivation is in the doc.
Callers 2
- CGUnit_C::SetPendingXP objectlayer
- PresentUnitDeath objectlayer
Callees 4
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGUnit_C::ShowXPGain objectlayer
- LogPendingXpGain objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.