Api update with Details:GetActorFromCache(unitName or GUID) only work during combat, very fast way to get a danage actorObject

This commit is contained in:
Tercio Jose
2022-12-30 17:35:11 -03:00
parent 3bd7350321
commit c6d0a16af8
4 changed files with 53 additions and 24 deletions
+4
View File
@@ -6340,6 +6340,10 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
container_pets = _detalhes.tabela_pets.pets
end
function Details:GetActorFromCache(value)
return damage_cache[value] or damage_cache_pets[value] or damage_cache_petsOwners[value]
end
function _detalhes:PrintParserCacheIndexes()
local amount = 0
for n, nn in pairs(damage_cache) do