From e20bb1b8f3241a2560deea7261fd0de9e6936fc3 Mon Sep 17 00:00:00 2001 From: Jonathan Dang <77904634+Jonathan-Dang@users.noreply.github.com> Date: Sun, 17 Nov 2024 21:52:35 -0800 Subject: [PATCH] Fixed Empty actor item detection (#8331) Changed independent IF statements in CalcPerform into single if-elseif statement. --- src/Modules/CalcPerform.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Modules/CalcPerform.lua b/src/Modules/CalcPerform.lua index 596c088611..b5bf3a9078 100644 --- a/src/Modules/CalcPerform.lua +++ b/src/Modules/CalcPerform.lua @@ -153,8 +153,7 @@ local function doActorAttribsConditions(env, actor) -- Set conditions if (actor.itemList["Weapon 2"] and actor.itemList["Weapon 2"].type == "Shield") or (actor == env.player and env.aegisModList) then condList["UsingShield"] = true - end - if not actor.itemList["Weapon 2"] then + elseif not actor.itemList["Weapon 2"] then condList["OffHandIsEmpty"] = true end if actor.weaponData1.type == "None" then