diff --git a/Meta b/Meta index 72956ad..a9d5e32 160000 --- a/Meta +++ b/Meta @@ -1 +1 @@ -Subproject commit 72956add4a3a921f3fdf44b006a9c3283ce95c73 +Subproject commit a9d5e32083ec61c2c15a7807311b14394d691678 diff --git a/WeakAuras/Projects/Atrigan Interrupt/INIT.lua b/WeakAuras/Projects/Atrigan Interrupt/INIT.lua index 03c38cb..9f7ed7c 100644 --- a/WeakAuras/Projects/Atrigan Interrupt/INIT.lua +++ b/WeakAuras/Projects/Atrigan Interrupt/INIT.lua @@ -4,19 +4,18 @@ aura_env.peopleList = {} aura_env.currentInterrupt = 1 local playerClass = UnitClass("player") if playerClass == "Hunter" then - aura_env.classInterrupt = "Counter Shot" elseif - playerClass == "Mage" then - aura_env.classInterrupt = "Counterspell" elseif - playerClass == "Warlock" then + aura_env.classInterrupt = "Counter Shot" +elseif playerClass == "Mage" then + aura_env.classInterrupt = "Counterspell" +elseif playerClass == "Warlock" then aura.classInterrupt = "Spell Lock" end -aura_env.messages = -{ +aura_env.messages = { ["Interrupted"] = 9461, ["Cannot Interrupt"] = 9462, ["Initialized"] = 9451, - ["Added to interrupt list"], = 9452, - ["Cycle Interrupt DEBUG"] = 9551 + ["Added to interrupt list"] = 9452, + ["Cycle Interrupt DEBUG"] = 9551, } aura_env.encode = function(msg) local date = date() @@ -37,4 +36,4 @@ aura_env.decode = function(msg) tonumber(msg) local retint = msg + (hr * min) return retint -end \ No newline at end of file +end diff --git a/WeakAuras/Projects/Atrigan Interrupt/Trigger1.lua b/WeakAuras/Projects/Atrigan Interrupt/Trigger1.lua index 9f0d54b..5fb7fc4 100644 --- a/WeakAuras/Projects/Atrigan Interrupt/Trigger1.lua +++ b/WeakAuras/Projects/Atrigan Interrupt/Trigger1.lua @@ -7,7 +7,7 @@ function(...) local targetName = select(10, ...) local spellName = select(14, ...) local interruptedSpellName = select(17, ...) - if playerName == UnitName("player") and targetName == "Belac" and and interruptedSpellName == "Phangs of Guilt" then + if playerName == UnitName("player") and targetName == "Belac" and interruptedSpellName == "Phangs of Guilt" then local msg = aura_env.messages["Interrupted"] local msg = aura_env.encode(msg) SendChatMessage(msg, "RAID")