LogExhaustionXpGain
function · objectlayer · primitive
- Address
0x637ac0· 528 bytes, up to0x637ccf- Meaning
- Writes an XP line with its rest modifier and group bonus or raid penalty
- Confidence
- verified, proof one
- Finding
- objectlayer/combatlogmessages#experience
- Test
objectlayer::xpgain_rest_gate_difftest
Finding: Experience in objectlayer: combat log messages
0x1d0 shows XP the player earns, written and floated over the player when the message arrives.
For a visible victim and kind 0 the gain goes through the victim, which marks it so that its death
writes no line, and a gain of 0 writes nothing. That line names the victim and adds a group bonus
or raid penalty: COMBATLOG_XPGAIN_FIRSTPERSON, _GROUP, _RAID, or with a rest modifier
COMBATLOG_XPGAIN_EXHAUSTIONn and its forms. Otherwise the line is
COMBATLOG_XPGAIN_FIRSTPERSON_UNNAMED. The unnamed group and raid forms, which would print the group
string's address where the XP belongs, are unreachable: they need no unit and a multiplier other
than 1, and the one caller without a unit passes 1.0.
The derivation is in the doc.
Callers 2
- LogPendingXpGain objectlayer
- LogXpGainNow objectlayer
Callees 10
- __ftol crt
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGUnit_C::GetUnitName objectlayer
- AddCombatLogLine objectlayer
- WarnMissingCombatString objectlayer
- LogXpGainLine objectlayer
- SStrCopy storm
- SStrPrintf storm
- FrameScript_GetText ui
Calls and jumps by a bare address, from tables/calls.tsv.