benilla-re systems structs docs

Script::GetTradeSkillLine

function · ui · primitive

Address
0x4fdd40 · 383 bytes, up to 0x4fdebe
Signature
int __fastcall (lua_State *L)
Meaning
Returns the open skill line name, the player rank and the maximum
Confidence
verified, proof one
Name from
the community database (idb)
Finding
tradeskill/bindings#row-values

Finding: Row values in tradeskill: bindings

GetTradeSkillCooldown (0x4fda20) returns the seconds left of the recipe spell's cooldown, or nil when the index is bad, the row is a header or the spell is not cooling down: the start plus the duration minus the millisecond clock, scaled by 0.001. GetTradeSkillNumMade (0x4fdc50) returns the least and the greatest number of items the first effect makes, each at least 1, and 1 and 1 for a bad index. GetTradeSkillLine (0x4fdd40) returns the open line's name, the player's rank in it and the maximum rank, each plus the permanent bonus when the base value is above 0; an unknown line gives UNKNOWN, 0 and 0, and a missing player gives the name, 0 and 0. GetTradeSkillIcon (0x4fdae0) is ui/spellbook#recipe-icons.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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