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