add hold i_s (#971)
* hold with i_s! * fix hold i_s in swap mode * Only draw `holdCount` holds * bump room version hold i_s is not back-compatible
This commit is contained in:
@@ -28,7 +28,7 @@ function bot_cc:checkDest(b2b,atk,exblock,yomi)
|
||||
return
|
||||
end
|
||||
end
|
||||
local should_spawn = self.P:getNextSpawn() - 1
|
||||
local should_spawn = self.P:getSpawnY(self.P.nextQueue[1]) - 1
|
||||
if dest.spawn ~= should_spawn then
|
||||
assert(dest.spawn > should_spawn)
|
||||
-- print('wrong spawn: should be '..dest.spawn..' but '..should_spawn)
|
||||
@@ -104,7 +104,7 @@ function bot_cc:updateField()
|
||||
F[i],i=F0[y][x]>0,i+1
|
||||
end end
|
||||
while i<=400 do F[i],i=false,i+1 end
|
||||
local y = P:getNextSpawn()-1
|
||||
local y = P:getSpawnY(P.nextQueue[1])-1
|
||||
if not pcall(self.ccBot.reset,self.ccBot,F,P.b2b,P.combo,P.stat.pc,P.stat.row,y) then
|
||||
print("CC is dead ("..P.id..")","error")
|
||||
for y=#F0,1,-1 do
|
||||
|
||||
Reference in New Issue
Block a user