diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt | 10 |
1 files changed, 10 insertions, 0 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 f3e27957d..7c663470b 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 @@ -527,6 +527,7 @@ object EstimatedItemValueCalculator { return price } + // TODO repo private val hasAlwaysScavenger = listOf( "CRYPT_DREADLORD_SWORD".asInternalName(), "ZOMBIE_SOLDIER_CUTLASS".asInternalName(), @@ -535,6 +536,11 @@ object EstimatedItemValueCalculator { "ZOMBIE_KNIGHT_SWORD".asInternalName(), "SILENT_DEATH".asInternalName(), "ZOMBIE_COMMANDER_WHIP".asInternalName(), + "ICE_SPRAY_WAND".asInternalName(), + ) + + private val hasAlwaysReplenish = listOf( + "ADVANCED_GARDENING_HOE".asInternalName(), ) private fun addEnchantments(stack: ItemStack, list: MutableList<String>): Double { @@ -554,6 +560,10 @@ object EstimatedItemValueCalculator { continue } + if (rawName == "replenish" && rawLevel == 1 && internalName in hasAlwaysReplenish) { + continue + } + var level = rawLevel var multiplier = 1 if (rawName == "ultimate_chimera" || rawName == "ultimate_fatal_tempo" || rawName == "smoldering") { |