tweak pig_evil
This commit is contained in:
parent
6130294ff6
commit
82ea224187
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user