From b38874182d66baac8d17d47e6d7cf8041aac5fa4 Mon Sep 17 00:00:00 2001 From: WinterSolstice8 <60417494+wintersolstice8@users.noreply.github.com> Date: Sun, 8 Feb 2026 21:07:04 -0700 Subject: [PATCH] [lua] Remove resist rank check for mobs in calculateResistanceFactor --- scripts/globals/combat/magic_hit_rate.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/globals/combat/magic_hit_rate.lua b/scripts/globals/combat/magic_hit_rate.lua index 6dc6a00c64d..92c8282bc1b 100644 --- a/scripts/globals/combat/magic_hit_rate.lua +++ b/scripts/globals/combat/magic_hit_rate.lua @@ -511,12 +511,6 @@ local function calculateResistanceFactor(actor, target, params) elseif playerElementalEvasion == 0 then maxResistTier = 2 end - - -- Non-players: Affected by resistance rank. - else - if params.resistanceRank <= -3 then - maxResistTier = 1 - end end -- Calculate first 3 resist tiers.