v0.3.0b: corrected teleportation working in goo level, also mildly refactored cursed wand teleport effect

This commit is contained in:
Evan Debenham 2015-05-29 00:32:21 -04:00
parent 5751e5a89b
commit ed48a40c09
2 changed files with 7 additions and 1 deletions

View File

@ -301,7 +301,7 @@ public class CursedWand {
//inter-level teleportation
case 2:
if (Dungeon.depth > 1 && Dungeon.depth % 5 != 0) {
if (Dungeon.depth > 1 && !Dungeon.bossLevel()) {
Buff buff = Dungeon.hero.buff(TimekeepersHourglass.timeFreeze.class);
if (buff != null) buff.detach();

View File

@ -238,6 +238,12 @@ public class SewerBossLevel extends RegularLevel {
}
}
@Override
public int randomRespawnCell() {
return -1;
}
public void seal() {
if (entrance != 0) {