benilla-re systems structs docs

Script::GetTalentInfo

function · ui · primitive

Address
0x4f3200 · 709 bytes, up to 0x4f34c4
Signature
int __fastcall (lua_State *L)
Meaning
Returns a talent's name, icon, tier, column, rank, maximum rank, flag and required-spell result
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/talents#talent-info

Finding: Talent info in ui: talents

GetTalentInfo(tab, index) returns eight values: the name and icon of the highest known rank's spell (the first rank's when none is known), the tier and column from 1, the current rank, the maximum rank, 1 when flag bit 0 is set else nil, and 1 or nil for the required spell. The rank scans the rank slots from the last: the first nonzero slot whose spell, or a higher rank of it, is known gives its position plus 1, else 0. The maximum is the last nonzero slot plus 1. The last value reads only the required spell, 1 when it is 0 or known, and not the prerequisites.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 11

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