From 5f1f4e19bb05b47fbdf132705b3eeab829daefec Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 14 Aug 2017 21:56:03 +0200 Subject: [PATCH] more Orbs in the Chaos Mode --- landgen.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/landgen.cpp b/landgen.cpp index 1e2ca00d..70e344ab 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -1119,8 +1119,10 @@ void placeLocalOrbs(cell *c) { continue; if(!oi.lchance) continue; int ch = hrand(oi.lchance); + if(ch == 1 && chaosmode && hrand(2) == 0 && items[treasureType(oi.l)] * landMultiplier(oi.l) >= (11+hrand(15))) + ch = 0; if(tactic::trailer && ch < 5) ch = 0; - if(ch == 0 && items[treasureType(oi.l)] * landMultiplier(oi.l) >= 10) { + if(ch == 0 && items[treasureType(oi.l)] * landMultiplier(oi.l) >= (chaosmode ? 1+hrand(10) : 10)) { // printf("local orb\n"); c->item = oi.orb; if(oi.orb == itOrbWater && c->land != laOcean) c->wall = waStrandedBoat;