LogHappinessDrain
function · objectlayer · primitive
- Address
0x627de0· 554 bytes, up to0x628009- Meaning
- Writes a pet happiness drain line under 0x19
- Confidence
- verified, proof one
- Finding
- objectlayer/combatlog#the-one-sided-range-test
- Test
objectlayer::diff_range_gate_visible,objectlayer::range_gate_clone_twins,objectlayer::diff_range_gate_dist2
Finding: The one-sided range test in objectlayer: combat log
The formatters about one unit, deaths, casts, auras and dispels among them, test only that unit:
the player must lie strictly within its class's range. Each looks up CombatDeathLogRange first.
Only the death line uses it, as the range when the CVar exists; 0x628010 would with its flag set,
and both of its callers pass 0. The other thirteen lookups are dropped.
The derivation is in the doc.
Callers 1
- LogPowerDrain objectlayer
Callees 12
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- ClassifyGuidForPlayer objectlayer
- IsActivePlayerUnit objectlayer
- CGUnit_C::GetUnitName objectlayer
- GetCombatLogRange objectlayer
- AddCombatLogLine objectlayer
- WarnMissingCombatString objectlayer
- LogOneSidedLine objectlayer
- CVar::Lookup cvar
- GetPowerDisplayDivisor spell
- FrameScript_GetText ui
Calls and jumps by a bare address, from tables/calls.tsv.