aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/kr/syeyoung')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureDungeonScore.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureDungeonScore.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureDungeonScore.java
index a382d27a..7390e649 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureDungeonScore.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/FeatureDungeonScore.java
@@ -130,6 +130,7 @@ public class FeatureDungeonScore extends GuiFeature {
if (!bossroomFound) skill += 1;
skill -= getUndiscoveredPuzzles() * 10;
skill -= (getTotalRooms() - totalCompRooms) * 4;
+ skill = MathHelper.clamp_int(skill, 0, 100);
}
int explorer = 0;
boolean fullyCleared = false;