Framework update

This commit is contained in:
Tercio Jose
2021-05-24 11:34:20 -03:00
parent a13bc630be
commit 3355e5588f
2 changed files with 673 additions and 670 deletions
+671 -668
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -7656,8 +7656,8 @@ DF.PowerFrameFunctions = {
end,
--> when a event different from unit_power_update is triggered, update which type of power the unit should show
UpdatePowerInfo = function (self)
if (self.Settings.ShowAlternatePower) then
UpdatePowerInfo = function (self)
if (WOW_PROJECT_ID == WOW_PROJECT_MAINLINE and self.Settings.ShowAlternatePower) then -- not available in classic
local barID = UnitPowerBarID(self.displayedUnit)
local barInfo = GetUnitPowerBarInfoByID(barID)
--local name, tooltip, cost = GetUnitPowerBarStringsByID(barID);