Tweak arrow speed and damage from dispensers
This commit is contained in:
parent
878888b051
commit
89e3115753
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user