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