Make zombie pigs and skeletons (+variants) wear armor (fixes #3169)

This commit is contained in:
Mikita Wiśniewski 2023-04-16 21:03:23 +07:00
parent 6c99a63419
commit 28ab4f8046
3 changed files with 3 additions and 0 deletions

@ -21,6 +21,7 @@ local skeleton = {
xp_min = 6,
xp_max = 6,
breath_max = -1,
wears_armor = 1,
armor = {undead = 100, fleshy = 100},
collisionbox = {-0.3, -0.01, -0.3, 0.3, 1.98, 0.3},
pathfinding = 1,

@ -18,6 +18,7 @@ mcl_mobs.register_mob("mobs_mc:witherskeleton", {
xp_min = 6,
xp_max = 6,
breath_max = -1,
wears_armor = 1,
armor = {undead = 100, fleshy = 100},
pathfinding = 1,
group_attack = true,

@ -20,6 +20,7 @@ local pigman = {
hp_max = 20,
xp_min = 6,
xp_max = 6,
wears_armor = 1,
armor = {undead = 90, fleshy = 90},
attack_type = "dogfight",
group_attack = { "mobs_mc:pigman", "mobs_mc:baby_pigman" },