v1.2.0: inter-level tele effects now work on non-locked boss floors
This commit is contained in:
parent
dd34e08e5d
commit
81ebd0c940
|
@ -43,7 +43,7 @@ public class ScrollOfPassage extends ExoticScroll {
|
||||||
|
|
||||||
identify();
|
identify();
|
||||||
|
|
||||||
if (Dungeon.bossLevel()) {
|
if (Dungeon.level.locked) {
|
||||||
|
|
||||||
GLog.w( Messages.get(ScrollOfTeleportation.class, "no_tele") );
|
GLog.w( Messages.get(ScrollOfTeleportation.class, "no_tele") );
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -107,7 +107,7 @@ public class BeaconOfReturning extends Spell {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void returnBeacon( Hero hero ){
|
private void returnBeacon( Hero hero ){
|
||||||
if (Dungeon.bossLevel()) {
|
if (Dungeon.level.locked) {
|
||||||
GLog.w( Messages.get(this, "preventing") );
|
GLog.w( Messages.get(this, "preventing") );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,7 +53,7 @@ public class Fadeleaf extends Plant {
|
||||||
|
|
||||||
if (((Hero) ch).subClass == HeroSubClass.WARDEN){
|
if (((Hero) ch).subClass == HeroSubClass.WARDEN){
|
||||||
|
|
||||||
if (Dungeon.bossLevel()) {
|
if (Dungeon.level.locked) {
|
||||||
GLog.w( Messages.get(ScrollOfTeleportation.class, "no_tele") );
|
GLog.w( Messages.get(ScrollOfTeleportation.class, "no_tele") );
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user