From d5a87904a70acb4c1ea177f7e5e0c5ec751364f8 Mon Sep 17 00:00:00 2001 From: syeyoung Date: Sun, 17 Jan 2021 19:05:42 +0900 Subject: MORE BETTER --- .../kr/syeyoung/dungeonsguide/features/impl/FeatureDungeonScore.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/features/impl') 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; -- cgit