Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(upgraded deprecated template)
Line 1: Line 1:
  +
{{wowapi}}
 
<center>'''GetLootMethod''' - ''Documentation by [[User:Kaso|Kaso]]''</center>
 
<center>'''GetLootMethod''' - ''Documentation by [[User:Kaso|Kaso]]''</center>
   
Line 13: Line 14:
 
----
 
----
 
__NOTOC__
 
__NOTOC__
{{Template:WoW API}}
 

Revision as of 18:10, 6 January 2007

GetLootMethod - Documentation by Kaso

Retrieves the Loot Method and (if applicable) Master Looter idenity.

lootmethod, masterlooterID = GetLootMethod()

Returns

lootmethod, masterlooterID
lootmethod
String - One of 'freeforall', 'roundrobin', 'master', 'group', 'needbeforegreed'. Appears to be 'freeforall' if you are not grouped.
masterlooterID
Number - (When In 'master', nil otherwise) returns 0 if player is masterLooter, 1-4 if party memeber is masterLooter (corresponding to party1-4) and nil if masterLooter is in another Party of the raid.