v2.1.0: removed phantom piranha 'teleport away' line when out of FOV

This commit is contained in:
Evan Debenham
2023-05-01 16:46:59 -04:00
parent ed70f7617e
commit 9c62b03dae

View File

@@ -102,8 +102,8 @@ public class PhantomPiranha extends Piranha {
}
if (!outFOVCandidates.isEmpty()){
if (Dungeon.level.heroFOV[pos]) GLog.i(Messages.get(this, "teleport_away"));
ScrollOfTeleportation.appear(this, Random.element(outFOVCandidates));
GLog.i(Messages.get(this, "teleport_away"));
} else if (!inFOVCandidates.isEmpty()){
ScrollOfTeleportation.appear(this, Random.element(inFOVCandidates));
}