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