forked from VoxeLibre/VoxeLibre
Make zombie pigs and skeletons (+variants) wear armor (fixes #3169)
This commit is contained in:
parent
6c99a63419
commit
28ab4f8046
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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" },
|
||||||
|
|
Loading…
Reference in New Issue