把cc的几个print注释掉
This commit is contained in:
@@ -22,7 +22,7 @@ function bot_cc:checkDest(b2b,atk,exblock,yomi)
|
|||||||
for k=1,#dest,2 do
|
for k=1,#dest,2 do
|
||||||
local r=CB[dest[k+1]-self.P.curY+2]
|
local r=CB[dest[k+1]-self.P.curY+2]
|
||||||
if not r or not r[dest[k]-self.P.curX+2] then
|
if not r or not r[dest[k]-self.P.curX+2] then
|
||||||
print('wrong place')
|
-- print('wrong place')
|
||||||
self:lockWrongPlace()
|
self:lockWrongPlace()
|
||||||
self.P.destFX=nil
|
self.P.destFX=nil
|
||||||
return
|
return
|
||||||
@@ -31,8 +31,8 @@ function bot_cc:checkDest(b2b,atk,exblock,yomi)
|
|||||||
local should_spawn = self.P:getNextSpawn() - 1
|
local should_spawn = self.P:getNextSpawn() - 1
|
||||||
if dest.spawn ~= should_spawn then
|
if dest.spawn ~= should_spawn then
|
||||||
assert(dest.spawn > should_spawn)
|
assert(dest.spawn > should_spawn)
|
||||||
print('wrong spawn: should be '..dest.spawn..' but '..should_spawn)
|
-- print('wrong spawn: should be '..dest.spawn..' but '..should_spawn)
|
||||||
print('-- should only happen when camera is going down')
|
-- print('-- should only happen when camera is going down')
|
||||||
self:lockWrongPlace()
|
self:lockWrongPlace()
|
||||||
self.P.destFX=nil
|
self.P.destFX=nil
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user