Compare commits

...

4 Commits

Author SHA1 Message Date
8bc7b1ee90 Update TOCs 2023-07-11 16:52:17 -05:00
9cd800ee86 Update changelog 2023-07-05 13:33:12 -05:00
ca6008780f Bump TOC for Wrath-Classic 3.4.2 2023-07-04 10:18:52 -05:00
9a727e4893 Fix Vigor with new mount type(s)
I explicitly added what I believe to be the spell id for the new Grotto Netherwing Drake so it *should* work regardless, but then also discovered that the flying mount's UnitPowerMax is 0 unless you're on a Dragonriding mount, so that should be the longer-term fix for whenever old-world mounts add Dragonriding capability (10.1.5?).
2023-07-04 10:01:31 -05:00
5 changed files with 23 additions and 7 deletions

View File

@ -1,8 +1,8 @@
## Interface: 100100
## Interface-Retail: 100100
## Interface: 100105
## Interface-Retail: 100105
## Interface-Classic: 11403
## Interface-BCC: 20504
## Interface-Wrath: 30401
## Interface-Wrath: 30402
## Author: Parnic, originally created by Iceroth
## Name: IceHUD
## Title: IceHUD |cff7fff7f-Ace3-|r

View File

@ -1,8 +1,8 @@
## Interface: 100100
## Interface-Retail: 100100
## Interface: 100105
## Interface-Retail: 100105
## Interface-Classic: 11403
## Interface-BCC: 20504
## Interface-Wrath: 30401
## Interface-Wrath: 30402
## Title: IceHUD |cff7fff7f-Options-|r
## Author: Parnic
## Version: @project-version@

View File

@ -1,8 +1,14 @@
# Changelog
v1.14.23:
- Update Dragonflight TOC for 10.1.5
v1.14.22:
- Fixed reported issue with a Lua error on Wrath Classic clients. https://www.wowace.com/projects/ice-hud/issues/344
- Fixed Vigor module not working when riding Grotto Netherwing Drake (and theoretically all future Dragonriding mount types).
- Updated TOC for Wrath-Classic.
v1.14.21:

View File

@ -7,10 +7,12 @@ local DragonridingBuffs = {
368899, -- Windborn Velocidrake
368901, -- Cliffside Wylderdrake
368893, -- Winding Slitherdrake
412088, -- Grotto Netherwing Drake
}
local vigorWidgetSetID = 283
local vigorWidgetID = 4460
local knowsAlternateMountEnum = Enum and Enum.PowerType and Enum.PowerType.AlternateMount
local unitPowerType = Enum and Enum.PowerType and Enum.PowerType.AlternateMount
unitPowerType = unitPowerType or ALTERNATE_POWER_INDEX
@ -52,7 +54,9 @@ function DragonridingVigor.prototype:CheckShouldShow(event, unit, info)
return
end
if IceHUD:HasAnyBuff("player", DragonridingBuffs) then
if knowsAlternateMountEnum and UnitPowerMax(self.unit, unitPowerType) > 0 then
self:Show(true)
elseif IceHUD:HasAnyBuff("player", DragonridingBuffs) then
self:Show(true)
else
self:Show(false)

View File

@ -1,8 +1,14 @@
# Changelog
v1.14.23:
- Update Dragonflight TOC for 10.1.5
v1.14.22:
- Fixed reported issue with a Lua error on Wrath Classic clients. https://www.wowace.com/projects/ice-hud/issues/344
- Fixed Vigor module not working when riding Grotto Netherwing Drake (and theoretically all future Dragonriding mount types).
- Updated TOC for Wrath-Classic.
v1.14.21: