Add bow shooting sound when mob fires an arrow

This commit is contained in:
Wuzzy 2018-09-14 16:05:47 +02:00
parent 077cd14f4f
commit 26a5059cc0
2 changed files with 6 additions and 0 deletions

View File

@ -35,6 +35,7 @@ local skeleton = {
random = "mobs_mc_skeleton_random",
death = "mobs_mc_skeleton_death",
damage = "mobs_mc_skeleton_hurt",
shoot_attack = "mcl_bows_bow_shoot",
distance = 16,
},
walk_velocity = 1.2,

View File

@ -23,6 +23,11 @@ mobs:register_mob("mobs_mc:illusioner", {
"mobs_mc_illusionist.png", --hat
"mcl_bows_bow.png",
}, },
sounds = {
-- TODO: more sounds
shoot_attack = "mcl_bows_bow_shoot",
distance = 16,
},
visual_size = {x=3, y=3},
walk_velocity = 0.6,
run_velocity = 2,