From 27666be5a680be8af955fc77f53520454c99d6c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tekkub=20=3Abear=3A=E2=80=82?= Date: Fri, 26 Dec 2014 18:28:03 -0700 Subject: [PATCH] Add WoD tailoring --- Panda.lua | 5 ++++- Panda.toc | 1 + WoD.lua | 10 ++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 WoD.lua diff --git a/Panda.lua b/Panda.lua index 496eb0e..ae9508e 100755 --- a/Panda.lua +++ b/Panda.lua @@ -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) @@ -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 -- diff --git a/Panda.toc b/Panda.toc index e79ef57..dee9955 100644 --- a/Panda.toc +++ b/Panda.toc @@ -43,3 +43,4 @@ Glyphs.lua Pot.lua Transmutes.lua Cooking.lua +WoD.lua diff --git a/WoD.lua b/WoD.lua new file mode 100644 index 0000000..e8ff9ad --- /dev/null +++ b/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 +]]))