1
0
Fork 0

Adjust the difference between sprinting & walking knockbacks for a more seemless transition

fix_pumpkin_typo_pumkin
Eliy21 2023-12-19 17:19:09 +00:00
parent 76bff2b540
commit e19de85990
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ function minetest.calculate_knockback(player, hitter, time_from_last_punch, tool
if dir_dot > 0 and mcl_sprint.is_sprinting(h_name) then
knockback = knockback + hitter_mag * 0.6875
elseif dir_dot > 0 then
knockback = knockback + hitter_mag * 0.34375
knockback = knockback + hitter_mag * 0.515625
end
-- reduce floatiness
minetest.after(0.25, function()