diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-02 13:40:33 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-02 13:40:33 +0100 |
commit | 3d4e33d56f3592671899c6e2943580d3780596d2 (patch) | |
tree | d50264a0c1723d153e78cc1c09b20849dacd53b9 /src/main/java/at/hannibal2 | |
parent | b99b36755dbd4121db38629b2abb6d1ad5d39fb8 (diff) | |
download | skyhanni-3d4e33d56f3592671899c6e2943580d3780596d2.tar.gz skyhanni-3d4e33d56f3592671899c6e2943580d3780596d2.tar.bz2 skyhanni-3d4e33d56f3592671899c6e2943580d3780596d2.zip |
Hide Scavenger 5 on Ice Spray Wand and Replenish on Advanced Gardening Hoe for Estimated Item Value.
Diffstat (limited to 'src/main/java/at/hannibal2')
-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") { |