Rebalance minimum pvp knockback to account for added knockbacks when moving

This commit is contained in:
Eliy21 2023-12-14 08:51:34 +00:00
parent ed507d8509
commit 49af5d2013

@ -293,7 +293,7 @@ function minetest.calculate_knockback(player, hitter, time_from_last_punch, tool
})
-- add minimum knockback
if knockback <= 1.5 then
knockback = knockback + 6
knockback = knockback + 4.5
end
end
-- add player velocity to knockback