v3.1.0: fixed Tengu not jumping anymore if he can't see an enemy

This commit is contained in:
Evan Debenham
2025-04-13 12:11:33 -04:00
parent 92e553fb3e
commit 5212e1818a

View File

@@ -246,7 +246,7 @@ public class Tengu extends Mob {
}
if (enemy == null) enemy = chooseEnemy();
if (enemy == null) return;
if (enemy == null) enemy = Dungeon.hero; //jump away from hero if nothing else is being targeted
int newPos;
if (Dungeon.level instanceof PrisonBossLevel){