Mercurial > wow > breuesk
comparison Looting.lua @ 83:ef4f6dc262ea
Forcing looting every slot turns out to be unnecessary
author | John@Yosemite-PC |
---|---|
date | Fri, 13 Apr 2012 23:33:47 -0400 |
parents | db7e4ee34dce |
children | 6035541e47dd |
comparison
equal
deleted
inserted
replaced
82:db7e4ee34dce | 83:ef4f6dc262ea |
---|---|
35 | 35 |
36 local function LootOpened() | 36 local function LootOpened() |
37 print("Open loot!") | 37 print("Open loot!") |
38 isMasterLootEvent = false | 38 isMasterLootEvent = false |
39 local n = _G.GetNumLootItems() | 39 local n = _G.GetNumLootItems() |
40 for i = 1,n do | 40 --for i = 1,n do |
41 _G.LootSlot(i) | 41 -- _G.LootSlot(i) |
42 end | 42 --end |
43 local items = {} | 43 local items = {} |
44 local threshold = _G.GetLootThreshold() | 44 local threshold = _G.GetLootThreshold() |
45 print("threshold: ", threshold) | 45 print("threshold: ", threshold) |
46 for i = 1,n do | 46 for i = 1,n do |
47 local _,_,_,rarity,_ = _G.GetLootSlotInfo(i) | 47 local _,_,_,rarity,_ = _G.GetLootSlotInfo(i) |