forked from VoxeLibre/VoxeLibre
Return vertical knockback to previous commit to account for beginner players
This commit is contained in:
parent
0e320d3965
commit
1f18c6556a
|
@ -694,7 +694,7 @@ function mob_class:on_punch(hitter, tflp, tool_capabilities, dir)
|
||||||
if not v then return end
|
if not v then return end
|
||||||
local r = 1.4 - math.min(punch_interval, 1.4)
|
local r = 1.4 - math.min(punch_interval, 1.4)
|
||||||
local kb = r * (math.abs(v.x)+math.abs(v.z))
|
local kb = r * (math.abs(v.x)+math.abs(v.z))
|
||||||
local up = 2.5625
|
local up = 2.625
|
||||||
|
|
||||||
if die==true then
|
if die==true then
|
||||||
kb=kb*1.25
|
kb=kb*1.25
|
||||||
|
|
Loading…
Reference in New Issue