自定义ai等级有文字指示

This commit is contained in:
MrZ626
2021-01-25 23:29:33 +08:00
parent d812b74f36
commit fa6f945eb2
5 changed files with 31 additions and 27 deletions

View File

@@ -34,14 +34,14 @@ end
function scene.keyDown(key)
if key=="return"or key=="return2"then
if CUSTOMENV.opponent>0 then
if CUSTOMENV.opponent>5 and CUSTOMENV.sequence=="fixed"then
if CUSTOMENV.opponent~="X"then
if CUSTOMENV.opponent:sub(1,2)=="CC"and CUSTOMENV.sequence=="fixed"then
LOG.print(text.ai_fixed,"warn")
return
elseif CUSTOMENV.opponent>0 and #BAG>0 then
elseif #BAG>0 then
LOG.print(text.ai_prebag,"warn")
return
elseif CUSTOMENV.opponent>0 and #MISSION>0 then
elseif #MISSION>0 then
LOG.print(text.ai_mission,"warn")
return
end