mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Add minimum pvp knockbacks to other meele weapons
This commit is contained in:
parent
ff882707de
commit
76bff2b540
@ -304,6 +304,8 @@ function minetest.calculate_knockback(player, hitter, time_from_last_punch, tool
|
||||
-- add minimum knockback
|
||||
if knockback <= 1.5 then
|
||||
knockback = knockback + 4.875
|
||||
elseif knockback <= 6.19 then
|
||||
knockback = knockback + 0.609375
|
||||
end
|
||||
end
|
||||
-- add player velocity to knockback
|
||||
|
Loading…
Reference in New Issue
Block a user