1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-27 05:03:15 +00:00

Rose scent can now force the player's allies to walk into rosebushes

This commit is contained in:
Jesse Ruderman 2021-07-16 09:28:47 -07:00
parent bfe81feb2c
commit 1f88b87154

View File

@ -1596,8 +1596,8 @@ EX int movevalue(eMonster m, cell *c, int dir, flagtype flags) {
if(b) val = 50; if(b) val = 50;
else if(tk2 > tk) val += 1000 + 200 * (tk2 - tk); else if(tk2 > tk) val += 1000 + 200 * (tk2 - tk);
} }
else if(passable_for(m, c2, c, P_DEADLY)) val = -1100; else if(passable_for(m, c2, c, P_DEADLY)) return -1100;
else val = -1750; else return -1750;
if(c->monst == moGolem ) { if(c->monst == moGolem ) {
val -= c2->pathdist; val -= c2->pathdist;