CC不能和swap的暂存模式一起开

This commit is contained in:
MrZ626
2021-09-30 21:13:08 +08:00
parent 6f7ebb4cbf
commit a61e0086e0
9 changed files with 25 additions and 11 deletions

View File

@@ -55,9 +55,15 @@ function scene.keyDown(key,isRep)
if isRep then return end
if key=="return"or key=="return2"then
if CUSTOMENV.opponent~="X"then
if CUSTOMENV.opponent:sub(1,2)=='CC'and CUSTOMENV.sequence=="fixed"then
MES.new('error',text.ai_fixed)
return
if CUSTOMENV.opponent:sub(1,2)=='CC'then
if CUSTOMENV.sequence=='fixed'then
MES.new('error',text.cc_fixed)
return
end
if CUSTOMENV.holdMode=='swap'then
MES.new('error',text.cc_swap)
return
end
end
if #BAG>0 then
for _=1,#BAG do