소스 검색

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);