forked from VoxeLibre/VoxeLibre
Rebalance minimum pvp knockback to account for added knockbacks when moving
This commit is contained in:
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
|
||||
|
|
Loading…
Reference in New Issue