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:
@@ -102,19 +102,14 @@ public class SewerLevel extends RegularLevel {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void createMobs() {
|
||||
super.createMobs();
|
||||
|
||||
Ghost.Quest.spawn( this );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void createItems() {
|
||||
if (Dungeon.dewVial && Random.Int( 4 - Dungeon.depth ) == 0) {
|
||||
addItemToSpawn( new DewVial() );
|
||||
Dungeon.dewVial = false;
|
||||
}
|
||||
|
||||
Ghost.Quest.spawn( this );
|
||||
|
||||
super.createItems();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user