1
0
Fork 0

Add minimum unenchanted knockback to bow

fix_pumpkin_typo_pumkin
Eliy21 2023-12-17 19:59:18 +00:00
parent 8612350fa7
commit 6d7ae8ba2d
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ function mcl_bows.shoot_arrow(arrow_item, pos, dir, yaw, shooter, power, damage,
end end
if enchantments.punch then if enchantments.punch then
knockback = enchantments.punch * 21 knockback = enchantments.punch * 21
else
knockback = 4.875
end end
if enchantments.flame then if enchantments.flame then
mcl_burning.set_on_fire(obj, math.huge) mcl_burning.set_on_fire(obj, math.huge)