mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
724a3001ed
|
|||
8226679ccd
|
|||
2c0b3d5f6f
|
|||
a08c2455c6
|
|||
8868b16785
|
|||
fc009492cb
|
|||
e2ef8e6cb1
|
|||
da5498d1a2
|
|||
e8c8172298
|
|||
345d12263c
|
|||
843292eda7
|
@ -1,7 +1,7 @@
|
|||||||
## Interface: 90100
|
## Interface: 90100
|
||||||
## Interface-Retail: 90100
|
## Interface-Retail: 90100
|
||||||
## Interface-Classic: 11306
|
## Interface-Classic: 11400
|
||||||
## Interface-BCC: 20501
|
## Interface-BCC: 20502
|
||||||
## Author: Parnic, originally created by Iceroth
|
## Author: Parnic, originally created by Iceroth
|
||||||
## Name: IceHUD
|
## Name: IceHUD
|
||||||
## Title: IceHUD |cff7fff7f-Ace3-|r
|
## Title: IceHUD |cff7fff7f-Ace3-|r
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
## Interface: 90100
|
## Interface: 90100
|
||||||
## Interface-Retail: 90100
|
## Interface-Retail: 90100
|
||||||
## Interface-Classic: 11306
|
## Interface-Classic: 11400
|
||||||
## Interface-BCC: 20501
|
## Interface-BCC: 20502
|
||||||
## Title: IceHUD |cff7fff7f-Options-|r
|
## Title: IceHUD |cff7fff7f-Options-|r
|
||||||
## Author: Parnic
|
## Author: Parnic
|
||||||
## Version: @project-version@
|
## Version: @project-version@
|
||||||
|
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2021 parnic
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
14
changelog.md
14
changelog.md
@ -1,5 +1,19 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
v1.13.9:
|
||||||
|
|
||||||
|
- Fixed FocusMana modules attempting to register invalid events in Classic builds.
|
||||||
|
- Add support for multiple anima-charged combo points to display at once.
|
||||||
|
- Update TOC for Classic 1.14.0
|
||||||
|
|
||||||
|
v1.13.8.1:
|
||||||
|
|
||||||
|
- Updated TOC for BC-Classic and Classic.
|
||||||
|
|
||||||
|
v1.13.8:
|
||||||
|
|
||||||
|
- Fixed Paladin GCD not functioning in BC-Classic.
|
||||||
|
|
||||||
v1.13.7:
|
v1.13.7:
|
||||||
|
|
||||||
- Fixed energy ticker when zoning back into an instance after dying (Classic builds)
|
- Fixed energy ticker when zoning back into an instance after dying (Classic builds)
|
||||||
|
@ -330,8 +330,7 @@ function ComboPoints.prototype:UpdateMaxComboPoints(event, unit, powerType)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function ComboPoints.prototype:UpdateChargedComboPoints()
|
function ComboPoints.prototype:UpdateChargedComboPoints()
|
||||||
local chargedPowerPoints = GetUnitChargedPowerPoints("player")
|
self.chargedPowerPoints = GetUnitChargedPowerPoints("player")
|
||||||
self.chargedPowerPointIndex = chargedPowerPoints and chargedPowerPoints[1]
|
|
||||||
self:CreateComboFrame()
|
self:CreateComboFrame()
|
||||||
self:UpdateComboPoints()
|
self:UpdateComboPoints()
|
||||||
end
|
end
|
||||||
@ -445,7 +444,7 @@ function ComboPoints.prototype:CreateComboFrame(forceTextureUpdate)
|
|||||||
g = g - ((1 / maxComboPoints)*i)
|
g = g - ((1 / maxComboPoints)*i)
|
||||||
end
|
end
|
||||||
|
|
||||||
if i == self.chargedPowerPointIndex and self.moduleSettings.bShowAnimaCharged then
|
if self.moduleSettings.bShowAnimaCharged and self:IsAnimaChargedPoint(i) then
|
||||||
self.frame.graphical[i].texture:SetVertexColor(self:GetColor("KyrianAnimaComboPoint"))
|
self.frame.graphical[i].texture:SetVertexColor(self:GetColor("KyrianAnimaComboPoint"))
|
||||||
else
|
else
|
||||||
self.frame.graphical[i].texture:SetVertexColor(r, g, b)
|
self.frame.graphical[i].texture:SetVertexColor(r, g, b)
|
||||||
@ -494,6 +493,20 @@ function ComboPoints.prototype:CreateComboFrame(forceTextureUpdate)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function ComboPoints.prototype:IsAnimaChargedPoint(point)
|
||||||
|
if not self.chargedPowerPoints then
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
||||||
|
for i=1, #self.chargedPowerPoints do
|
||||||
|
if self.chargedPowerPoints[i] == point then
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
||||||
function ComboPoints.prototype:UpdateComboPoints(...)
|
function ComboPoints.prototype:UpdateComboPoints(...)
|
||||||
if select('#', ...) >= 3 and select(1, ...) == IceHUD.UnitPowerEvent and select(3, ...) ~= "COMBO_POINTS" then
|
if select('#', ...) >= 3 and select(1, ...) == IceHUD.UnitPowerEvent and select(3, ...) ~= "COMBO_POINTS" then
|
||||||
return
|
return
|
||||||
|
@ -39,9 +39,9 @@ end
|
|||||||
function FocusMana.prototype:Enable(core)
|
function FocusMana.prototype:Enable(core)
|
||||||
FocusMana.super.prototype.Enable(self, core)
|
FocusMana.super.prototype.Enable(self, core)
|
||||||
|
|
||||||
if IceHUD.WowVer >= 40000 then
|
if not IceHUD.PerPowerEventsExist then
|
||||||
self:RegisterEvent(IceHUD.UnitPowerEvent, "UpdateEvent")
|
self:RegisterEvent(IceHUD.UnitPowerEvent, "UpdateEvent")
|
||||||
if IceHUD.WowVer < 80000 then
|
if IceHUD.EventExistsUnitMaxPower then
|
||||||
self:RegisterEvent("UNIT_MAXPOWER", "UpdateEvent")
|
self:RegisterEvent("UNIT_MAXPOWER", "UpdateEvent")
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
@ -286,6 +286,10 @@ function GlobalCoolDown.prototype:GetSpellId()
|
|||||||
MONK=100780, -- jab
|
MONK=100780, -- jab
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if IceHUD.WowClassicBC or IceHUD.WowClassic then
|
||||||
|
defaultSpells["PALADIN"] = 635
|
||||||
|
end
|
||||||
|
|
||||||
local _, unitClass = UnitClass("player")
|
local _, unitClass = UnitClass("player")
|
||||||
return defaultSpells[unitClass]
|
return defaultSpells[unitClass]
|
||||||
end
|
end
|
||||||
|
@ -287,10 +287,9 @@ function Totems.prototype:CreateTotemFrame()
|
|||||||
self.frame.graphical = {}
|
self.frame.graphical = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
local totemType
|
|
||||||
for i=1, self.numTotems do
|
for i=1, self.numTotems do
|
||||||
slot = TOTEM_PRIORITIES[i]
|
local slot = TOTEM_PRIORITIES[i]
|
||||||
self:CreateTotem(slot, self.totemNames[slot])
|
self:CreateTotem(slot, self.totemNames[slot])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -376,9 +375,9 @@ function Totems.prototype:CreateTotem(i, name)
|
|||||||
self.graphicalOnLeave = function() GameTooltip:Hide() end
|
self.graphicalOnLeave = function() GameTooltip:Hide() end
|
||||||
end
|
end
|
||||||
if not self.graphicalOnMouseUp then
|
if not self.graphicalOnMouseUp then
|
||||||
self.graphicalOnMouseUp = function (self, mouseButton)
|
self.graphicalOnMouseUp = function (button, mouseButton)
|
||||||
if mouseButton == "RightButton" then
|
if mouseButton == "RightButton" then
|
||||||
DestroyTotem(self.slot)
|
DestroyTotem(button.slot)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
v1.13.7:
|
v1.13.9:
|
||||||
|
|
||||||
- Fixed energy ticker when zoning back into an instance after dying (Classic builds)
|
- Fixed FocusMana modules attempting to register invalid events in Classic builds.
|
||||||
- Added newer Fear spell to CC modules.
|
- Add support for multiple anima-charged combo points to display at once.
|
||||||
- Fixed the straight textures (Tanks) not showing the lowest or highest values appropriately (10% could look empty, 90% could look full).
|
- Update TOC for Classic 1.14.0
|
||||||
|
Reference in New Issue
Block a user