public
Description: WoW Addon - Prospecting and Disenchanting Aide
Homepage: http://www.tekkub.net
Clone URL: git://github.com/tekkub/panda.git
Click here to lend your support to: panda and make a donation at www.pledgie.com !
Add Gem cutting (green and blue) panel
tekkub (author)
Sun Jan 13 07:40:50 -0800 2008
commit  bbcb28199bca240f34bf413476675cc995ffe987
tree    4877c63ab19d153021566f139f02cfa48d12291e
parent  7da28388a606f7baa65357560adc63bdd444c69c
...
13
14
15
 
16
17
18
...
24
25
26
 
27
28
 
29
30
 
31
32
33
...
13
14
15
16
17
18
19
...
25
26
27
28
29
 
30
31
32
33
34
35
36
0
@@ -13,6 +13,7 @@ function Panda:Initialize()
0
   oh:RegisterCategory("Disenchanting", self, "CreateDisenchantingPanel")
0
   oh:RegisterCategory("Prospecting", self, "CreateProspectingPanel")
0
   oh:RegisterCategory("Prices", self, "CreateDisenchantingPricePanel")
0
+ oh:RegisterCategory("Gem Cutting", self, "CreateCutGreenBluePanel")
0
 
0
   self:RegisterEvent("LOOT_OPENED")
0
 end
0
@@ -24,10 +25,12 @@ function Panda:Enable()
0
     spellname = GetSpellName(i, BOOKTYPE_SPELL)
0
     if spellname == "Disenchant" then self.canDisenchant = true end
0
     if spellname == "Prospecting" then self.canProspect = true end
0
+ if spellname == "Jewelcrafting" then self.canJC = true end
0
     i = i + 1
0
- until (self.canDisenchant and self.canProspect) or not spellname
0
+ until (self.canDisenchant and self.canProspect and self.canJC) or not spellname
0
 
0
   self:RegisterEvent("ADDON_LOADED")
0
+ self:RegisterEvent("TRADE_SKILL_SHOW")
0
 end
0
 
0
 
...
22
23
24
 
25
26
27
...
22
23
24
25
26
27
28
0
@@ -22,6 +22,7 @@ Disenchanting.lua
0
 DisenchantingProb.lua
0
 DETooltip.lua
0
 Prospecting.lua
0
+GemCutting.lua
0
 AutolootFix.lua
0
 PricePanel.lua
0
 BtmScanner.lua

Comments

    No one has commented yet.