aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-10-16 19:44:04 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-10-16 19:44:04 +0200
commit068e021a288d0b0a2e9e1947dbefec3bd619db1e (patch)
treeeac3d06614172813c2e559db6ff7311bb7822806
parentaaaa0206963f0eb00d571cd2d68c385b7e0d2b40 (diff)
downloadskyhanni-068e021a288d0b0a2e9e1947dbefec3bd619db1e.tar.gz
skyhanni-068e021a288d0b0a2e9e1947dbefec3bd619db1e.tar.bz2
skyhanni-068e021a288d0b0a2e9e1947dbefec3bd619db1e.zip
formatting
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/ItemStars.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt9
2 files changed, 4 insertions, 7 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemStars.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemStars.kt
index 7e0ab8d7d..05b0d46c7 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemStars.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemStars.kt
@@ -32,7 +32,7 @@ object ItemStars {
*/
private val starPattern by repoGroup.pattern(
"stars",
- "^(?<name>.+) (?<stars>(?:(?:§.)?✪)+)"
+ "^(?<name>.+) (?<stars>(?:(?:§.)?✪)+)",
)
@SubscribeEvent(priority = EventPriority.LOW)
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 30d326750..804787448 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
@@ -730,12 +730,9 @@ object EstimatedItemValueCalculator {
val map = mutableMapOf<String, Double>()
// todo use repo
- val tieredEnchants =
- listOf("compact", "cultivating", "champion", "expertise", "hecatomb", "toxophilite")
- val onlyTierOnePrices =
- listOf("ultimate_chimera", "ultimate_fatal_tempo", "smoldering", "ultimate_flash", "divine_gift")
- val onlyTierFivePrices =
- listOf("ferocious_mana", "hardened_mana", "mana_vampire", "strong_mana")
+ val tieredEnchants = listOf("compact", "cultivating", "champion", "expertise", "hecatomb", "toxophilite")
+ val onlyTierOnePrices = listOf("ultimate_chimera", "ultimate_fatal_tempo", "smoldering", "ultimate_flash", "divine_gift")
+ val onlyTierFivePrices = listOf("ferocious_mana", "hardened_mana", "mana_vampire", "strong_mana")
val internalName = stack.getInternalName()
for ((rawName, rawLevel) in enchantments) {