mesDisp加入eventSet
eventSet中的规则不在覆盖,而是全部同时生效 调整部分模式的信息显示 自定义游戏可以选择部分eventSet 整理代码 警告:可能部分模式有问题,需要测试
This commit is contained in:
20
parts/eventsets/tsd_e.lua
Normal file
20
parts/eventsets/tsd_e.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
return{
|
||||
mesDisp=function(P)
|
||||
setFont(60)
|
||||
mStr(P.modeData.tsd,63,250)
|
||||
mText(drawableText.tsd,63,315)
|
||||
end,
|
||||
dropPiece=function(P)
|
||||
local C=P.lastPiece
|
||||
if C.row>0 then
|
||||
if C.id==5 and C.row==2 and C.spin then
|
||||
P.modeData.tsd=P.modeData.tsd+1
|
||||
else
|
||||
P:lose()
|
||||
end
|
||||
end
|
||||
end,
|
||||
task=function(P)
|
||||
P.modeData.history={}
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user