v0.3.0b: corrected teleportation working in goo level, also mildly refactored cursed wand teleport effect
This commit is contained in:
parent
5751e5a89b
commit
ed48a40c09
|
@ -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();
|
||||
|
|
|
@ -237,6 +237,12 @@ public class SewerBossLevel extends RegularLevel {
|
|||
drop( item, pos ).type = Heap.Type.REMAINS;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int randomRespawnCell() {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
public void seal() {
|
||||
if (entrance != 0) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user