From 05d97dd01402aa06262ed933827cd74ec31515cb Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 5 Oct 2019 18:47:07 +0200 Subject: [PATCH] free Orbs of Safety in the Land of Eternal Motion in Orb Strategy Chaos Mode (combo) --- landgen.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/landgen.cpp b/landgen.cpp index 29e8dcd6..ef80f51c 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -2200,6 +2200,9 @@ EX void giantLandSwitch(cell *c, int d, cell *from) { chasmify(c); c->wall = shmup::on ? waNone : waChasm; } + int cmf[5] = {0, 1, 3, 5, 10}; + if(inv::on && chaosmode && items[itFeather] && hrand(1000) < cmf[chaosmode] && !c->item && !c->monst) + c->item = itOrbSafety; } break;