From df3f6ea322e909943d92780e78f3eee3eba903aa Mon Sep 17 00:00:00 2001 From: d87 Date: Wed, 23 Mar 2022 11:00:18 +0700 Subject: [PATCH] Disabled Combat Log Health in classic --- Aptechka.lua | 2 ++ Options/GlobalSettings.lua | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Aptechka.lua b/Aptechka.lua index 37c5587..90e06db 100644 --- a/Aptechka.lua +++ b/Aptechka.lua @@ -571,6 +571,7 @@ function Aptechka.PLAYER_LOGIN(self,event,arg1) -- AptechkaDB.global.useCombatLogHealthUpdates = false + --[[ if isClassic and AptechkaDB.global.useCombatLogHealthUpdates then local CLH = LibStub("LibCombatLogHealth-1.0") UnitHealth = CLH.UnitHealth @@ -582,6 +583,7 @@ function Aptechka.PLAYER_LOGIN(self,event,arg1) -- return Aptechka:COMBAT_LOG_HEALTH(nil, unit, health) end) end + ]] self:RegisterEvent("UNIT_AURA") self:RegisterEvent("SPELLS_CHANGED") diff --git a/Options/GlobalSettings.lua b/Options/GlobalSettings.lua index 3ff2347..57d456d 100644 --- a/Options/GlobalSettings.lua +++ b/Options/GlobalSettings.lua @@ -247,7 +247,7 @@ function ns.MakeGlobalSettings() name = L"Use LibCLHealth", desc = L"More frequent health updates based combat log", type = "toggle", - disabled = not isClassic, + disabled = true,--not isClassic, width = "full", order = 18, get = function(info) return isClassic and Aptechka.db.global.useCombatLogHealthUpdates end,