1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 09:27:40 +00:00

improved the Land of Storms in geometries

This commit is contained in:
Zeno Rogue
2017-11-03 21:51:08 +01:00
parent 1d2adc3a0a
commit 3504307cfb
3 changed files with 57 additions and 5 deletions

View File

@@ -321,6 +321,13 @@ void wandering() {
cell *c = dcal[i];
if(inmirror(c)) continue;
if(specialland == laStorms) {
// place the sandstone wall completely randomly (but not on the player)
vector<cell*>& ac = currentmap->allcells();
c = ac[hrand(size(ac))];
if(isPlayerOn(c)) continue;
}
if(smallbounded && !c->item && hrand(5) == 0 && c->land != laHalloween) {
if(passable(c, NULL, 0) || specialland == laKraken) {
if(!haveOrbPower() && specialland != laHell) for(int it=0; it<1000 && !c->item; it++)