forked from VoxeLibre/VoxeLibre
fix skeletons and wolves behavior
This commit is contained in:
parent
7bfbaac772
commit
0d6db95a9e
|
@ -46,6 +46,7 @@ local skeleton = {
|
|||
},
|
||||
walk_velocity = 1.2,
|
||||
run_velocity = 2.0,
|
||||
runaway_from = {"mobs_mc:wolf"},
|
||||
damage = 2,
|
||||
reach = 2,
|
||||
drops = {
|
||||
|
|
|
@ -44,6 +44,7 @@ mcl_mobs.register_mob("mobs_mc:witherskeleton", {
|
|||
},
|
||||
walk_velocity = 1.2,
|
||||
run_velocity = 2.0,
|
||||
runaway_from = {"mobs_mc:wolf"},
|
||||
damage = 7,
|
||||
reach = 2,
|
||||
drops = {
|
||||
|
|
|
@ -97,7 +97,15 @@ local wolf = {
|
|||
jump = true,
|
||||
attacks_monsters = true,
|
||||
attack_animals = true,
|
||||
specific_attack = { "player", "mobs_mc:sheep" },
|
||||
specific_attack = {
|
||||
"player",
|
||||
"mobs_mc:sheep",
|
||||
"mobs_mc:rabbit",
|
||||
-- TODO: "mobs_mc:fox",
|
||||
"mobs_mc:skeleton",
|
||||
"mobs_mc:stray",
|
||||
"mobs_mc:witherskeleton",
|
||||
},
|
||||
}
|
||||
|
||||
mcl_mobs.register_mob("mobs_mc:wolf", wolf)
|
||||
|
|
Loading…
Reference in New Issue