V0.2.1 : Unblessed Ankh will now only reset a boss level when the level is locked.
This commit is contained in:
@@ -167,6 +167,7 @@ public class HallsBossLevel extends Level {
|
||||
if (!enteredArena && hero == Dungeon.hero && cell != entrance) {
|
||||
|
||||
enteredArena = true;
|
||||
locked = true;
|
||||
|
||||
for (int i=ROOM_LEFT-1; i <= ROOM_RIGHT + 1; i++) {
|
||||
doMagic( (ROOM_TOP - 1) * WIDTH + i );
|
||||
@@ -205,6 +206,7 @@ public class HallsBossLevel extends Level {
|
||||
|
||||
if (!keyDropped && item instanceof SkeletonKey) {
|
||||
keyDropped = true;
|
||||
locked = false;
|
||||
|
||||
entrance = stairs;
|
||||
set( entrance, Terrain.ENTRANCE );
|
||||
|
||||
Reference in New Issue
Block a user