tweak pig_evil

This commit is contained in:
Milan 2019-01-18 19:31:34 +01:00
parent 6130294ff6
commit 82ea224187
2 changed files with 9 additions and 9 deletions

View File

@ -1,12 +1,12 @@
local pigdef = {
type = "monster",
passive = true,
passive = false,
reach = 3,
damage = 2,
attack_type = "dogfight",
explosion_radius = 2,
hp_min = 12,
hp_max = 22,
damage = 12,
attack_type = "explode",
explosion_radius = 4,
hp_min = 62,
hp_max = 125,
armor = 130,
collisionbox = {-0.4, 0, -0.4, 0.4, 1, 0.4},
visual = "mesh",
@ -64,10 +64,10 @@ local pigdef = {
end,
}
if dmobs.destructive then
--if dmobs.destructive then
pigdef.sounds.explode = "tnt_explode"
pigdef.attack_type = "explode"
end
--end
mobs:register_mob("dmobs:pig_evil", pigdef)

View File

@ -42,7 +42,7 @@ end
--mobs:register_spawn("dmobs:dragon", {"default:leaves","default:dirt_with_grass"}, 20, 10, 64000, 2, 31000)
mobs:register_spawn("dmobs:pig_evil", {"group:leaves"}, 20, 10, 32000, 510, 2000)
mobs:register_spawn("dmobs:pig_evil", {"group:leaves"}, 20, 10, 2000, 510, 2000)
if dmobs.dragons then
--mobs:register_spawn("dmobs:dragon2", {"default:pine_needles"}, 20, 10, 64000, 2, 31000)