挖掘模式也使用独立规则包,可以对战使用
This commit is contained in:
20
parts/eventsets/dig_100l.lua
Normal file
20
parts/eventsets/dig_100l.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
return{
|
||||
mesDisp=function(P)
|
||||
setFont(55)
|
||||
mStr(100-P.stat.dig,63,265)
|
||||
end,
|
||||
dropPiece=function(P)
|
||||
for _=1,math.min(100,100-P.stat.dig)-P.garbageBeneath do
|
||||
P:garbageRise(21,1,P:getHolePos())
|
||||
end
|
||||
if P.stat.dig==100 then
|
||||
P:win('finish')
|
||||
end
|
||||
end,
|
||||
task=function(P)
|
||||
for _=1,10 do
|
||||
P:garbageRise(21,1,P:getHolePos())
|
||||
end
|
||||
P.fieldBeneath=0
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user