puzzle模式ai也会知道自己有没有hold
This commit is contained in:
@@ -55,9 +55,9 @@ return {
|
|||||||
local AIlevel=tonumber(GAME.modeEnv.opponent:sub(-1))
|
local AIlevel=tonumber(GAME.modeEnv.opponent:sub(-1))
|
||||||
PLY.newPlayer(1)
|
PLY.newPlayer(1)
|
||||||
if AItype=='9S' then
|
if AItype=='9S' then
|
||||||
PLY.newAIPlayer(2,BOT.template{type='9S',speedLV=2*AIlevel,hold=true})
|
PLY.newAIPlayer(2,BOT.template{type='9S',speedLV=2*AIlevel,hold=GAME.modeEnv.holdCount})
|
||||||
elseif AItype=='CC' then
|
elseif AItype=='CC' then
|
||||||
PLY.newAIPlayer(2,BOT.template{type='CC',speedLV=2*AIlevel-1,next=math.floor(AIlevel*.5+1),hold=true,node=20000+5000*AIlevel})
|
PLY.newAIPlayer(2,BOT.template{type='CC',speedLV=2*AIlevel-1,next=math.floor(AIlevel*.5+1),hold=GAME.modeEnv.holdCount,node=20000+5000*AIlevel})
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user