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

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

@@ -1,6 +1,6 @@
local function check_rise(P)
for _=1,math.min(8,100-P.stat.dig)-P.garbageBeneath do
P:garbageRise(13,1,P:RND(10))
P:garbageRise(13,1,P:getHolePos())
end
if P.stat.dig==100 then
P:win("finish")
@@ -18,7 +18,7 @@ return{
PLY.newPlayer(1,340,15)
local P=PLAYERS[1]
for _=1,10 do
P:garbageRise(13,1,P:RND(10))
P:garbageRise(13,1,P:getHolePos())
end
P.fieldBeneath=0
end,