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

world turtles

This commit is contained in:
Zeno Rogue
2020-03-02 03:06:15 +01:00
parent a9a5a0c9c2
commit 5e48af2bb3
5 changed files with 33 additions and 8 deletions

View File

@@ -2910,8 +2910,13 @@ EX void setdist(cell *c, int d, cell *from) {
c->item = itNone;
}
}
if(d == 7 && c->land == laMemory && hrand(100) < 5) {
c->wall = waTrapdoor, c->item = itOrbSafety;
if(d == 7 && c->land == laMemory) {
if(hrand(100) < 5) {
c->wall = waTrapdoor, c->item = itOrbSafety;
}
else if(hrand(100) < 2) {
c->monst = moWorldTurtle, c->wall = waNone, c->hitpoints = 5;
}
}
}