diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt index fbaed21a9..df915988d 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt @@ -546,6 +546,8 @@ object EstimatedItemValueCalculator { val map = mutableMapOf<String, Double>() val tieredEnchants = listOf("compact", "cultivating", "champion", "expertise", "hecatomb") + val onlyTierOnePrices = + listOf("ultimate_chimera", "ultimate_fatal_tempo", "smoldering", "ultimate_flash", "divine_gift") val internalName = stack.getInternalName() for ((rawName, rawLevel) in enchantments) { @@ -562,7 +564,7 @@ object EstimatedItemValueCalculator { var level = rawLevel var multiplier = 1 - if (rawName == "ultimate_chimera" || rawName == "ultimate_fatal_tempo" || rawName == "smoldering") { + if (rawName in onlyTierOnePrices) { when (rawLevel) { 2 -> multiplier = 2 |