mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Update TOC, add icon, fix Vigor for 10.1
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
## Interface: 100007
|
## Interface: 100100
|
||||||
## Interface-Retail: 100007
|
## Interface-Retail: 100100
|
||||||
## Interface-Classic: 11403
|
## Interface-Classic: 11403
|
||||||
## Interface-BCC: 20504
|
## Interface-BCC: 20504
|
||||||
## Interface-Wrath: 30401
|
## Interface-Wrath: 30401
|
||||||
@ -14,6 +14,7 @@
|
|||||||
# ## Version: @project-version@
|
# ## Version: @project-version@
|
||||||
#@end-non-debug@
|
#@end-non-debug@
|
||||||
## SavedVariables: IceCoreDB
|
## SavedVariables: IceCoreDB
|
||||||
|
## IconTexture: Interface\Icons\Spell_Frost_Frost
|
||||||
## OptionalDeps: Ace3, LibSharedMedia-3.0, LibDogTag-3.0, LibDogTag-Unit-3.0, LibRangeCheck-2.0, LibDualSpec-1.0, LibDBIcon-1.0, AceGUI-3.0-SharedMediaWidgets
|
## OptionalDeps: Ace3, LibSharedMedia-3.0, LibDogTag-3.0, LibDogTag-Unit-3.0, LibRangeCheck-2.0, LibDualSpec-1.0, LibDBIcon-1.0, AceGUI-3.0-SharedMediaWidgets
|
||||||
## X-Category: HUDs
|
## X-Category: HUDs
|
||||||
## X-Website: https://www.wowace.com/projects/ice-hud
|
## X-Website: https://www.wowace.com/projects/ice-hud
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
## Interface: 100007
|
## Interface: 100100
|
||||||
## Interface-Retail: 100007
|
## Interface-Retail: 100100
|
||||||
## Interface-Classic: 11403
|
## Interface-Classic: 11403
|
||||||
## Interface-BCC: 20504
|
## Interface-BCC: 20504
|
||||||
## Interface-Wrath: 30401
|
## Interface-Wrath: 30401
|
||||||
@ -10,6 +10,7 @@
|
|||||||
## OptionalDeps: AceGUI-3.0-SharedMediaWidgets
|
## OptionalDeps: AceGUI-3.0-SharedMediaWidgets
|
||||||
## Dependencies: IceHUD
|
## Dependencies: IceHUD
|
||||||
## LoadOnDemand: 1
|
## LoadOnDemand: 1
|
||||||
|
## IconTexture: Interface\Icons\Spell_Frost_Frost
|
||||||
|
|
||||||
Json.lua
|
Json.lua
|
||||||
JsonDecode.lua
|
JsonDecode.lua
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
v1.14.19:
|
||||||
|
|
||||||
|
- Updated TOCs for 10.1.0
|
||||||
|
- Added addon icon for 10.1.0 clients
|
||||||
|
- Fixed Dragonriding Vigor charges not showing up in 10.1.0
|
||||||
|
|
||||||
v1.14.18:
|
v1.14.18:
|
||||||
|
|
||||||
- Fixed Runic Power showing on a scale of 0-1000+ instead of 0-100+ with DogTags off
|
- Fixed Runic Power showing on a scale of 0-1000+ instead of 0-100+ with DogTags off
|
||||||
|
@ -10,6 +10,8 @@ local DragonridingBuffs = {
|
|||||||
|
|
||||||
local vigorWidgetSetID = 283
|
local vigorWidgetSetID = 283
|
||||||
local vigorWidgetID = 4460
|
local vigorWidgetID = 4460
|
||||||
|
local unitPowerType = Enum and Enum.PowerType and Enum.PowerType.AlternateMount
|
||||||
|
unitPowerType = unitPowerType or ALTERNATE_POWER_INDEX
|
||||||
|
|
||||||
function DragonridingVigor.prototype:init()
|
function DragonridingVigor.prototype:init()
|
||||||
DragonridingVigor.super.prototype.init(self, "Vigor")
|
DragonridingVigor.super.prototype.init(self, "Vigor")
|
||||||
@ -18,7 +20,7 @@ function DragonridingVigor.prototype:init()
|
|||||||
|
|
||||||
self.unit = "player"
|
self.unit = "player"
|
||||||
self.numericColor = "VigorNumeric"
|
self.numericColor = "VigorNumeric"
|
||||||
self.unitPower = ALTERNATE_POWER_INDEX
|
self.unitPower = unitPowerType
|
||||||
self.minLevel = 0
|
self.minLevel = 0
|
||||||
self.bTreatEmptyAsFull = false
|
self.bTreatEmptyAsFull = false
|
||||||
self.runeWidth = self.runeHeight
|
self.runeWidth = self.runeHeight
|
||||||
@ -26,7 +28,7 @@ function DragonridingVigor.prototype:init()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function DragonridingVigor.prototype:Enable(core)
|
function DragonridingVigor.prototype:Enable(core)
|
||||||
self.numRunes = UnitPowerMax(self.unit, ALTERNATE_POWER_INDEX)
|
self.numRunes = UnitPowerMax(self.unit, unitPowerType)
|
||||||
self.runeCoords = { }
|
self.runeCoords = { }
|
||||||
for i = 1, self.numRunes do
|
for i = 1, self.numRunes do
|
||||||
self:SetupNewRune(i)
|
self:SetupNewRune(i)
|
||||||
@ -151,6 +153,6 @@ function DragonridingVigor.prototype:HideBlizz()
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Load us up
|
-- Load us up
|
||||||
if ALTERNATE_POWER_INDEX and C_UIWidgetManager and C_UIWidgetManager.GetFillUpFramesWidgetVisualizationInfo then
|
if unitPowerType and C_UIWidgetManager and C_UIWidgetManager.GetFillUpFramesWidgetVisualizationInfo then
|
||||||
IceHUD.DragonridingVigor = DragonridingVigor:new()
|
IceHUD.DragonridingVigor = DragonridingVigor:new()
|
||||||
end
|
end
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
v1.14.19:
|
||||||
|
|
||||||
|
- Updated TOCs for 10.1.0
|
||||||
|
- Added addon icon for 10.1.0 clients
|
||||||
|
- Fixed Dragonriding Vigor charges not showing up in 10.1.0
|
||||||
|
|
||||||
v1.14.18:
|
v1.14.18:
|
||||||
|
|
||||||
- Fixed Runic Power showing on a scale of 0-1000+ instead of 0-100+ with DogTags off
|
- Fixed Runic Power showing on a scale of 0-1000+ instead of 0-100+ with DogTags off
|
||||||
|
Reference in New Issue
Block a user