1
0
Fork 0

Return vertical knockback to previous commit to account for beginner players

This commit is contained in:
Eliy21 2023-11-18 06:17:16 +00:00
parent 0e320d3965
commit 1f18c6556a
1 changed files with 1 additions and 1 deletions

View File

@ -694,7 +694,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.5625
local up = 2.625
if die==true then
kb=kb*1.25