diff --git a/modules/ComboPoints.lua b/modules/ComboPoints.lua index 81c6d5e..4ab7af3 100644 --- a/modules/ComboPoints.lua +++ b/modules/ComboPoints.lua @@ -82,7 +82,7 @@ function ComboPoints.prototype:GetOptions() opts["gradient"] = { type = "toggle", name = "Change color", - desc = "1 compo point: yellow, 5 combo points: red", + desc = "1 combo point: yellow, 5 combo points: red", get = function() return self.moduleSettings.gradient end, diff --git a/modules/GlobalCoolDown.lua b/modules/GlobalCoolDown.lua index e41951d..98d32b4 100644 --- a/modules/GlobalCoolDown.lua +++ b/modules/GlobalCoolDown.lua @@ -40,7 +40,7 @@ end function GlobalCoolDown.prototype:GetSpellName() local defaultSpells; - if (IceHUD.WowVer >= 30000) + if (IceHUD.WowVer >= 30000) then defaultSpells = { ROGUE=GetSpellInfo(1833), -- cheap shot PRIEST=GetSpellInfo(139), -- renew diff --git a/modules/PlayerMana.lua b/modules/PlayerMana.lua index d9b248b..00cc42b 100644 --- a/modules/PlayerMana.lua +++ b/modules/PlayerMana.lua @@ -108,9 +108,6 @@ function PlayerMana.prototype:Enable(core) -- DK rune stuff if IceHUD.WowVer >= 30000 then self:RegisterEvent("UNIT_RUNIC_POWER", "Update") - self:RegisterEvent("RUNE_TYPE_UPDATE", "Update") - self:RegisterEvent("RUNE_POWER_UPDATE", "Update") - self:RegisterEvent("RUNE_REGEN_UPDATE", "Update") end self:RegisterEvent("UNIT_DISPLAYPOWER", "ManaType") diff --git a/modules/TargetMana.lua b/modules/TargetMana.lua index 52fe9b4..3b81fc3 100644 --- a/modules/TargetMana.lua +++ b/modules/TargetMana.lua @@ -42,9 +42,6 @@ function TargetMana.prototype:Enable(core) -- DK rune stuff if IceHUD.WowVer >= 30000 then self:RegisterEvent("UNIT_RUNIC_POWER", "Update") - self:RegisterEvent("RUNE_TYPE_UPDATE", "Update") - self:RegisterEvent("RUNE_POWER_UPDATE", "Update") - self:RegisterEvent("RUNE_REGEN_UPDATE", "Update") end self:Update("target")