mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
Compare commits
11 Commits
v1.13.1-al
...
1.13.4-alp
Author | SHA1 | Date | |
---|---|---|---|
6282dfb256
|
|||
4de8cb0d27
|
|||
ea28a05051
|
|||
ca80ca3f75
|
|||
fe22f7e658
|
|||
354fb483bb
|
|||
f6c737c654
|
|||
9a38c4b3ea
|
|||
ab6b662ac4
|
|||
a2addcb627
|
|||
7f84c28538
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -42,4 +42,4 @@ jobs:
|
||||
- name: Package and release for Classic
|
||||
uses: BigWigsMods/packager@master
|
||||
with:
|
||||
args: -g 1.13.5 -w 0
|
||||
args: -g 1.13.6 -w 0
|
||||
|
@ -1,8 +1,8 @@
|
||||
#@retail@
|
||||
## Interface: 90002
|
||||
## Interface: 90005
|
||||
#@end-retail@
|
||||
#@non-retail@
|
||||
# ## Interface: 11305
|
||||
# ## Interface: 11306
|
||||
#@end-non-retail@
|
||||
## Author: Parnic, originally created by Iceroth
|
||||
## Name: IceHUD
|
||||
|
@ -1,8 +1,8 @@
|
||||
#@retail@
|
||||
## Interface: 90002
|
||||
## Interface: 90005
|
||||
#@end-retail@
|
||||
#@non-retail@
|
||||
# ## Interface: 11305
|
||||
# ## Interface: 11306
|
||||
#@end-non-retail@
|
||||
## Title: IceHUD |cff7fff7f-Options-|r
|
||||
## Author: Parnic
|
||||
|
@ -243,7 +243,14 @@ function IceUnitBar.prototype:Update()
|
||||
self.mana = IceHUD:MathRound(self.mana / 100)
|
||||
self.maxMana = IceHUD:MathRound(self.maxMana / 100)
|
||||
end
|
||||
|
||||
-- account for cases where maxMana is 0, perhaps briefly (during certain spells, for example)
|
||||
-- and properly handle it as full. this allows for proper alpha handling during these times.
|
||||
if self.maxMana == self.mana then
|
||||
self.manaPercentage = 1
|
||||
else
|
||||
self.manaPercentage = self.maxMana ~= 0 and (self.mana/self.maxMana) or 0
|
||||
end
|
||||
|
||||
local locClass
|
||||
locClass, self.unitClass = UnitClass(self.unit)
|
||||
|
14
changelog.md
14
changelog.md
@ -2,6 +2,20 @@
|
||||
|
||||
vNext:
|
||||
|
||||
- Show Demon Hunter Fury top text as the raw Fury amount instead of a 0-100 scale with DogTags off. (ticket #301)
|
||||
|
||||
v1.13.3:
|
||||
|
||||
- Activated Totems module for all classes in Shadowlands. Some class abilities spawn units that live for a specific amount of time, and the game handles these as Totems.
|
||||
- Fixed an issue where mana bars could use the wrong alpha settings if the player's maximum mana was 0 (such as during the use of Soulshape).
|
||||
- Update TOC for 9.0.5
|
||||
|
||||
v1.13.2:
|
||||
|
||||
- Fixed which version of LibDogTag was being packaged. The previous version did not have 9.0 compatibility and was generating errors (ticket #293).
|
||||
|
||||
v1.13.1:
|
||||
|
||||
- Added support for Anima-charged combo points for Kyrian covenant (ticket #291).
|
||||
- Updated TOC for 9.0.2
|
||||
|
||||
|
@ -387,7 +387,7 @@ function PlayerMana.prototype:Update(unit, powertype)
|
||||
if not IceHUD.IceCore:ShouldUseDogTags() then
|
||||
-- extra hack for whiny rogues (are there other kind?)
|
||||
local displayPercentage = self.manaPercentage
|
||||
if self.manaType == SPELL_POWER_ENERGY or self.manaType == SPELL_POWER_FOCUS then
|
||||
if self.manaType == SPELL_POWER_ENERGY or self.manaType == SPELL_POWER_FOCUS or self.manaType == SPELL_POWER_FURY then
|
||||
displayPercentage = self.mana
|
||||
else
|
||||
displayPercentage = math.floor(displayPercentage * 100)
|
||||
|
@ -245,7 +245,7 @@ function Totems.prototype:UpdateTotem(event, totem, ...)
|
||||
if not totem or tonumber(totem) ~= totem or totem < 1 or totem > self.numTotems or not GetTotemInfo then
|
||||
return
|
||||
end
|
||||
local thisTotemName = self.totemNames[TOTEM_PRIORITIES[totem]]
|
||||
|
||||
local haveTotem, name, startTime, duration, icon = GetTotemInfo(totem);
|
||||
if duration > 0 then
|
||||
self.frame.graphical[totem].totem:SetTexture(icon)
|
||||
@ -422,6 +422,6 @@ end
|
||||
|
||||
-- Load us up
|
||||
local _, unitClass = UnitClass("player")
|
||||
if (unitClass == "SHAMAN") or (unitClass == "DRUID") then
|
||||
if IceHUD.WowVer >= 90000 or (unitClass == "SHAMAN") or (unitClass == "DRUID") then
|
||||
IceHUD.Totems = Totems:new()
|
||||
end
|
||||
|
@ -2,5 +2,4 @@
|
||||
|
||||
vNext:
|
||||
|
||||
- Added support for Anima-charged combo points for Kyrian covenant (ticket #291).
|
||||
- Updated TOC for 9.0.2
|
||||
- Show Demon Hunter Fury top text as the raw Fury amount instead of a 0-100 scale with DogTags off. (ticket #301)
|
||||
|
Reference in New Issue
Block a user