public
Description: WoW Addon - Automatically restock items from vendors and your bank
Homepage: http://www.tekkub.net
Clone URL: git://github.com/tekkub/stealyourcarbon.git
Click here to lend your support to: stealyourcarbon and make a donation at www.pledgie.com !
Load water list appropriate for the client version
tekkub (author)
Fri Aug 15 19:16:21 -0700 2008
commit  5d735530ab0ffff7b38b77768ead89c3c2187e48
tree    20f919aa9f0e9a04c64d103e2af3f2c30348d447
parent  0f02f7e3190158d133b021e2b4230fae60f09c6c
...
27
28
29
30
 
31
32
33
...
27
28
29
 
30
31
32
33
0
@@ -27,7 +27,7 @@ local StealYourCarbon = StealYourCarbon
0
 function StealYourCarbon:Print(...) ChatFrame1:AddMessage(string.join(" ", "|cFF33FF99Steal Your Carbon|r:", ...)) end
0
 function StealYourCarbon:PrintF(fmsg, ...) ChatFrame1:AddMessage(string.format("|cFF33FF99Steal Your Carbon|r: "..fmsg, ...)) end
0
 
0
-local waterupgrades = {33445,33444,27860,28399,8766,1645,1708,1205,1179,159}
0
+local waterupgrades = IS_WRATH_BUILD and {33445,33444,27860,28399,8766,1645,1708,1205,1179,159} or {27860,28399,8766,1645,1708,1205,1179,159}
0
 for _,id in pairs(waterupgrades) do GameTooltip:SetHyperlink("item:"..id) end -- Query server to ensure GetItemInfo doesn't nil out.
0
 function StealYourCarbon:UpgradeWater()
0
   local level = UnitLevel("player")

Comments

    No one has commented yet.