修复cc落块与期望不符的时候有个调试用print会报错

This commit is contained in:
MrZ_26
2022-07-24 02:08:49 +08:00
parent ecb64a112f
commit 946d2012c7

View File

@@ -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