新增可变场地高度

This commit is contained in:
MrZ626
2021-03-02 01:17:03 +08:00
parent ea2db5da95
commit fa1cebca2d
4 changed files with 10 additions and 7 deletions

View File

@@ -533,7 +533,7 @@ function Player.resetBlock(P)
local sc=P.cur.sc
local id=P.cur.id
P.curX=int(6-#B[1]*.5)
local y=int(21-modf(sc[1]))+ceil(P.fieldBeneath/30)
local y=int(P.gameEnv.fieldH+1-modf(sc[1]))+ceil(P.fieldBeneath/30)
P.curY=y
P.minY=y+sc[1]