Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
→ WoW API
- Number - As passed by the event. (The number increases with every roll you have in a party)
- Number - Type of roll: (also passed by the event)
- 1 : Need roll
- 2 : Greed roll
- 3 : Disenchant roll
local f = CreateFrame("Frame", "MyAddon") f:RegisterEvent("CONFIRM_LOOT_ROLL") f:SetScript("OnEvent",function(self,event,...) if event == "CONFIRM_LOOT_ROLL" then local RollID = select(1, ...) local roll = select(2, ...) ConfirmLootRoll( RollID, roll ) end end)
Every Need or Greed roll will automatically get confirmed.