aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/misc
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-09 13:09:11 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-09 13:09:11 +0200
commitc54eccb4204d0d1212b71020b05c1c01d5be0fe1 (patch)
treec92c987e7fd476c1a926c89cbfe66b417204ff14 /src/main/java/at/hannibal2/skyhanni/features/misc
parentc188917ff25bb8154298e09b3eb1347e3cd9cee6 (diff)
downloadskyhanni-c54eccb4204d0d1212b71020b05c1c01d5be0fe1.tar.gz
skyhanni-c54eccb4204d0d1212b71020b05c1c01d5be0fe1.tar.bz2
skyhanni-c54eccb4204d0d1212b71020b05c1c01d5be0fe1.zip
Added an option to only show level 100 for golden dragon in pet experience tooltip
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/PetExpTooltip.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/PetExpTooltip.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/PetExpTooltip.kt
index 53e58e4bf..7a96c86d2 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/PetExpTooltip.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/PetExpTooltip.kt
@@ -50,7 +50,7 @@ class PetExpTooltip {
}
private fun maxPetExp(petName: String) = when {
- petName.contains("Golden Dragon") -> 210_255_385 // lvl 200 legendary
+ petName.contains("Golden Dragon") && config.goldenDragon200 -> 210_255_385 // lvl 200 legendary
petName.contains("Bingo") -> 5_624_785 // lvl 100 common
else -> 25_353_230 // lvl 100 legendary