benilla-re systems structs docs

OnSkillMaxChanged

function · objectlayer · orchestration

Address
0x5de450 · 25 bytes, up to 0x5de468
Meaning
Calls 0x4d7d40, 0x4fca20(0) and 0x4d2cb0 when a skill's max or permanent bonus changes
Confidence
verified, proof one
Finding
objectlayer/playerfields#skill-changes

Finding: Skill changes in objectlayer: player fields

A skill value change prints "Skill %d increased from %d to %d" to the console when the shown value (the value plus the permanent bonus when above 0) differs from the old one. Then, when the skill's SkillRaceClassInfo lacks flags 0x402, an old value of 0 shows ERR_SKILL_GAINED_S; any other old value shows ERR_SKILL_UP_SI with the new shown value for the active player when the new value is above 0, whether it rose or fell. A skill of category 11 refreshes quest-giver statuses. Every value change ends in 0x4d7d40 and 0x4fca20(0).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

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