Set trap odds correctly.
This commit is contained in:
parent
5ae6e9f89c
commit
77a6129e00
1 changed files with 1 additions and 1 deletions
|
@ -518,7 +518,7 @@ fun_caves.dungeon = function(minp_in, maxp_in, data, p2data, area, node, heightm
|
|||
if not leave_alone[data[ivm]] then
|
||||
if ry == 0 and (cy > 0 or not centered_in) then
|
||||
if content[cx][cy][cz] == 'room' then
|
||||
local r = math.random(100)
|
||||
local r = math.random(1000)
|
||||
if r == 1 then
|
||||
data[ivm] = node['fun_caves:stone_with_gold_trap']
|
||||
elseif r == 2 then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue