From 0065f160d0934cc51b667597968d253984e428e1 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 27 May 2021 15:54:38 +0200 Subject: [PATCH] Land of Dice: balanced generation --- complex2.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/complex2.cpp b/complex2.cpp index 89de6258..0aa752a7 100644 --- a/complex2.cpp +++ b/complex2.cpp @@ -984,24 +984,24 @@ EX namespace dice { EX void generate_full(cell *c, int hard) { int pct = hrand(100); - int pct2 = hrand(4000); - if(pct < 1) { + int pct2 = hrand(6000); + if(pct < 3) { c->wall = waBlandDie; generate_specific(c, &d4, 0, 99); } - else if(pct < 3) { + else if(pct < 6) { c->wall = waBlandDie; generate_specific(c, &d8, 0, 1); } - else if(pct < 5) { + else if(pct < 9) { c->wall = waBlandDie; generate_specific(c, &d20, 0, 1); } - else if(pct < 9) { + else if(pct < 14) { c->wall = waRichDie; generate_specific(c, &d20, 4, 5); } - else if(pct < 10) { + else if(pct < 15) { c->wall = waRichDie; generate_specific(c, &d8, 2, 3); }