mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- 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:
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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")
|
||||
|
@ -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")
|
||||
|
Reference in New Issue
Block a user