mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50: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"] = {
|
opts["gradient"] = {
|
||||||
type = "toggle",
|
type = "toggle",
|
||||||
name = "Change color",
|
name = "Change color",
|
||||||
desc = "1 compo point: yellow, 5 combo points: red",
|
desc = "1 combo point: yellow, 5 combo points: red",
|
||||||
get = function()
|
get = function()
|
||||||
return self.moduleSettings.gradient
|
return self.moduleSettings.gradient
|
||||||
end,
|
end,
|
||||||
|
@ -40,7 +40,7 @@ end
|
|||||||
|
|
||||||
function GlobalCoolDown.prototype:GetSpellName()
|
function GlobalCoolDown.prototype:GetSpellName()
|
||||||
local defaultSpells;
|
local defaultSpells;
|
||||||
if (IceHUD.WowVer >= 30000)
|
if (IceHUD.WowVer >= 30000) then
|
||||||
defaultSpells = {
|
defaultSpells = {
|
||||||
ROGUE=GetSpellInfo(1833), -- cheap shot
|
ROGUE=GetSpellInfo(1833), -- cheap shot
|
||||||
PRIEST=GetSpellInfo(139), -- renew
|
PRIEST=GetSpellInfo(139), -- renew
|
||||||
|
@ -108,9 +108,6 @@ function PlayerMana.prototype:Enable(core)
|
|||||||
-- DK rune stuff
|
-- DK rune stuff
|
||||||
if IceHUD.WowVer >= 30000 then
|
if IceHUD.WowVer >= 30000 then
|
||||||
self:RegisterEvent("UNIT_RUNIC_POWER", "Update")
|
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
|
end
|
||||||
|
|
||||||
self:RegisterEvent("UNIT_DISPLAYPOWER", "ManaType")
|
self:RegisterEvent("UNIT_DISPLAYPOWER", "ManaType")
|
||||||
|
@ -42,9 +42,6 @@ function TargetMana.prototype:Enable(core)
|
|||||||
-- DK rune stuff
|
-- DK rune stuff
|
||||||
if IceHUD.WowVer >= 30000 then
|
if IceHUD.WowVer >= 30000 then
|
||||||
self:RegisterEvent("UNIT_RUNIC_POWER", "Update")
|
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
|
end
|
||||||
|
|
||||||
self:Update("target")
|
self:Update("target")
|
||||||
|
Reference in New Issue
Block a user