mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
Version "Whiny rogues who file feature requests as bugs"
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
## Name: IceHUD
|
## Name: IceHUD
|
||||||
## Title: IceHUD |cff7fff7f -Ace2-|r
|
## Title: IceHUD |cff7fff7f -Ace2-|r
|
||||||
## Notes: Another HUD addon
|
## Notes: Another HUD addon
|
||||||
## Version: 0.8.3 ($Revision$)
|
## Version: 0.8.4 ($Revision$)
|
||||||
## SavedVariables: IceCoreDB
|
## SavedVariables: IceCoreDB
|
||||||
## OptionalDeps: Ace2, DewdropLib, DruidBar, SoleManax, MobHealth
|
## OptionalDeps: Ace2, DewdropLib, DruidBar, SoleManax, MobHealth
|
||||||
## X-Embeds: Ace2, DewdropLib
|
## X-Embeds: Ace2, DewdropLib
|
||||||
|
@ -162,7 +162,13 @@ function PlayerMana.prototype:Update(unit)
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
self:SetBottomText1(self.manaPercentage)
|
-- extra hack for whiny rogues (are there other kind?)
|
||||||
|
local displayPercentage = self.manaPercentage
|
||||||
|
if (self.manaType == 3) then
|
||||||
|
displayPercentage = self.mana
|
||||||
|
end
|
||||||
|
self:SetBottomText1(displayPercentage)
|
||||||
|
|
||||||
|
|
||||||
local amount = self:GetFormattedText(self.mana, self.maxMana)
|
local amount = self:GetFormattedText(self.mana, self.maxMana)
|
||||||
|
|
||||||
|
@ -690,7 +690,7 @@ function TargetInfo.prototype:TargetLevel(unit)
|
|||||||
local color = GetDifficultyColor((self.level > 0) and self.level or 100)
|
local color = GetDifficultyColor((self.level > 0) and self.level or 100)
|
||||||
|
|
||||||
if (self.level > 0) then
|
if (self.level > 0) then
|
||||||
if (UnitIsPlusMob(target)) then
|
if (UnitClassification(target) == "elite") then
|
||||||
self.level = self.level .. "+"
|
self.level = self.level .. "+"
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user