diff options
| author | ilotterytea <iltsu@alright.party> | 2024-10-26 02:49:02 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-10-26 02:49:02 +0500 |
| commit | 8324761b3e2a4197f4001bea3cd00b90fc469ad7 (patch) | |
| tree | 2c86969a1cc552b1b541fd37b4a998a98ecc3456 /core/src | |
| parent | bb3a26b143a932b044f97addfcb892ab28c71dd6 (diff) | |
fix: the 10x multiplier didn't work the way it was supposed to
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java b/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java index 567dff7..327d676 100644 --- a/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java +++ b/core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java @@ -332,7 +332,7 @@ public class ShopUI { if (amount == null) amount = 0; - double price = widget.getPet().getPrice() * java.lang.Math.pow(1.15f, amount + multiplier.getMultiplier()); + double price = widget.getPet().getPrice() * java.lang.Math.pow(1.15f, amount) * multiplier.getMultiplier(); if (mode == ShopMode.SELL) { price /= 4; |
