Commit 82ea2241 authored by Milan's avatar Milan

tweak pig_evil

parent 6130294f
local pigdef = { local pigdef = {
type = "monster", type = "monster",
passive = true, passive = false,
reach = 3, reach = 3,
damage = 2, damage = 12,
attack_type = "dogfight", attack_type = "explode",
explosion_radius = 2, explosion_radius = 4,
hp_min = 12, hp_min = 62,
hp_max = 22, hp_max = 125,
armor = 130, armor = 130,
collisionbox = {-0.4, 0, -0.4, 0.4, 1, 0.4}, collisionbox = {-0.4, 0, -0.4, 0.4, 1, 0.4},
visual = "mesh", visual = "mesh",
...@@ -64,10 +64,10 @@ local pigdef = { ...@@ -64,10 +64,10 @@ local pigdef = {
end, end,
} }
if dmobs.destructive then --if dmobs.destructive then
pigdef.sounds.explode = "tnt_explode" pigdef.sounds.explode = "tnt_explode"
pigdef.attack_type = "explode" pigdef.attack_type = "explode"
end --end
mobs:register_mob("dmobs:pig_evil", pigdef) mobs:register_mob("dmobs:pig_evil", pigdef)
......
...@@ -42,7 +42,7 @@ end ...@@ -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: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 if dmobs.dragons then
--mobs:register_spawn("dmobs:dragon2", {"default:pine_needles"}, 20, 10, 64000, 2, 31000) --mobs:register_spawn("dmobs:dragon2", {"default:pine_needles"}, 20, 10, 64000, 2, 31000)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment