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

Orb of Empathy works correctly with Orb of the Fish now

This commit is contained in:
Zeno Rogue
2019-01-02 16:21:17 +01:00
parent dabadb0cf4
commit 213cd2febf
2 changed files with 3 additions and 2 deletions

View File

@@ -3048,7 +3048,7 @@ void bfs() {
targets.push_back(c2);
}
else if(isFriendly(c2)) {
if(c2->monst != moMouse && !markEmpathy(itOrbInvis) &&
if(c2->monst != moMouse && !markEmpathy(itOrbInvis) && !(isWatery(c2) && markEmpathy(itOrbFish)) &&
!c2->stuntime) targets.push_back(c2);
if(c2->monst == moGolem) golems.push_back(c2);
if(c2->monst == moFriendlyGhost) golems.push_back(c2);