benilla-re systems structs docs

AdjustCategoryRecovery

function · spell · primitive

Address
0x6e2b60 · 256 bytes, up to 0x6e2c5f
Signature
void __fastcall (int32_t *value, void *spellRecord, uint32_t skip)
Meaning
Scales a category recovery by the slot-15 item record, adds a descriptor time, then applies spell modifier 11
Confidence
verified, proof one
Finding
spell/cooldowns#category-recovery-adjustment

Finding: Category recovery adjustment in spell: cooldowns

0x6e2b60(&value, spellRecord, skip) adjusts a category recovery for the active player; with no player it does nothing. Unless skip: when the spell's category has SpellCategory flags & 1 and the player's inventory slot 15 holds an item whose record is loaded, value = (record[+0x110] · value) / 1000; then, when the spell's +0x18 has 0x2 set and its +0x20 lacks 0x20000, it adds the player's descriptor dword +0x1e8. In all cases with a player it then applies spell modifier 11 (0x6e6af0).

The derivation is in the doc.

Callers 4

Callees 5

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