benilla-re systems structs docs

Script::GetLootThreshold

function · ui · orchestration

Address
0x4e94e0 · 23 bytes, up to 0x4e94f6
Signature
int __fastcall (lua_State *L)
Meaning
Returns the stored loot threshold as a number
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/masterloot#reading-the-loot-settings

Finding: Reading the loot settings in ui: master loot and the loot method

GetLootMethod() returns two values: the method name as a string (freeforall, roundrobin, master, group, needbeforegreed, or ERROR! above 4) and the master looter's party index, nil with no looter. The index is 0 when the looter is the player and otherwise 1 to 4 for the matching slot of the four party GUIDs; a looter outside the player's party, including a raid member, gives nil. There is no third return. GetLootThreshold() returns the stored threshold as a number and ignores its arguments.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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