修复晃动特效开大了20g模式会颠到吐

This commit is contained in:
MrZ_26
2024-11-04 11:01:05 +08:00
parent f6e7e993f5
commit 201ec079d6

View File

@@ -1023,7 +1023,7 @@ function Player:freshBlockGhost()
if self.curY>self.ghoY then
self:createDropFX()
if ENV.shakeFX then
self.swingOffset.vy=.5
self.swingOffset.vy=MATH.clamp((self.curY-self.ghoY-2.6)/10,0,0.626)
end
self.curY=self.ghoY
end