From 28bf3a5b36ca6efd8e575f7457e1fb6c5730131e Mon Sep 17 00:00:00 2001 From: purerosefallen <78877@qq.com> Date: Wed, 12 Feb 2025 10:07:29 +0800 Subject: [PATCH] fix --- procedure.lua | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/procedure.lua b/procedure.lua index 51ca1acd6..07a134138 100644 --- a/procedure.lua +++ b/procedure.lua @@ -980,9 +980,12 @@ function Auxiliary.FUltimateGetCondsResultCode(c,conds,fc,sub,mg,sg) if c:IsLocation(LOCATION_MZONE) or Auxiliary.FGoalCheckAdditional then return -1 end local code=0 + if sub and c:CheckFusionSubstitute(fc) then + code=code|0x1 + end for i,o in ipairs(conds) do if o.max>0 and o.f(c,fc,sub,mg,sg) then - code=code|(1<<(i-1)) + code=code|(1<