mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 12:19:18 +00:00
strengthened the Clearing walls
This commit is contained in:
parent
2ba4afc09a
commit
873c679c01
@ -1771,7 +1771,7 @@ EX void moreBigStuff(cell *c) {
|
||||
c->land = laClearing, c->wall = waNone; // , c->monst = moNone, c->item = itNone;
|
||||
}
|
||||
else if(d == 1 && !tactic::on && !eubinary)
|
||||
c->wall = waSmallTree, c->monst = moNone, c->item = itNone;
|
||||
c->wall = waSmallTree, c->monst = moNone, c->item = itNone, c->landparam = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1157,7 +1157,9 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
||||
(hrand(50+items[itMutant]/2+yendor::hardness()) < 30) ? (hrand(100) < 50 ? waBigTree : waSmallTree) : waNone;
|
||||
}
|
||||
if(d == 8) {
|
||||
if(hrand(doCross ?450:15000) < 20 + (2 * items[itMutant] + yendor::hardness()) && !safety) {
|
||||
bool ok = c->landparam == 0;
|
||||
forCellEx(c2, c) if(c2->landparam) ok = false;
|
||||
if(ok && hrand(doCross ?450:15000) < 20 + (2 * items[itMutant] + yendor::hardness()) && !safety) {
|
||||
if(!peace::on) c->item = itMutant;
|
||||
c->landparam = items[itMutant] + 5 + hrand(11);
|
||||
c->wall = waNone;
|
||||
@ -1165,7 +1167,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
||||
if(c->move(i) && (c->move(i)->wall == waBigTree || c->move(i)->wall == waSmallTree))
|
||||
c->move(i)->wall = waNone;
|
||||
}
|
||||
else if(hrand_monster(15000) < 20 + (2 * items[itMutant] + yendor::hardness()) && !safety) {
|
||||
else if(hrand_monster(15000) < 20 + (2 * items[itMutant] + yendor::hardness()) && ok && !safety) {
|
||||
// for the Yendor Challenge, use only Mutants
|
||||
if(!(yendor::on && yendor::clev().l == laMirror)) {
|
||||
c->monst = moForestTroll;
|
||||
|
Loading…
Reference in New Issue
Block a user