Fixed the Mythic+ Graphic not showing after clicking in "Show"; Fixed Health Bar on deathlog;

This commit is contained in:
Tercio Jose
2023-11-12 16:01:17 -03:00
parent ba7d2c2c2d
commit 7e7dda8ee7
5 changed files with 42 additions and 30 deletions
+10
View File
@@ -206,6 +206,12 @@ do
end
local UnitFullName = UnitFullName
---create a CLEU compatible name of the unit passed
---return string is in the format "playerName-realmName"
---the string will also be ambiguated using the ambiguateString passed
---@param unitId any
---@param ambiguateString any
function Details:GetFullName(unitId, ambiguateString)
--UnitFullName is guarantee to return the realm name of the unit queried
local playerName, realmName = UnitFullName(unitId)
@@ -225,6 +231,10 @@ do
end
end
function Details:GetUnitNameForAPI(unitId)
return Details:GetFullName(unitId, "none")
end
if (toc < 100200) then
Details.GetFullName = Details.GetCLName
end