Returns information about the current loot method in a party or raid. Only returns useful information if the player is in a party or raid.
See also Loot functions.
Signature:
method,
partyMaster,
raidMaster
=
GetLootMethod()
Returns:
method
- Current loot method (string
)freeforall
- Free for All - any group member can take any loot at any timegroup
- Group Loot - like Round Robin, but items above a quality threshold are rolled onmaster
- Master Looter - like Round Robin, but items above a quality threshold are left for a designated loot master toneedbeforegreed
- Need before Greed - like Group Loot, but members automatically pass on itemspersonalloot
- Personal - each group member has their own chance at lootroundrobin
- Round Robin - group members take turns being able to loot
partyMaster
- Numeric portion of theparty
unitID
of the loot master (e.g. if2
, the loot master's unitID isparty2
); nil if not using the Master Looter method or if the player is in a raid whose loot master is not in the player's subgroup. If the player is the master looter, this value will return 0. (number
)raidMaster
- Numeric portion of theraid
unitID
of the loot master (e.g. if17
, the loot master's unitID israid17
); nil if not using the Master Looter method or not in a raid group (number
)