Explorar o código

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 %!s(int64=5) %!d(string=hai) anos
pai
achega
d49b2c5261
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);