forked from VoxeLibre/VoxeLibre
Reduce knockback floatiness
This commit is contained in:
parent
107fb0b082
commit
5ebe9f549b
|
@ -680,7 +680,7 @@ function mob_class:on_punch(hitter, tflp, tool_capabilities, dir)
|
|||
if not v then return end
|
||||
local r = 1.4 - math.min(punch_interval, 1.4)
|
||||
local kb = r * (math.abs(v.x)+math.abs(v.z))
|
||||
local up = 2.75
|
||||
local up = 2.5
|
||||
|
||||
if die==true then
|
||||
kb=kb*2
|
||||
|
|
Loading…
Reference in New Issue