TOC update.
Christopher Rosell [10-12-10 - 23:44]
diff --git a/DamnVESpam.lua b/DamnVESpam.lua
index 8f61391..b6d0662 100644
--- a/DamnVESpam.lua
+++ b/DamnVESpam.lua
@@ -1,20 +1,20 @@
-if select(2, UnitClass'player') ~= 'PRIEST' then return end
+if select(2, UnitClass"player") ~= "PRIEST" then return end
-local addon = CreateFrame'Frame'
+local addon = CreateFrame"Frame"
local addonname = ...
local spellname = GetSpellInfo(15286)
-addon:RegisterEvent'ADDON_LOADED'
-addon:RegisterEvent'UNIT_AURA'
-addon:SetScript('OnEvent', function(self, e, arg)
- if (e == 'UNIT_AURA' and arg == 'player') or
- (e == 'ADDON_LOADED' and arg == addonname) then
+addon:RegisterEvent"ADDON_LOADED"
+addon:RegisterEvent"UNIT_AURA"
+addon:SetScript("OnEvent", function(self, e, arg)
+ if (e == "UNIT_AURA" and arg == "player") or
+ (e == "ADDON_LOADED" and arg == addonname) then
if UnitAura(arg, spellname) then
- SetCVar('CombatHealing', 0)
+ SetCVar("CombatHealing", 0)
else
- SetCVar('CombatHealing', 1)
+ SetCVar("CombatHealing", 1)
end
end
end)
diff --git a/DamnVESpam.toc b/DamnVESpam.toc
index 1afb365..8e827c4 100644
--- a/DamnVESpam.toc
+++ b/DamnVESpam.toc
@@ -1,8 +1,11 @@
-## Interface: 30300
+## Interface: 40000
## Title: Damn VE Spam
## Notes: Hides combat healing spam when player has Vampiric Embrace buff
-## Version: 1.0
-## Author: chrippa
+## Version: 1.1
+
+## Author: Christopher Rosell
+## X-Email: chrippa@gmail.com
+## X-Category: Priest
## LoadManagers: AddonLoader
## X-LoadOn-Class: Priest