v0.9.1b: scrolls of teleportation not longer spend a turn on boss floors

This commit is contained in:
Evan Debenham 2020-12-23 00:36:22 -05:00
parent d44dbc04f1
commit 0a1b672685

View File

@ -59,8 +59,10 @@ public class ScrollOfTeleportation extends Scroll {
teleportPreferringUnseen( curUser );
identify();
if (!Dungeon.bossLevel()) {
readAnimation();
}
}
public static void teleportToLocation(Hero hero, int pos){
PathFinder.buildDistanceMap(pos, BArray.or(Dungeon.level.passable, Dungeon.level.avoid, null));