mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 18:29:02 -06:00
New lock delay curve for Square
This commit is contained in:
parent
a820798e13
commit
44d0605fb7
@ -38,8 +38,7 @@ function SquareMode:getGravity()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function SquareMode:getLockDelay()
|
function SquareMode:getLockDelay()
|
||||||
if self:getGravity() <= 20 then return 30
|
return math.ceil(30 * 0.9998 ^ self.lines)
|
||||||
else return 30 - math.log(self:getGravity() - 20) end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function SquareMode:advanceOneFrame()
|
function SquareMode:advanceOneFrame()
|
||||||
|
Loading…
Reference in New Issue
Block a user