mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-05-08 00:01:24 +00:00
Ivy can now grow through single-tile wide chasms
This commit is contained in:
@@ -240,6 +240,7 @@ EX void computePathdist(eMonster param, bool include_allies IS(true)) {
|
||||
cell *c2 = cw1.peek();
|
||||
|
||||
flagtype f = P_MONSTER;
|
||||
if(param == moIvyRoot) f |= P_IVY;
|
||||
if(param == moTameBomberbird) f |= P_FLYING | P_ISFRIEND;
|
||||
if(isPrincess(param)) f |= P_ISFRIEND | P_USEBOAT | P_CHAIN;
|
||||
if(param == moGolem) f |= P_ISFRIEND;
|
||||
@@ -251,7 +252,7 @@ EX void computePathdist(eMonster param, bool include_allies IS(true)) {
|
||||
|
||||
if(qb >= qtarg) {
|
||||
if(param == moTortoise && nogoSlow(c, c2)) continue;
|
||||
if(param == moIvyRoot && strictlyAgainstGravity(c, c2, false, MF_IVY)) continue;
|
||||
if(param == moIvyRoot && !ivy_passable(c, c2)) continue;
|
||||
if(param == moWorm && (cellUnstable(c) || cellEdgeUnstable(c) || prairie::no_worms(c))) continue;
|
||||
if(!isFriendly(param) && items[itOrbLava] && c2->cpdist <= 5 && pseudohept(c) && makeflame(c2, 1, true))
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user