Bug fixes and a lag indicator for CastBar

This commit is contained in:
iceroth
2006-12-18 14:52:42 +00:00
parent 7e88da3a25
commit 3b93a47442
7 changed files with 111 additions and 12 deletions

View File

@ -92,6 +92,10 @@ function DruidMana.prototype:Update()
self.frame:Show()
end
if (not self.druidMana or not self.druidMaxMana) then
return
end
self:UpdateBar(self.druidMana / self.druidMaxMana, "DruidMana")
local percentage = (self.druidMana / self.druidMaxMana) * 100