benilla-re systems structs docs

Script::GetTradeSkillItemStats

function · ui · primitive

Address
0x4fdec0 · 5310 bytes, up to 0x4ff37d
Signature
int __fastcall (lua_State *L)
Meaning
Returns the statistics lines of the item a recipe creates
Confidence
inferred
Name from
the community database (idb)
Finding
tradeskill/itemstats#entry-and-gates
Test
ui::luabind_4fde_get_trade_skill_item_stats_quantize

Finding: Entry and gates in tradeskill: itemstats

The function takes an index. It returns no value for an index out of range, a header row, a spell with no record, or an item whose template is not cached yet. The created item is EffectItemType[0] of the spell, as in recipes, and the template request carries the callback 0x4fdc30, which rebuilds the list when the record arrives. The lines are, in order: quality, binding, uniqueness, quest start, container slots or the usable-class lines, damage and speed, armor, resistances, stat bonuses, spell effects, race and class restrictions, item level, required level, and the skill, spell, honor rank and medal requirements.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 17

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