Skip to content

Commit

Permalink
Add WoD tailoring
Browse files Browse the repository at this point in the history
  • Loading branch information
tekkub committed Dec 27, 2014
1 parent 36c3e7d commit 27666be
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Panda.lua
Expand Up @@ -172,7 +172,7 @@ local function OnClick(self)
self:SetChecked(true)
end

for i,spellid in ipairs{7411, 25229, 45357, 2259, 2550} do
for i,spellid in ipairs{7411, 25229, 45357, 2259, 2550, 76250} do
local name, _, icon = GetSpellInfo(spellid)
local butt = CreateFrame("CheckButton", nil, panel)
butt:SetWidth(32) butt:SetHeight(32)
Expand All @@ -193,6 +193,9 @@ for i,spellid in ipairs{7411, 25229, 45357, 2259, 2550} do
butts[i], lastbutt = butt, butt
end

lastbutt:SetNormalTexture("Interface\\ICONS\\Achievement_Character_Orc_Male_BRN")
lastbutt.tiptext = "Warlords of Draenor"


-----------------------
-- Castbar --
Expand Down
1 change: 1 addition & 0 deletions Panda.toc
Expand Up @@ -43,3 +43,4 @@ Glyphs.lua
Pot.lua
Transmutes.lua
Cooking.lua
WoD.lua
10 changes: 10 additions & 0 deletions WoD.lua
@@ -0,0 +1,10 @@

local panel = Panda.panel:NewPanel(true)


local NAME = GetSpellInfo(3908)
panel:RegisterFrame(NAME, Panda.PanelFactory(3908,
[[111556x100 0 114810 114811 114813 114809 114812 114816 114815 114814
111556x100 0 114817 114818 114819 0 114821
114836 111556x10 0 114837 111556x150 113262x30 118472x15 0 114838 111556x200 113264x40 118472x15
]]))

0 comments on commit 27666be

Please sign in to comment.