新增das打断设置

This commit is contained in:
MrZ626
2020-12-09 14:21:00 +08:00
parent 106b2a7a98
commit f63db4dd19
9 changed files with 21 additions and 14 deletions

View File

@@ -531,6 +531,11 @@ function Player.resetBlock(P)
end
end
--DAS cut
if P.gameEnv.dascut>0 then
P.moving=P.moving-(P.moving>0 and 1 or -1)*P.gameEnv.dascut
end
--Spawn SFX
if P.sound and id<8 then
SFX.fplay(spawnSFX_name[id],SETTING.spawn)