From 8fbc9d048d2df4b5f1d4ca84df2b658f5312bb55 Mon Sep 17 00:00:00 2001 From: baza Date: Sat, 23 May 2026 11:17:27 +0300 Subject: [PATCH] Fix ModifierThreshold upper tag --- src/Classes/ModStore.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Classes/ModStore.lua b/src/Classes/ModStore.lua index 832cffa87..cf93dd34b 100644 --- a/src/Classes/ModStore.lua +++ b/src/Classes/ModStore.lua @@ -441,7 +441,7 @@ function ModStoreClass:EvalMod(mod, cfg, globalLimits) mult = GetMultiplier(target, tag.var, cfg) end local threshold = tag.threshold or GetMultiplier(tag.thresholdActor and thresholdTarget or target, tag.thresholdVar, cfg) - if (tag.upper and mult > threshold) or (tag.equals and mult ~= threshold) or (not (tag.upper and tag.exact) and mult < threshold) then + if (tag.upper and mult > threshold) or (tag.equals and mult ~= threshold) or (not tag.upper and mult < threshold) then return end -- scale effects of Multiplier mod