benilla-re systems structs docs

GetProficiencyMask

function · objectlayer · orchestration

Address
0x5e1e70 · 17 bytes, up to 0x5e1e80
Signature
uint32_t __fastcall (uint8_t itemClass)
Meaning
Returns the proficiency mask the server set for an item class below 16, else 0
Confidence
verified, proof one
Finding
objectlayer/playercombat#using-an-item

Finding: Using an item in objectlayer: player spells and combat

0x5ea930(record, &error) says whether the player can use an item record: no record is ERR_ITEM_NOT_FOUND; a missing proficiency for its class and subclass ERR_PROFICIENCY_NEEDED; too low a level, a class or race outside its masks, too low a required skill, an unknown required spell (nor a higher rank), too low an honor rank, a missing medal bit, or too low a standing with its faction, ERR_CANT_USE_ITEM.

The derivation is in the doc.

Callers 3

Callees 0

None by a direct call or jump.

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