Dungeon Dilettante
Posts: 2
Joined: Tuesday, 29th April 2014, 15:17
Modifying chance of portal generation?
I also noticed this line in the lab.des file.
- Code:
# (Jan 2010) With the reduction in placement of Labyrinths to 10-20 (roughly
# across 24 levels) and changing to game-unique, chance of NOT having a
# Labyrinth was (1-285/10^4)^24 = ~49%. Increasing chance to 5% gives you
# (1-500/10^4)^24 = ~29% chance of NOT placing a Labyrinth, ~71% chance
# of getting a Labyrinth every game, skewed towards earlier depths.
My pefect solution would be to modify Wizlabs so that there was always a 100% chance of receiving one, assuming I explored every level they could spawn on. This line about labyrinths makes it seem like that is possible to code, but I'm not sure where to find the appropriate lines to modify. Any guidance?
Thanks!