v2.1.0: removed phantom piranha 'teleport away' line when out of FOV
This commit is contained in:
+1
-1
@@ -102,8 +102,8 @@ public class PhantomPiranha extends Piranha {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!outFOVCandidates.isEmpty()){
|
if (!outFOVCandidates.isEmpty()){
|
||||||
|
if (Dungeon.level.heroFOV[pos]) GLog.i(Messages.get(this, "teleport_away"));
|
||||||
ScrollOfTeleportation.appear(this, Random.element(outFOVCandidates));
|
ScrollOfTeleportation.appear(this, Random.element(outFOVCandidates));
|
||||||
GLog.i(Messages.get(this, "teleport_away"));
|
|
||||||
} else if (!inFOVCandidates.isEmpty()){
|
} else if (!inFOVCandidates.isEmpty()){
|
||||||
ScrollOfTeleportation.appear(this, Random.element(inFOVCandidates));
|
ScrollOfTeleportation.appear(this, Random.element(inFOVCandidates));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user