Compare commits

...

3 Commits

Author SHA1 Message Date
a739b7ba99 Set stagger max to 100 by request 2017-01-11 16:04:41 -06:00
176603ec51 Updated changelog 2016-12-24 01:04:57 -06:00
0cdfde1758 Fixed Holy Word: Serenity not being trackable in CD modules
Pre-7.0 the Holy Word spells did not work with GetSpellCooldown. They do now.
2016-12-24 01:04:09 -06:00
3 changed files with 5 additions and 14 deletions

View File

@ -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.

View File

@ -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

View File

@ -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