SpecialEvents-Loot-1.0

From WowAce Wiki
Jump to: navigation, search

Item/Coin events

SpecialEvents_ItemLooted

Fires when a item is looted by you or someone in your party.

Parameters

who 
string - Name of the unit who received the item
item 
string - Itemlink of received item
number 
number - Number of items in the stack

SpecialEvents_CoinLooted

Fires when you receive coin (You auto-loot, someone else loots it in your group)

  • Only fires for own loot when auto-looting

Parameters

who 
string - Name of the player who received the item
total 
number - Total (Integer) copper received
str 
string - Coins in string format ("1 Gold, 3 Silver, 20 Copper")


Group Loot events

SpecialEvents_RollSelected

Fires when someone in your group selects a roll type for a item.

Parameters

type 
string - 'need', 'greed', or 'pass'
who 
string - Name of selecting player
item 
string - Itemlink of the roll in question

SpecialEvents_RollMade

Fires when someone in your group rolls on a item.

Parameters

type 
string - 'need', 'greed', or 'pass'
who 
string - Name of selecting player
roll 
number - Number the player rolled, 1-100
item 
string - Itemlink of the roll in question

SpecialEvents_RollWon

Fires when someone in your group wins a item.

Parameters

who 
string - Name of selecting player
item 
string - Itemlink of the roll in question

SpecialEvents_RollAllPassed

Fires when everyone passes on a item.

Parameters

item 
string - Itemlink of the roll in question