Fix group attack for slime, zombie and zombiepig

This commit is contained in:
Wuzzy 2019-03-09 01:50:00 +01:00
parent f3b4c56772
commit 47ef78bf6a
5 changed files with 20 additions and 10 deletions

View file

@ -65,8 +65,8 @@ local zombie = {
fear_height = 4,
pathfinding = 1,
jump = true,
--jump_height = 3,
group_attack = true,
jump_height = 4,
group_attack = { "mobs_mc:zombie", "mobs_mc:baby_zombie", "mobs_mc:husk", "mobs_mc:baby_husk" },
drops = drops_zombie,
animation = {
speed_normal = 25, speed_run = 50,
@ -75,7 +75,6 @@ local zombie = {
run_start = 0, run_end = 40,
},
lava_damage = 4,
-- TODO: Burn mob only when in direct sunlight
sunlight_damage = 2,
view_range = 16,
attack_type = "dogfight",