From 8b3165a8308550312f8aea6b1a920dc2f643eee6 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Wed, 17 Feb 2021 11:51:19 -0300 Subject: [PATCH] Ignore Forgeborne Reveries healing done --- core/parser.lua | 8 ++++++++ frames/window_profiler.lua | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/core/parser.lua b/core/parser.lua index b4f5db896..36f043350 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -84,6 +84,9 @@ local damage_cache_petsOwners = setmetatable ({}, _detalhes.weaktable) --> heaing local healing_cache = setmetatable ({}, _detalhes.weaktable) + local banned_healing_spells = { + [326514] = true, --remove on 10.0 - Forgeborne Reveries - necrolords ability + } --> energy local energy_cache = setmetatable ({}, _detalhes.weaktable) --> misc @@ -1771,6 +1774,11 @@ if (not alvo_name) then return end + + --> check for banned spells + if (banned_healing_spells[spellid]) then + return + end --> spirit link toten if (spellid == SPELLID_SHAMAN_SLT) then diff --git a/frames/window_profiler.lua b/frames/window_profiler.lua index 5528beeb4..9c311e4b1 100644 --- a/frames/window_profiler.lua +++ b/frames/window_profiler.lua @@ -80,7 +80,7 @@ function Details:OpenProfiler() end f:Hide() end - local confirm = Details.gump:NewButton (f, f, "DetailsProfilerProfileConfirmButton", "button", 150, 20, confirm_func, nil, nil, nil, "okey!") + local confirm = Details.gump:NewButton (f, f, "DetailsProfilerProfileConfirmButton", "button", 150, 20, confirm_func, nil, nil, nil, "Okey!") confirm:SetPoint (50, -250) confirm:InstallCustomTexture() end \ No newline at end of file