From 9c62b03daee6ccd657955a7a01644d75b1bdba9c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 1 May 2023 16:46:59 -0400 Subject: [PATCH] v2.1.0: removed phantom piranha 'teleport away' line when out of FOV --- .../shatteredpixeldungeon/actors/mobs/PhantomPiranha.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/PhantomPiranha.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/PhantomPiranha.java index 1748802db..cc62854cd 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/PhantomPiranha.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/PhantomPiranha.java @@ -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)); }