1
0
Fork 0

Fixed ML one-click, fixed AH script

This commit is contained in:
pigmonkey 2011-07-31 05:34:10 -04:00
parent 5a8f52cac3
commit 6563c571db

View file

@ -67,7 +67,8 @@ function mod:ClearMarks()
self:ScheduleTimer(function() SetRaidTarget("player", 0) end, 0.5) self:ScheduleTimer(function() SetRaidTarget("player", 0) end, 0.5)
end end
local mlOrder = {"Chira", "Brinkley", "Yukiri"} -- This used to be an order for shipping items off to DE, but now it is more a "loot all to self" macro
local mlOrder = {"Chira", UnitName("player")}
function mod:MasterLoot() function mod:MasterLoot()
for k,v in ipairs(mlOrder) do for k,v in ipairs(mlOrder) do
for i=1, 40 do for i=1, 40 do
@ -189,6 +190,7 @@ function mod:AuctionHouseBuyout()
PlaceAuctionBid("list", selected, price) PlaceAuctionBid("list", selected, price)
SetSelectedAuctionItem("list", 0); SetSelectedAuctionItem("list", 0);
self:Print("All auctions bought.") self:Print("All auctions bought.")
wipe(bought)
end end
end end