Skip to content
Snippets Groups Projects
Commit 82ea2241 authored by Milan's avatar Milan
Browse files

tweak pig_evil

parent 6130294f
No related branches found
No related tags found
No related merge requests found
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)
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment