making Terracotta harder at high levels

This commit is contained in:
Zeno Rogue 2017-10-15 22:56:38 +02:00
parent a45b32d2c8
commit a9f96a69e7
1 changed files with 4 additions and 0 deletions

View File

@ -815,6 +815,10 @@ void giantLandSwitch(cell *c, int d, cell *from) {
if(pseudohept(c) && hrand(100) < 40 && c->wall == waNone) {
c->wall = waTerraWarrior;
c->landparam = randterra ? 0 : 3 + hrand(3);
if(hrand(100) > items[itTerra]-10)
c->landparam--;
if(hrand(100) > items[itTerra]-10)
c->landparam--;
}
}
ONEMPTY {