- made lacerate and sunder modules show up in configuration mode

- added an extremely untested MaelstromCount module based off the other Count modules. I do not have a shaman with maelstrom to test this with, but I did confirm that it at least doesn't throw any errors ;)
- set lacerate default vertical position such that it is out of the way of the combo points module instead of on top of it
- fixed a bug where "graphical glow" and "graphical clean" presets did not work on lacerate and sunder count modules
This commit is contained in:
Parnic
2008-10-20 05:39:35 +00:00
parent 6786fba204
commit 5cfc082a28
5 changed files with 304 additions and 14 deletions

View File

@ -159,7 +159,6 @@ end
function SunderCount.prototype:CreateSunderFrame(doTextureUpdate)
-- create numeric sunders
self.frame.numeric = self:FontFactory(self.moduleSettings.sunderFontSize, nil, self.frame.numeric)
@ -185,9 +184,9 @@ function SunderCount.prototype:CreateSunderFrame(doTextureUpdate)
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboBG")
elseif self.moduleSettings.sunderMode == "Graphical Circle" then
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboRoundBG")
elseif self.moduleSettings.comboMode == "Graphical Glow" then
elseif self.moduleSettings.sunderMode == "Graphical Glow" then
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboGlowBG")
elseif self.moduleSettings.comboMode == "Graphical Clean Circle" then
elseif self.moduleSettings.sunderMode == "Graphical Clean Circle" then
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboCleanCurvesBG")
end
end
@ -213,9 +212,9 @@ function SunderCount.prototype:CreateSunderFrame(doTextureUpdate)
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "Combo")
elseif self.moduleSettings.sunderMode == "Graphical Circle" then
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboRound")
elseif self.moduleSettings.comboMode == "Graphical Glow" then
elseif self.moduleSettings.sunderMode == "Graphical Glow" then
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboGlow")
elseif self.moduleSettings.comboMode == "Graphical Clean Circle" then
elseif self.moduleSettings.sunderMode == "Graphical Clean Circle" then
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboCleanCurves")
end
end
@ -235,7 +234,12 @@ end
function SunderCount.prototype:UpdateSunderCount()
local points = IceHUD:GetDebuffCount("target", "Ability_Warrior_Sunder")
local points
if IceHUD.IceCore:IsInConfigMode() then
points = 5
else
points = IceHUD:GetDebuffCount("target", "Ability_Warrior_Sunder")
end
if (points == 0) then
points = nil