- fixed a typo in combo points module

- added missing 'then' in gcd module
- removed registration of unnecessary events in player and target mana for DK rune stuff
This commit is contained in:
Parnic
2008-07-27 00:09:32 +00:00
parent 76f4e1b020
commit b9a4b9c8d0
4 changed files with 2 additions and 8 deletions

View File

@ -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,

View File

@ -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

View File

@ -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")

View File

@ -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")