- 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:
Parnic
2008-08-14 04:30:36 +00:00
parent 3edac3cacd
commit 5667cb0cc6
3 changed files with 19 additions and 10 deletions

View File

@ -41,11 +41,11 @@ function TargetMana.prototype:Enable(core)
self:RegisterEvent("UNIT_FLAGS", "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