benilla-re systems structs docs

HandleXpLog

function · objectlayer · orchestration

Address
0x637e30 · 144 bytes, up to 0x637ebf
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Handles 0x1d0: reads an XP gain and passes it on
Confidence
verified, proof one
Finding
objectlayer/combatlogmessages#experience

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 0

None by a direct call or jump.

Callees 5

Calls and jumps by a bare address, from tables/calls.tsv.