mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Fix max chi power not always updating correctly
This commit is contained in:
@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
v1.15.10:
|
||||||
|
|
||||||
|
- Fix Chi not updating properly when the player's maximum amount of Chi points changes (e.g. via Ascension talent).
|
||||||
|
|
||||||
v1.15.9:
|
v1.15.9:
|
||||||
|
|
||||||
- Update Cataclysm Classic TOC to 4.4.1
|
- Update Cataclysm Classic TOC to 4.4.1
|
||||||
|
@ -40,6 +40,13 @@ function HarmonyPower.prototype:Enable(core)
|
|||||||
HarmonyPower.super.prototype.Enable(self, core)
|
HarmonyPower.super.prototype.Enable(self, core)
|
||||||
|
|
||||||
self:RegisterEvent("UNIT_POWER_FREQUENT", "UpdateRunePower")
|
self:RegisterEvent("UNIT_POWER_FREQUENT", "UpdateRunePower")
|
||||||
|
if IceHUD.EventExistsUnitMaxPower then
|
||||||
|
self:RegisterEvent("UNIT_MAXPOWER", "PlayerChiUpdate")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
function HarmonyPower.prototype:PlayerChiUpdate()
|
||||||
|
self:Redraw()
|
||||||
end
|
end
|
||||||
|
|
||||||
function HarmonyPower.prototype:UpdateRunePower(event, arg1, arg2)
|
function HarmonyPower.prototype:UpdateRunePower(event, arg1, arg2)
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
v1.15.10:
|
||||||
|
|
||||||
|
- Fix Chi not updating properly when the player's maximum amount of Chi points changes (e.g. via Ascension talent).
|
||||||
|
|
||||||
v1.15.9:
|
v1.15.9:
|
||||||
|
|
||||||
- Update Cataclysm Classic TOC to 4.4.1
|
- Update Cataclysm Classic TOC to 4.4.1
|
||||||
|
Reference in New Issue
Block a user