1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-03 16:30:15 +00:00

no Dragons in the herds, Worms only a few steps

This commit is contained in:
Zeno Rogue
2018-03-24 16:24:08 +01:00
parent e24ae3f717
commit 2ea4b1df04
2 changed files with 9 additions and 2 deletions

View File

@@ -794,6 +794,8 @@ bool passable_for(eMonster m, cell *w, cell *from, flagtype extra) {
return false;
return passable(w, from, extra);
}
if(m == moDragonHead && prairie::isriver(w))
return false;
if(isShark(m))
return sharkpassable(w, from);
if(isSlimeMover(m))
@@ -2779,7 +2781,7 @@ void computePathdist(eMonster param) {
if(qb >= qtarg) {
if(param == moTortoise && nogoSlow(c, c2)) continue;
if(param == moIvyRoot && strictlyAgainstGravity(c, c2, false, MF_IVY)) continue;
if(param == moWorm && (cellUnstable(c) || cellEdgeUnstable(c))) continue;
if(param == moWorm && (cellUnstable(c) || cellEdgeUnstable(c) || prairie::no_worms(c))) continue;
if(items[itOrbLava] && c2->cpdist <= 5 && pseudohept(c) && makeflame(c2, 1, true))
continue;
}