V0.2.1 : Unblessed Ankh will now only reset a boss level when the level is locked.

This commit is contained in:
Evan Debenham
2014-10-13 03:19:35 -04:00
parent dd2ddf6f81
commit 0e0faecc25
6 changed files with 21 additions and 0 deletions
@@ -176,6 +176,7 @@ public class CityBossLevel extends Level {
if (!enteredArena && outsideEntraceRoom( cell ) && hero == Dungeon.hero) {
enteredArena = true;
locked = true;
Mob boss = Bestiary.mob( Dungeon.depth );
boss.state = Mob.State.HUNTING;
@@ -199,6 +200,7 @@ public class CityBossLevel extends Level {
if (!keyDropped && item instanceof SkeletonKey) {
keyDropped = true;
locked = false;
set( arenaDoor, Terrain.DOOR );
GameScene.updateMap( arenaDoor );