修复晃动特效开大了20g模式会颠到吐
This commit is contained in:
@@ -1023,7 +1023,7 @@ function Player:freshBlockGhost()
|
|||||||
if self.curY>self.ghoY then
|
if self.curY>self.ghoY then
|
||||||
self:createDropFX()
|
self:createDropFX()
|
||||||
if ENV.shakeFX then
|
if ENV.shakeFX then
|
||||||
self.swingOffset.vy=.5
|
self.swingOffset.vy=MATH.clamp((self.curY-self.ghoY-2.6)/10,0,0.626)
|
||||||
end
|
end
|
||||||
self.curY=self.ghoY
|
self.curY=self.ghoY
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user