From f9093a54760860e95aeadc0e3e7e4d3d8b750ed0 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Sat, 31 Dec 2022 16:33:24 -0300 Subject: [PATCH] Fix for Evoker cooldowns not showing in the cooldowns usage --- core/parser.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/core/parser.lua b/core/parser.lua index ebbf990a..82f41b9e 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -41,7 +41,16 @@ local container_habilidades = _detalhes.container_habilidades --details local --localize the cooldown table from the framework - local defensive_cooldowns = DetailsFramework.CooldownsAllDeffensive + local defensive_cooldowns = DetailsFramework.CooldownsAllDeffensive --default from all game versions + + if (LIB_OPEN_RAID_COOLDOWNS_INFO) then + --check if the cooldown is type 2 or 3 or 4 and add to the defensive_cooldowns table + for spellId, spellTable in pairs(LIB_OPEN_RAID_COOLDOWNS_INFO) do + if (spellTable.type == 2 or spellTable.type == 3 or spellTable.type == 4) then + defensive_cooldowns[spellId] = true + end + end + end local spell_damage_func = _detalhes.habilidade_dano.Add --details local local spell_damageMiss_func = _detalhes.habilidade_dano.AddMiss --details local