瀏覽代碼

30 levels? I think this code is broken, because it's failing when it shouldn't. THe inform code didn't fail. Maybe I should rewrite it without the optimizations, since they're not needed here anyway.

Reddo 5 年之前
父節點
當前提交
d49b2c5261
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/World/Classes/RandomDungeons/RegionRandom.ts

+ 1 - 1
app/World/Classes/RandomDungeons/RegionRandom.ts

@@ -267,7 +267,7 @@ class RegionRandom extends Region {
                 }
             };
 
-            for (let fodderLevel = 1; fodderLevel < 15; fodderLevel++) {
+            for (let fodderLevel = 1; fodderLevel < 30; fodderLevel++) {
                 roomShuffler.restart();
                 for (let connectableRoom = roomShuffler.getOne(); connectableRoom != undefined; connectableRoom = roomShuffler.getOne()) {
                     let tricky = connectableThroughFodder(fodderLevel, connectableRoom);