Talk:Dungeon.def format

From NetHackWiki
Jump to: navigation, search

Does (10, 0) mean the same as (10, 1)? I think that (10, 0) is always 10. However, the code at dungeon.c#line728 seems to read: given (base, rand), put the level at rn1(base, rand), which I understand is base plus a random number from 0 to rand-1, so (10, 5) would be the range from 10 to 14, but (10, 1) would be the range from 10 to 10. It seems counterintuitive if (10, 1) is not a larger range than (10, 0) during random level placement. --Kernigh 15:39, 13 October 2007 (UTC)