aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java7
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/PetExpTooltip.kt2
2 files changed, 7 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java
index 2a9bce6bc..bef52f688 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java
@@ -26,7 +26,7 @@ public class MiscConfig {
public boolean petDisplay = false;
@Expose
- @ConfigOption(name = "Pet Experience Tooltip", desc = "Show the currently active pet.")
+ @ConfigOption(name = "Pet Experience Tooltip", desc = "")
@ConfigAccordionId(id = 0)
@Accordion
public PetExperienceToolTipConfig petExperienceToolTip = new PetExperienceToolTipConfig();
@@ -44,6 +44,11 @@ public class MiscConfig {
@ConfigEditorBoolean
public boolean showAlways = false;
+ @Expose
+ @ConfigOption(name = "GDrag 200", desc = "Show for Golden Dragon the exp needed for level 200.")
+ @ConfigEditorBoolean
+ public boolean goldenDragon200 = true;
+
}
@Expose
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