v1.2.0: inter-level tele effects now work on non-locked boss floors

This commit is contained in:
Evan Debenham 2022-03-07 12:48:36 -05:00
parent dd34e08e5d
commit 81ebd0c940
3 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ public class ScrollOfPassage extends ExoticScroll {
identify();
if (Dungeon.bossLevel()) {
if (Dungeon.level.locked) {
GLog.w( Messages.get(ScrollOfTeleportation.class, "no_tele") );
return;

View File

@ -107,7 +107,7 @@ public class BeaconOfReturning extends Spell {
}
private void returnBeacon( Hero hero ){
if (Dungeon.bossLevel()) {
if (Dungeon.level.locked) {
GLog.w( Messages.get(this, "preventing") );
return;
}

View File

@ -53,7 +53,7 @@ public class Fadeleaf extends Plant {
if (((Hero) ch).subClass == HeroSubClass.WARDEN){
if (Dungeon.bossLevel()) {
if (Dungeon.level.locked) {
GLog.w( Messages.get(ScrollOfTeleportation.class, "no_tele") );
return;