mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
- changed GetDifficultyColor to GetQuestDifficultyColor. looks like this function was deprecated a while ago, but was removed in 3.2
This commit is contained in:
@ -1195,7 +1195,7 @@ function IceTargetInfo.prototype:TargetLevel(unit)
|
|||||||
if (unit == self.unit or unit == internal) then
|
if (unit == self.unit or unit == internal) then
|
||||||
self.level = UnitLevel(self.unit)
|
self.level = UnitLevel(self.unit)
|
||||||
|
|
||||||
local color = GetDifficultyColor((self.level > 0) and self.level or 100)
|
local color = GetQuestDifficultyColor((self.level > 0) and self.level or 100)
|
||||||
|
|
||||||
if (self.level > 0) then
|
if (self.level > 0) then
|
||||||
if (UnitClassification(self.unit) == "elite") then
|
if (UnitClassification(self.unit) == "elite") then
|
||||||
|
Reference in New Issue
Block a user