v0.2.3d: several tweaks to quest generation, should fix occasional crashing when using ankh on floors 1-9, and blacksmith rarely failing to spawn.
This commit is contained in:
@@ -59,10 +59,13 @@ public class CavesLevel extends RegularLevel {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void assignRoomType() {
|
||||
super.assignRoomType();
|
||||
|
||||
Blacksmith.Quest.spawn( rooms );
|
||||
protected boolean build() {
|
||||
if (!super.build()) return false;
|
||||
|
||||
if (!Blacksmith.Quest.spawn( rooms ) && Dungeon.depth == 14)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user