挖掘模式也使用独立规则包,可以对战使用
This commit is contained in:
@@ -1,22 +1,8 @@
|
||||
local function check_rise(P)
|
||||
for _=1,math.min(10,40-P.stat.dig)-P.garbageBeneath do
|
||||
P:garbageRise(21,1,P:getHolePos())
|
||||
end
|
||||
if P.stat.dig==40 then
|
||||
P:win('finish')
|
||||
end
|
||||
end
|
||||
|
||||
return{
|
||||
color=COLOR.lBlue,
|
||||
env={
|
||||
pushSpeed=6,
|
||||
dropPiece=check_rise,
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
mStr(40-P.stat.dig,63,265)
|
||||
end,
|
||||
eventSet='digBase',
|
||||
eventSet='dig_40L',
|
||||
bg='bg1',bgm='way',
|
||||
},
|
||||
score=function(P)return{P.stat.time,P.stat.piece}end,
|
||||
|
||||
Reference in New Issue
Block a user