mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
7e4a6ecab6
|
|||
af33ab9781
|
|||
c0262de622
|
|||
cfa86813a7
|
@ -1,5 +1,5 @@
|
||||
## Interface: 100200
|
||||
## Interface-Retail: 100200
|
||||
## Interface: 100205
|
||||
## Interface-Retail: 100205
|
||||
## Interface-Classic: 11500
|
||||
## Interface-BCC: 20504
|
||||
## Interface-Wrath: 30403
|
||||
|
@ -1,5 +1,5 @@
|
||||
## Interface: 100200
|
||||
## Interface-Retail: 100200
|
||||
## Interface: 100205
|
||||
## Interface-Retail: 100205
|
||||
## Interface-Classic: 11500
|
||||
## Interface-BCC: 20504
|
||||
## Interface-Wrath: 30403
|
||||
|
14
changelog.md
14
changelog.md
@ -1,9 +1,21 @@
|
||||
# Changelog
|
||||
|
||||
v1.14.35:
|
||||
|
||||
- Fix IceHUD stomping on other uses of the PowerBarContainer such as the Digging bar for the Archive event.
|
||||
|
||||
v1.14.34:
|
||||
|
||||
- Fix Vigor showing up sometimes when it shouldn't.
|
||||
|
||||
v1.14.33:
|
||||
|
||||
- Update TOC for Dragonflight to 10.2.5
|
||||
|
||||
v1.14.32:
|
||||
|
||||
- Enable GlobalCoolDown module in Classic Era 1.15.0+
|
||||
- Enable tracking non-player buffs/debuffs in Classic Era 1.15.0+
|
||||
- Enable tracking target buffs/debuffs in Classic Era 1.15.0+
|
||||
|
||||
v1.14.31:
|
||||
|
||||
|
@ -38,6 +38,7 @@ function DragonridingVigor.prototype:Enable(core)
|
||||
end
|
||||
|
||||
DragonridingVigor.super.prototype.Enable(self, core)
|
||||
self:Show(false)
|
||||
|
||||
self:RegisterEvent("UNIT_AURA", "CheckShouldShow")
|
||||
self:RegisterEvent("UPDATE_UI_WIDGET", "UpdateVigorRecharge")
|
||||
@ -54,16 +55,29 @@ function DragonridingVigor.prototype:CheckShouldShow(event, unit, info)
|
||||
return
|
||||
end
|
||||
|
||||
if knowsAlternateMountEnum and UnitPowerMax(self.unit, unitPowerType) > 0 then
|
||||
self:Show(true)
|
||||
elseif IceHUD:HasAnyBuff("player", DragonridingBuffs) then
|
||||
self:Show(true)
|
||||
else
|
||||
local info = C_UIWidgetManager.GetFillUpFramesWidgetVisualizationInfo(vigorWidgetID)
|
||||
if not info or info.shownState == 0 then
|
||||
self:Show(false)
|
||||
self.suppressHideBlizz = true
|
||||
if self.moduleSettings.hideBlizz then
|
||||
self:ShowBlizz()
|
||||
end
|
||||
|
||||
return
|
||||
end
|
||||
|
||||
self:Show(true)
|
||||
|
||||
-- if knowsAlternateMountEnum and UnitPowerMax(self.unit, unitPowerType) > 0 then
|
||||
-- self:Show(true)
|
||||
-- elseif not knowsAlternateMountEnum and IceHUD:HasAnyBuff("player", DragonridingBuffs) then
|
||||
-- self:Show(true)
|
||||
-- else
|
||||
-- self:Show(false)
|
||||
-- if self.moduleSettings.hideBlizz then
|
||||
-- self:ShowBlizz()
|
||||
-- end
|
||||
-- end
|
||||
end
|
||||
|
||||
function DragonridingVigor.prototype:UpdateRunePower(event, arg1, arg2)
|
||||
@ -78,6 +92,8 @@ function DragonridingVigor.prototype:UpdateVigorRecharge(event, widget)
|
||||
return
|
||||
end
|
||||
|
||||
self.suppressHideBlizz = false
|
||||
|
||||
if event ~= "internal" then
|
||||
if self.moduleSettings.hideBlizz then
|
||||
self:HideBlizz()
|
||||
@ -154,7 +170,9 @@ function DragonridingVigor.prototype:ShowBlizz()
|
||||
end
|
||||
|
||||
function DragonridingVigor.prototype:HideBlizz()
|
||||
UIWidgetPowerBarContainerFrame:Hide()
|
||||
if not self.suppressHideBlizz then
|
||||
UIWidgetPowerBarContainerFrame:Hide()
|
||||
end
|
||||
end
|
||||
|
||||
-- Load us up
|
||||
|
@ -1,9 +1,21 @@
|
||||
# Changelog
|
||||
|
||||
v1.14.35:
|
||||
|
||||
- Fix IceHUD stomping on other uses of the PowerBarContainer such as the Digging bar for the Archive event.
|
||||
|
||||
v1.14.34:
|
||||
|
||||
- Fix Vigor showing up sometimes when it shouldn't.
|
||||
|
||||
v1.14.33:
|
||||
|
||||
- Update TOC for Dragonflight to 10.2.5
|
||||
|
||||
v1.14.32:
|
||||
|
||||
- Enable GlobalCoolDown module in Classic Era 1.15.0+
|
||||
- Enable tracking non-player buffs/debuffs in Classic Era 1.15.0+
|
||||
- Enable tracking target buffs/debuffs in Classic Era 1.15.0+
|
||||
|
||||
v1.14.31:
|
||||
|
||||
|
Reference in New Issue
Block a user