#252 Reduce zombipigs spawn in portal frames rate

This commit is contained in:
kay27 2022-03-14 03:05:32 +04:00
parent 37ff5f15bd
commit 6d27d5b5af
1 changed files with 1 additions and 1 deletions

View File

@ -746,7 +746,7 @@ minetest.register_abm({
return
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")
if pigman_obj then
teleport_cooloff(pigman_obj)