reduce knockback from 16 to 12
This commit is contained in:
parent
4b88dfe7b7
commit
0ec734517c
|
@ -205,7 +205,7 @@ minetest.register_craftitem("the_bridge:knockback_stick",{
|
|||
if not pointed_thing then return end
|
||||
if not minetest.is_player(pointed_thing.ref) then return end
|
||||
dir = user:get_look_dir()
|
||||
vel_vector = vector.multiply(dir,16)
|
||||
vel_vector = vector.multiply(dir,12)
|
||||
vel_vector.y = (dir.y+1)*8
|
||||
pointed_thing.ref:add_player_velocity(vel_vector)
|
||||
end,
|
||||
|
|
Loading…
Reference in New Issue