Nicktag reverted; more fixes for combatlog changes on 10.2 patch

This commit is contained in:
Tercio Jose
2023-11-10 19:10:29 -03:00
parent 89b84ced68
commit 60819b9143
5 changed files with 16 additions and 16 deletions
+2 -1
View File
@@ -977,10 +977,11 @@
end
--attempt to get the arena unitId for an actor
--this function is called from containerActors while reading the actor flag and parser when managing deathlog
function Details:GuessArenaEnemyUnitId(unitName)
for i = 1, 5 do
local unitId = "arena" .. i
local enemyName = _G.GetUnitName(unitId, true)
local enemyName = Details:GetFullName(unitId)
if (enemyName == unitName) then
_detalhes.arena_enemies[enemyName] = unitId
return unitId