Version 0.3

- More configuration options
- Added another texture option for bars
- /icehud now opens Dewdrop menu directly
- Rogue/cat energy ticker
This commit is contained in:
iceroth
2006-07-28 13:10:25 +00:00
parent 6399796175
commit 61b0d95afa
15 changed files with 695 additions and 122 deletions

View File

@ -57,7 +57,6 @@ function CastBar.prototype:Enable()
self.frame:Hide()
-- remove blizz cast bar
CastingBarFrame:UnregisterAllEvents()
end
@ -76,6 +75,16 @@ function CastBar.prototype:Disable()
CastingBarFrame:RegisterEvent("SPELLCAST_CHANNEL_STOP");
end
-- OVERRIDE
function CastBar.prototype:Redraw()
CastBar.super.prototype.Redraw(self)
self.frame.bottomUpperText:SetWidth(180)
end
-- 'Protected' methods --------------------------------------------------------
@ -118,7 +127,7 @@ function CastBar.prototype:OnUpdate()
if (scale < 0.1) then -- "wait" for possible fail event before showing success animation
return
end
self.alpha = 0.5
self.alpha = 0.9
self:UpdateBar(1, "castSuccess", 1.1-scale)
if (scale >= 1) then