v0.9.1b: scrolls of teleportation not longer spend a turn on boss floors
This commit is contained in:
+2
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user