Chaos variant of the Prairie

This commit is contained in:
Zeno Rogue 2019-05-27 07:17:53 +02:00
parent 2b1aebb9b4
commit 2402dfeac9
1 changed files with 10 additions and 0 deletions

View File

@ -168,6 +168,16 @@ void giantLandSwitch(cell *c, int d, cell *from) {
switch(c->land) {
case laPrairie: // -------------------------------------------------------------
if(d == 7 && chaosmode) {
if(hrand_monster(9000) < items[itGreenGrass] - (prairie::isriver(cwt.at) ? 40 : 0))
c->monst = moGadfly;
if(hrand_monster(100) < 5) c->monst = moSleepBull;
if(hrand(800) < 10) {
c->item = itGreenGrass;
}
return;
}
#if CAP_FIELD
if(d == 7) {