LogUnitDeath
function · objectlayer · primitive
- Address
0x62c160· 359 bytes, up to0x62c2c6- Meaning
- Writes a unit death or destruction line unless its kill's XP line named it
- Confidence
- verified, proof one
- Finding
- objectlayer/combatlogmessages#deaths-and-the-environment
- Test
objectlayer::diff_combat_gate_inreg,objectlayer::diff_combat_gate_dist2
Finding: Deaths and the environment in objectlayer: combat log messages
0x62c160 writes a unit's death: UNITDIESSELF for the player, UNITDESTROYEDOTHER for a unit a
summoning or totem spell created, else UNITDIESOTHER, under 0x2b or 0x2c. A unit marked when its
kill's XP line was written writes none; its XP line names it instead. 0x62aac0 writes environmental damage,
VSENVIRONMENTALDAMAGE_<type>_SELF or _OTHER, flashes the victim's nameplate, and raises
DAMAGE, ABSORB or RESIST.
The derivation is in the doc.
Callers 1
- PresentUnitDeath objectlayer
Callees 11
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- ClassifyGuidForPlayer objectlayer
- CGUnit_C::GetUnitName objectlayer
- GetCombatLogRange objectlayer
- AddCombatLogLine objectlayer
- WarnMissingCombatString objectlayer
- GetDeathChatType objectlayer
- IsSummonedUnit objectlayer
- CVar::Lookup cvar
- FrameScript_GetText ui
Calls and jumps by a bare address, from tables/calls.tsv.