diff options
author | Tryp0xd <54819490+Tryp0xd@users.noreply.github.com> | 2024-09-20 20:53:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-20 21:53:53 +0200 |
commit | a99f0bdd1c2c5df1495996844dcf62791c19498d (patch) | |
tree | bc04bf2a4cee4945d3ca3937a513d4c9b05ed5f8 /src/main/java/at/hannibal2/skyhanni/features | |
parent | 3f0a42c5e6eeda3576729c0ac28bf5feaa8217cc (diff) | |
download | skyhanni-a99f0bdd1c2c5df1495996844dcf62791c19498d.tar.gz skyhanni-a99f0bdd1c2c5df1495996844dcf62791c19498d.tar.bz2 skyhanni-a99f0bdd1c2c5df1495996844dcf62791c19498d.zip |
Fix: HotmData perk rework (#2543)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/mining/MineshaftPityDisplay.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/MineshaftPityDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/MineshaftPityDisplay.kt index 77d580a0b..3b89ae246 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mining/MineshaftPityDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mining/MineshaftPityDisplay.kt @@ -164,7 +164,7 @@ object MineshaftPityDisplay { // if the chance is 1/1500, it will return 1500 private fun calculateChance(counter: Int): Double { val surveyorPercent = HotmData.SURVEYOR.getReward()[HotmReward.MINESHAFT_CHANCE] ?: 0.0 - val peakMountainPercent = HotmData.PEAK_OF_THE_MOUNTAIN.getReward()[HotmReward.MINESHAFT_CHANCE] ?: 0.0 + val peakMountainPercent = HotmData.CORE_OF_THE_MOUNTAIN.getReward()[HotmReward.MINESHAFT_CHANCE] ?: 0.0 val chance = counter / (1 + surveyorPercent / 100 + peakMountainPercent / 100) return chance } |