Fixed an issue when using Click to Open Menus + Auto Hide Menu

This commit is contained in:
Tercio Jose
2023-03-20 14:34:58 -03:00
parent 94927993e8
commit f024ecc58b
8 changed files with 435 additions and 546 deletions
-25
View File
@@ -6258,31 +6258,6 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
return Details.encounter_table.id and true or false
end
--get combat
function Details:GetCombat(combat)
if (not combat) then
return _current_combat
elseif (type(combat) == "number") then
if (combat == -1) then --overall
return Details.tabela_overall
elseif (combat == 0) then --current
return _current_combat
else
return Details.tabela_historico.tabelas [combat]
end
elseif (type(combat) == "string") then
if (combat == "overall") then
return Details.tabela_overall
elseif (combat == "current") then
return _current_combat
end
end
return nil
end
function Details:GetAllActors(_combat, _actorname)
return Details:GetActor(_combat, 1, _actorname), Details:GetActor(_combat, 2, _actorname), Details:GetActor(_combat, 3, _actorname), Details:GetActor(_combat, 4, _actorname)
end