diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-25 16:53:24 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-25 16:53:24 +0200 |
commit | 72de6547ff9e3259a987b5285bd5fde410177ad0 (patch) | |
tree | 572676dd6eac5b3263ecaa6490f61f5c4ebba34a /src/main/java | |
parent | 35c10d83a8ec2c11e5ddc649e9766b930ec0c08e (diff) | |
download | skyhanni-72de6547ff9e3259a987b5285bd5fde410177ad0.tar.gz skyhanni-72de6547ff9e3259a987b5285bd5fde410177ad0.tar.bz2 skyhanni-72de6547ff9e3259a987b5285bd5fde410177ad0.zip |
Fixed motes prices are too low in displays
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/RiftAPI.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/RiftAPI.kt b/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/RiftAPI.kt index 8eac74b30..20e64dc8f 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/RiftAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/RiftAPI.kt @@ -18,10 +18,10 @@ object RiftAPI { fun ItemStack.motesNpcPrice(): Double? { val baseMotes = motesPrice[getInternalName()] ?: return null val burgerStacks = config.motes.burgerStacks - return baseMotes + (burgerStacks * 5) * baseMotes / 100 + val pricePer = baseMotes + (burgerStacks * 5) * baseMotes / 100 + return pricePer * stackSize } - fun inLivingCave() = LorenzUtils.skyBlockArea == "Living Cave" fun inLivingStillness() = LorenzUtils.skyBlockArea == "Living Stillness" fun inStillgoreChateau() = LorenzUtils.skyBlockArea == "Stillgore Château" || LorenzUtils.skyBlockArea == "Oubliette" |