Skip to content

Commit

Permalink
Fixed Divine Gift and Flash showing the wrong/no price in EstimatedIt…
Browse files Browse the repository at this point in the history
…emValue
  • Loading branch information
jani270 committed Feb 5, 2024
1 parent f71f3c5 commit e2ab915
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,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) {
Expand All @@ -567,7 +569,7 @@ object EstimatedItemValueCalculator {

var level = rawLevel
var multiplier = 1
if (rawName == "ultimate_chimera" || rawName == "ultimate_fatal_tempo" || rawName == "smoldering") {
if (onlyTierOnePrices.contains(rawName)) {

when (rawLevel) {
2 -> multiplier = 2
Expand Down

0 comments on commit e2ab915

Please sign in to comment.