- more minor cleanups before tagging a new release version

This commit is contained in:
Parnic
2009-04-19 00:49:33 +00:00
parent 9a8d5317c9
commit 0a0a816701
9 changed files with 13 additions and 13 deletions

View File

@ -191,9 +191,9 @@ function HungerForBlood.prototype:UpdateHungerForBlood(unit, fromUpdate)
remaining = hfbEndTime - now
end
if (hfbBuffCount ~= nil and hfbBuffCount > 2) then
self:UpdateBar(hfbDuration > 0 and remaining / hfbDuration or 0, "HungerForBloodMax")
self:UpdateBar(hfbDuration ~= 0 and remaining / hfbDuration or 0, "HungerForBloodMax")
else
self:UpdateBar(hfbDuration > 0 and remaining / hfbDuration or 0, "HungerForBlood")
self:UpdateBar(hfbDuration ~= 0 and remaining / hfbDuration or 0, "HungerForBlood")
end
formatString = self.moduleSettings.upperText or ''