mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- removed UNIT_RUNIC_POWER hack in player & target mana modules since blizzard seems to have fixed the bug in the latest beta build
- fixed bug with runes module where the last rune would never show as being used (because i was thinking in 0-based array world) - added hax to the runes module to swap placement of frost and unholy runes since blizzard has had their hack in for 2 builds now
This commit is contained in:
@ -107,11 +107,11 @@ function PlayerMana.prototype:Enable(core)
|
||||
self:RegisterEvent("UNIT_MAXENERGY", "Update")
|
||||
-- DK rune stuff
|
||||
if IceHUD.WowVer >= 30000 then
|
||||
if GetCVarBool("predictedPower") and self.frame then
|
||||
self.frame:SetScript("OnUpdate", function() self:Update(self.unit) end)
|
||||
else
|
||||
-- if GetCVarBool("predictedPower") and self.frame then
|
||||
-- self.frame:SetScript("OnUpdate", function() self:Update(self.unit) end)
|
||||
-- else
|
||||
self:RegisterEvent("UNIT_RUNIC_POWER", "Update")
|
||||
end
|
||||
-- end
|
||||
self:RegisterEvent("UNIT_MAXRUNIC_POWER", "Update")
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user