From 8324761b3e2a4197f4001bea3cd00b90fc469ad7 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 26 Oct 2024 02:49:02 +0500 Subject: fix: the 10x multiplier didn't work the way it was supposed to --- core/src/kz/ilotterytea/maxon/screens/game/shop/ShopUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3