forked from MineClone5/MineClone5
#252 Reduce zombipigs spawn in portal frames rate
This commit is contained in:
parent
37ff5f15bd
commit
6d27d5b5af
|
@ -746,7 +746,7 @@ minetest.register_abm({
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if lower_node_name == OBSIDIAN and pos.y >= mcl_mapgen.overworld.min and random(1, 200) == 19 then
|
if lower_node_name == OBSIDIAN and pos.y >= mcl_mapgen.overworld.min and random(1, 750) == 19 then
|
||||||
local pigman_obj = minetest.add_entity(pos, "mobs_mc:pigman")
|
local pigman_obj = minetest.add_entity(pos, "mobs_mc:pigman")
|
||||||
if pigman_obj then
|
if pigman_obj then
|
||||||
teleport_cooloff(pigman_obj)
|
teleport_cooloff(pigman_obj)
|
||||||
|
|
Loading…
Reference in New Issue