修复cc落块与期望不符的时候有个调试用print会报错
This commit is contained in:
@@ -11,8 +11,8 @@ function bot_cc:checkDest(b2b,atk,exblock,yomi)
|
||||
local dest=self.P.destFX
|
||||
if not dest then return end
|
||||
if not (dest.b2b==b2b and dest.attack==atk and dest.extra==exblock) then
|
||||
print('hope: '..dest.b2b..' '..dest.attack..' '..dest.extra)
|
||||
print('real: '..b2b..' '..atk..' '..exblock)
|
||||
print(('hope: %s %s %s'):format(dest.b2b,dest.attack,dest.extra))
|
||||
print(('real: %s %s %s'):format(b2b,atk,exblock))
|
||||
print(yomi)
|
||||
self:lockWrongPlace()
|
||||
self.P.destFX=nil
|
||||
|
||||
Reference in New Issue
Block a user