mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 12:01:06 +01:00
Add minimum unenchanted knockback to bow
This commit is contained in:
parent
8612350fa7
commit
6d7ae8ba2d
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ function mcl_bows.shoot_arrow(arrow_item, pos, dir, yaw, shooter, power, damage,
|
|||
end
|
||||
if enchantments.punch then
|
||||
knockback = enchantments.punch * 21
|
||||
else
|
||||
knockback = 4.875
|
||||
end
|
||||
if enchantments.flame then
|
||||
mcl_burning.set_on_fire(obj, math.huge)
|
||||
|
|
Loading…
Reference in a new issue