From 6d3f9624a1c7bdc23bd20eaccb790bda4a567e8a Mon Sep 17 00:00:00 2001 From: Albea Date: Tue, 14 Mar 2017 18:59:28 +0100 Subject: [PATCH] Renaming --- Auras.lua | 6 +-- GUI.lua | 10 ++--- Init.lua | 2 +- ModifiedPowerAuras.xml | 40 +++++++++---------- README.md | 2 +- Start.lua | 2 +- ...werAuras.toc" => zzzModifiedPowerAuras.toc | 0 7 files changed, 31 insertions(+), 31 deletions(-) rename "\346\234\253ModifiedPowerAuras.toc" => zzzModifiedPowerAuras.toc (100%) diff --git a/Auras.lua b/Auras.lua index 5cbb5cd..e308574 100644 --- a/Auras.lua +++ b/Auras.lua @@ -160,7 +160,7 @@ end function MPOWA:SetTexture(key, texture) local p = MPOWA_SAVE[key] - if p["texture"] == "Interface\\AddOns\\末ModifiedPowerAuras\\images\\dummy.tga" then + if p["texture"] == "Interface\\AddOns\\zzzModifiedPowerAuras\\images\\dummy.tga" then p["texture"] = texture self.frames[key][2]:SetTexture(texture) end @@ -260,7 +260,7 @@ function MPOWA:Iterate(unit) if p.endsound < 16 then PlaySound(self.SOUND[p.endsound], "master") else - PlaySoundFile("Interface\\AddOns\\末ModifiedPowerAuras\\Sounds\\"..self.SOUND[p.endsound], "master") + PlaySoundFile("Interface\\AddOns\\zzzModifiedPowerAuras\\Sounds\\"..self.SOUND[p.endsound], "master") end end self.frames[cat][1]:SetAlpha(p["alpha"]) @@ -306,7 +306,7 @@ function MPOWA:Push(aura, unit, i, isdebuff, castbyme) if path.beginsound < 16 then PlaySound(self.SOUND[path.beginsound], "master") else - PlaySoundFile("Interface\\AddOns\\末ModifiedPowerAuras\\Sounds\\"..self.SOUND[path.beginsound], "master") + PlaySoundFile("Interface\\AddOns\\zzzModifiedPowerAuras\\Sounds\\"..self.SOUND[path.beginsound], "master") end end if not path["secsleft"] then diff --git a/GUI.lua b/GUI.lua index 7307a17..88b8813 100644 --- a/GUI.lua +++ b/GUI.lua @@ -12,7 +12,7 @@ local tnbr = tonumber local SELECTEDICON = "Interface\\Icons\\Ability_Warrior_BattleShout" local icopath = "Interface\\Icons\\" -local locpath = "Interface\\AddOns\\末ModifiedPowerAuras\\Auras\\" +local locpath = "Interface\\AddOns\\zzzModifiedPowerAuras\\Auras\\" local icons = { ["warrior"] = { @@ -830,7 +830,7 @@ function MPOWA:SoundSliderChange(obj, var) if MPOWA_SAVE[self.CurEdit][var] < 16 then PlaySound(self.SOUND[MPOWA_SAVE[self.CurEdit][var]], "master") else - PlaySoundFile("Interface\\AddOns\\末ModifiedPowerAuras\\Sounds\\"..self.SOUND[MPOWA_SAVE[self.CurEdit][var]], "master") + PlaySoundFile("Interface\\AddOns\\zzzModifiedPowerAuras\\Sounds\\"..self.SOUND[MPOWA_SAVE[self.CurEdit][var]], "master") end end end @@ -981,7 +981,7 @@ end function MPOWA:Editbox_ICONPATH(obj) if obj:GetText() == "" then if MPOWA_SAVE[self.CurEdit].texture == "" then - MPOWA_SAVE[self.CurEdit].texture = "Interface\\AddOns\\末ModifiedPowerAuras\\images\\dummy.tga" + MPOWA_SAVE[self.CurEdit].texture = "Interface\\AddOns\\zzzModifiedPowerAuras\\images\\dummy.tga" end obj:SetText(MPOWA_SAVE[self.CurEdit].texture) end @@ -992,7 +992,7 @@ function MPOWA:Editbox_Name(obj) MPOWA_SAVE[self.CurEdit].buffname = obj:GetText() if oldname ~= MPOWA_SAVE[self.CurEdit].buffname then - MPOWA_SAVE[self.CurEdit].texture = "Interface\\AddOns\\末ModifiedPowerAuras\\images\\dummy.tga" + MPOWA_SAVE[self.CurEdit].texture = "Interface\\AddOns\\zzzModifiedPowerAuras\\images\\dummy.tga" MPowa_ConfigFrame_Container_1_Icon_Texture:SetTexture(MPOWA_SAVE[self.CurEdit].texture) _G("ConfigButton"..self.CurEdit.."_Icon"):SetTexture(MPOWA_SAVE[self.CurEdit].texture) _G("TextureFrame"..self.CurEdit.."_Icon"):SetTexture(MPOWA_SAVE[self.CurEdit].texture) @@ -1020,7 +1020,7 @@ function MPOWA:Editbox_SecondSpecifier(obj) MPOWA_SAVE[self.CurEdit].secondspecifiertext = obj:GetText() if oldname ~= MPOWA_SAVE[self.CurEdit].secondspecifiertext then - MPOWA_SAVE[self.CurEdit].texture = "Interface\\AddOns\\末ModifiedPowerAuras\\images\\dummy.tga" + MPOWA_SAVE[self.CurEdit].texture = "Interface\\AddOns\\zzzModifiedPowerAuras\\images\\dummy.tga" MPowa_ConfigFrame_Container_1_Icon_Texture:SetTexture(MPOWA_SAVE[self.CurEdit].texture) _G("ConfigButton"..self.CurEdit.."_Icon"):SetTexture(MPOWA_SAVE[self.CurEdit].texture) _G("TextureFrame"..self.CurEdit.."_Icon"):SetTexture(MPOWA_SAVE[self.CurEdit].texture) diff --git a/Init.lua b/Init.lua index e7271a7..cb3f826 100644 --- a/Init.lua +++ b/Init.lua @@ -1,5 +1,5 @@ CreateFrame("Frame", "MPOWA", UIParent) -MPOWA.Build = 40 +MPOWA.Build = 41 MPOWA.Cloaded = false MPOWA.loaded = false MPOWA.selected = 1 diff --git a/ModifiedPowerAuras.xml b/ModifiedPowerAuras.xml index 3b252ad..82ce3ad 100644 --- a/ModifiedPowerAuras.xml +++ b/ModifiedPowerAuras.xml @@ -200,7 +200,7 @@ - + @@ -457,7 +457,7 @@ - + @@ -557,7 +557,7 @@ - + @@ -2683,7 +2683,7 @@ - + @@ -2700,7 +2700,7 @@ - + @@ -2744,7 +2744,7 @@ - + @@ -2788,7 +2788,7 @@ - + @@ -2832,7 +2832,7 @@ - + @@ -2876,7 +2876,7 @@ - + @@ -2920,7 +2920,7 @@ - + @@ -2964,7 +2964,7 @@ - + @@ -3008,7 +3008,7 @@ - + @@ -3052,7 +3052,7 @@ - + @@ -3096,7 +3096,7 @@ - + @@ -3140,7 +3140,7 @@ - + @@ -3184,7 +3184,7 @@ - + @@ -3228,7 +3228,7 @@ - + @@ -3272,7 +3272,7 @@ - + @@ -3316,7 +3316,7 @@ - + @@ -3360,7 +3360,7 @@ - + diff --git a/README.md b/README.md index c7858b2..d0fe160 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Modified Power Auras is the advanced version of the AddOn Power Auras. It is a l ### Installing Instructions ### * Download the AddOn [here](https://github.com/Geigerkind/ModifiedPowerAurasTBC/releases) -* Rename the unziped folder to "末ModifiedPowerAuras" +* Rename the unziped folder to "zzzModifiedPowerAuras" * Place the folder into your AddOn directory in your World of Warcraft folder * Start the game * Type in **/mpowa** to open the configuration frame diff --git a/Start.lua b/Start.lua index c217752..81b3314 100644 --- a/Start.lua +++ b/Start.lua @@ -2,7 +2,7 @@ function MPOWA:CreateSave(i) MPOWA_SAVE[i] = { - texture = "Interface\\AddOns\\末ModifiedPowerAuras\\images\\dummy.tga", + texture = "Interface\\AddOns\\zzzModifiedPowerAuras\\images\\dummy.tga", alpha = 1, size = 0.75, x = 0, diff --git "a/\346\234\253ModifiedPowerAuras.toc" b/zzzModifiedPowerAuras.toc similarity index 100% rename from "\346\234\253ModifiedPowerAuras.toc" rename to zzzModifiedPowerAuras.toc