v2.4.0: fixed wandmaker always appearing on floor 7
This commit is contained in:
@@ -341,8 +341,8 @@ public class Wandmaker extends NPC {
|
||||
|
||||
public static ArrayList<Room> spawnRoom( ArrayList<Room> rooms) {
|
||||
questRoomSpawned = false;
|
||||
if (!spawned && (type != 0 || Dungeon.depth > 6)) {
|
||||
|
||||
if (!spawned && (type != 0 || (Dungeon.depth > 6 && Random.Int( 10 - Dungeon.depth ) == 0))) {
|
||||
|
||||
// decide between 1,2, or 3 for quest type.
|
||||
if (type == 0) type = Random.Int(3)+1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user