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 32a60c888b
commit a379768ba4
3 changed files with 3 additions and 0 deletions

View file

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

View file

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

View file

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