benilla-re systems structs docs

Script::LearnTalent

function · ui · primitive

Address
0x4f36a0 · 385 bytes, up to 0x4f3820
Signature
int __fastcall (lua_State *L)
Meaning
Sends the learn request for the next rank of a talent unless it is at maximum
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/talents#learning

Finding: Learning in ui: talents

LearnTalent(tab, index) sends opcode 0x251 with the talent id (u32) and the requested rank (u32), which is the number of ranks the player already knows (the 0-based index of the next rank). The only check before sending is that the talent is not at its maximum rank; points and prerequisites are left to the server. A non-number raises Usage: LearnTalent(tabIndex, talentIndex).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 9

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