1
0
Fork 0

Tweak arrow speed and damage from dispensers

This commit is contained in:
Wuzzy 2017-02-21 22:57:46 +01:00
parent 878888b051
commit 89e3115753
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ local dispenserdef = {
-- Shoot arrow -- Shoot arrow
local shootpos = vector.add(pos, vector.multiply(dropdir, 0.51)) local shootpos = vector.add(pos, vector.multiply(dropdir, 0.51))
local yaw = math.atan2(dropdir.z, dropdir.x) - math.pi/2 local yaw = math.atan2(dropdir.z, dropdir.x) - math.pi/2
mcl_throwing.shoot_arrow(iname, shootpos, dropdir, yaw, nil) mcl_throwing.shoot_arrow(iname, shootpos, dropdir, yaw, nil, 19, 3)
stack:take_item() stack:take_item()
inv:set_stack("main", stack_id, stack) inv:set_stack("main", stack_id, stack)