Orb of Empathy works correctly with Orb of the Fish now

This commit is contained in:
Zeno Rogue committed 2019-02-06 18:48:52 +01:00
1 parent dabadb0cf4
commit 213cd2febf
2 files changed
+3 -2

No files matched your search

+1 -1
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);