From 0a4b2b4ff44efc2ccdd646d28509f3b2fdd195a2 Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 6 Oct 2023 12:41:25 +0200 Subject: [PATCH] turtle-wow: only hide status texts if own texts are shown --- mods/turtle-wow.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mods/turtle-wow.lua b/mods/turtle-wow.lua index 94b4080..17029c4 100644 --- a/mods/turtle-wow.lua +++ b/mods/turtle-wow.lua @@ -20,11 +20,13 @@ local module = ShaguTweaks:register({ module.enable = function(self) -- hide turtle-wow's target status texts - TargetHPText:Hide() - TargetHPText.Show = function() return end + if ShaguTweaks_config["Real Health Numbers"] == 1 then + TargetHPText:Hide() + TargetHPText.Show = function() return end - TargetHPPercText:Hide() - TargetHPPercText.Show = function() return end + TargetHPPercText:Hide() + TargetHPPercText.Show = function() return end + end -- compatibility for turtle-wow's worldmap window local HookWorldMapFrame_Maximize = WorldMapFrame_Maximize