Undoing changes for combatlog changes on 10.2 as the combatlog changes got reverted

This commit is contained in:
Tercio Jose
2023-11-14 00:30:10 -03:00
parent 4b7463a307
commit e721a07068
4 changed files with 37 additions and 8 deletions
+5 -4
View File
@@ -192,9 +192,9 @@ do
end
function Details:Ambiguate(unitName)
if (toc >= 100200) then
--if (toc >= 100200) then
unitName = Ambiguate(unitName, "none")
end
--end
return unitName
end
@@ -206,6 +206,7 @@ do
end
local UnitFullName = UnitFullName
--Details:GetCurrentCombat():GetActor(DETAILS_ATTRIBUTE_DAMAGE, Details:GetFullName("player")):GetSpell(1)
---create a CLEU compatible name of the unit passed
---return string is in the format "playerName-realmName"
@@ -235,9 +236,9 @@ do
return Details:GetFullName(unitId, "none")
end
if (toc < 100200) then
--if (toc < 100200) then
Details.GetFullName = Details.GetCLName
end
--end
function Details:Class(actor)
return self.classe or actor and actor.classe