aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-01-17 19:05:42 +0900
committersyeyoung <cyong06@naver.com>2021-01-17 19:05:42 +0900
commitd5a87904a70acb4c1ea177f7e5e0c5ec751364f8 (patch)
treecbdcd5d6882ad84e1dd2e0bdde68a391fe245a73 /src/main
parentfdad2b277f72cb777501901d326200f82c30f21f (diff)
downloadSkyblock-Dungeons-Guide-d5a87904a70acb4c1ea177f7e5e0c5ec751364f8.tar.gz
Skyblock-Dungeons-Guide-d5a87904a70acb4c1ea177f7e5e0c5ec751364f8.tar.bz2
Skyblock-Dungeons-Guide-d5a87904a70acb4c1ea177f7e5e0c5ec751364f8.zip
MORE BETTER
Diffstat (limited to 'src/main')
-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;