再调整CC的调用

This commit is contained in:
MrZ626
2021-03-24 14:41:25 +08:00
parent 2fa968a923
commit 6663915149
3 changed files with 18 additions and 11 deletions

View File

@@ -253,7 +253,7 @@ function Player.garbageRelease(P)--Check garbage buffer and try to release them
break
end
end
if flag and P.AI_mode=="CC"then CC.updateField(P)end
if flag and P.AI_mode=="CC"and P.AI_bot then CC.updateField(P)end
end
function Player.garbageRise(P,color,amount,line)--Release n-lines garbage to field
local _
@@ -522,7 +522,7 @@ function Player.lock(P)
end
end
end
if has_dest and not dest then
if has_dest and not dest and P.AI_mode=="CC"and P.AI_bot then
CC.updateField(P)
end
end

View File

@@ -305,7 +305,7 @@ function update.alive(P,dt)
if P.ghoY~=P.curY then
P.dropDelay=ENV.drop
elseif P.AI_mode=="CC"then
elseif P.AI_mode=="CC"and P.AI_bot then
CC.updateField(P)
if not P.AIdata._20G and ENV.drop<P.AI_delay0*.5 then
CC.switch20G(P)
@@ -315,7 +315,7 @@ function update.alive(P,dt)
P.lockDelay=P.lockDelay-1
if P.lockDelay>=0 then goto stop end
P:drop()
if P.AI_mode=="CC"then
if P.AI_mode=="CC"and P.AI_bot then
CC.updateField(P)
end
end