Adjust dungeon spawns.

This commit is contained in:
Duane 2016-08-03 07:32:37 -05:00
parent 3fe63e8fd8
commit 2ae0d2f2a1
2 changed files with 31 additions and 30 deletions

View file

@ -404,7 +404,7 @@ minetest.register_abm({
end
end
local target_level = math.max(2, math.ceil(pos.y / -2000))
local target_level = math.max(2, math.ceil((pos.y - 3 ^ math.random(9)) / -2000))
local desc
for i = 1, 100 do