清除自定义游戏的老版本残留无用代码,移除bagLen变量,直接用bagLine保存包间隔块数

This commit is contained in:
MrZ626
2021-05-25 01:10:39 +08:00
parent 37fb89bae0
commit 30297385af
4 changed files with 12 additions and 19 deletions

View File

@@ -39,10 +39,9 @@ return{
},
load=function()
applyCustomGame()
local AItype=GAME.modeEnv.opponent:sub(1,2)
local AIlevel=tonumber(GAME.modeEnv.opponent:sub(-1))
PLY.newPlayer(1)
local ENV=GAME.modeEnv
local AItype=ENV.opponent:sub(1,2)
local AIlevel=tonumber(ENV.opponent:sub(-1))
if AItype=='9S'then
PLY.newAIPlayer(2,AIBUILDER('9S',2*AIlevel))
elseif AItype=='CC'then