mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
a739b7ba99 | |||
176603ec51 | |||
0cdfde1758 |
@ -1,3 +1,7 @@
|
|||||||
|
v1.10.14:
|
||||||
|
- Fixed Holy Word: Serenity not being trackable in the Custom Cooldown module (ticket #232).
|
||||||
|
- Updated Stagger bar to allow the user to set the max to 100% if desired.
|
||||||
|
|
||||||
v1.10.13.1:
|
v1.10.13.1:
|
||||||
- Fixed "0" showing up for some users after 1.10.13 by adding a "show when zero" checkbox to custom counters (disabled by default). Anyone who has used IceHUD for a very long time has automatically-converted custom counter modules that replaced the old "maelstrom", "lacerate", and "sunder" modules that used to exist, each of which exhibited the behavior after the last update.
|
- Fixed "0" showing up for some users after 1.10.13 by adding a "show when zero" checkbox to custom counters (disabled by default). Anyone who has used IceHUD for a very long time has automatically-converted custom counter modules that replaced the old "maelstrom", "lacerate", and "sunder" modules that used to exist, each of which exhibited the behavior after the last update.
|
||||||
|
|
||||||
|
@ -21,11 +21,6 @@ IceCustomCDBar.prototype.cooldownDuration = 0
|
|||||||
IceCustomCDBar.prototype.cooldownEndTime = 0
|
IceCustomCDBar.prototype.cooldownEndTime = 0
|
||||||
IceCustomCDBar.prototype.coolingDown = false
|
IceCustomCDBar.prototype.coolingDown = false
|
||||||
|
|
||||||
-- super temp...remove this when blizzard fixes these spells to work by name with GetSpellCooldown()
|
|
||||||
local brokenSpellsNameToId = {}
|
|
||||||
table.insert(brokenSpellsNameToId, {"Holy Word: Serenity",88684})
|
|
||||||
table.insert(brokenSpellsNameToId, {"Holy Word: Sanctuary",88685})
|
|
||||||
|
|
||||||
-- Constructor --
|
-- Constructor --
|
||||||
function IceCustomCDBar.prototype:init()
|
function IceCustomCDBar.prototype:init()
|
||||||
IceCustomCDBar.super.prototype.init(self, "MyCustomCDBar")
|
IceCustomCDBar.super.prototype.init(self, "MyCustomCDBar")
|
||||||
@ -821,14 +816,6 @@ function IceCustomCDBar.prototype:IsReady()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function IceCustomCDBar.prototype:GetSpellNameOrId(spellName)
|
function IceCustomCDBar.prototype:GetSpellNameOrId(spellName)
|
||||||
-- super temp hax. certain spells (the new 'morphing' spells) do not work by name with GetSpellCooldown(), only id.
|
|
||||||
for i=1,#brokenSpellsNameToId do
|
|
||||||
if spellName == brokenSpellsNameToId[i][1] then
|
|
||||||
spellName = brokenSpellsNameToId[i][2]
|
|
||||||
break
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
return spellName
|
return spellName
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ function StaggerBar.prototype:GetOptions()
|
|||||||
name = "Max Percent",
|
name = "Max Percent",
|
||||||
desc = "Maximum percentage of your maximum health for the Stagger bar to represent. I.e, if set to 20%, the bar will be full when the Stagger damage over time effect is dealing 20% of your maximum health per second.",
|
desc = "Maximum percentage of your maximum health for the Stagger bar to represent. I.e, if set to 20%, the bar will be full when the Stagger damage over time effect is dealing 20% of your maximum health per second.",
|
||||||
min = 0,
|
min = 0,
|
||||||
max = 50,
|
max = 100,
|
||||||
step = 1,
|
step = 1,
|
||||||
get = function()
|
get = function()
|
||||||
return self.moduleSettings.maxPercent
|
return self.moduleSettings.maxPercent
|
||||||
|
Reference in New Issue
Block a user