挖掘相关模式垃圾行尽量不出在同一列

This commit is contained in:
MrZ626
2020-10-26 08:57:41 +08:00
parent 68c8ce48bb
commit 051307d4d7
7 changed files with 20 additions and 9 deletions

View File

@@ -1601,6 +1601,17 @@ function player.attack(P,R,send,time,...)
end
end
function player.getHolePos(P)
if P.garbageBeneath==0 then
return P:RND(10)
else
local p=P:RND(10)
if P.field[1][p]>0 then
return P:RND(10)
end
return p
end
end
function player.garbageRelease(P)
local n,flag=1
while true do