diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-04-15 19:06:21 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-04-15 19:06:21 +0200 |
commit | b32373fdf2b20731f67c3502c7b02b90f5e78d4d (patch) | |
tree | 2f7f9f6d190bd5f25ab928371160b231f922f31e /src/main/java | |
parent | bafbb8cf0f04692ec7b9dc984a856a8d9167c41d (diff) | |
download | skyhanni-b32373fdf2b20731f67c3502c7b02b90f5e78d4d.tar.gz skyhanni-b32373fdf2b20731f67c3502c7b02b90f5e78d4d.tar.bz2 skyhanni-b32373fdf2b20731f67c3502c7b02b90f5e78d4d.zip |
better sorting for gemstone sack amount
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt index cde612d82..3c9a45e47 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/SackAPI.kt @@ -149,7 +149,7 @@ object SackAPI { when (rarity) { "Rough" -> { gem.rough = stored - gem.stored += stored + gem.stored += (stored * 1) gem.roughPrice = internalName.sackPrice(stored) gem.price += gem.roughPrice if (savingSacks) setSackItem(internalName, stored) @@ -157,7 +157,7 @@ object SackAPI { "Flawed" -> { gem.flawed = stored - gem.stored += stored + gem.stored += (stored * 80) gem.flawedPrice = internalName.sackPrice(stored) gem.price += gem.flawedPrice if (savingSacks) setSackItem(internalName, stored) @@ -165,7 +165,7 @@ object SackAPI { "Fine" -> { gem.fine = stored - gem.stored += stored + gem.stored += (stored * 80 * 80) gem.finePrice = internalName.sackPrice(stored) gem.price += gem.finePrice if (savingSacks) setSackItem(internalName, stored) |