From 58999445c41e828b51ea608fd7a0fcaff3a79fb2 Mon Sep 17 00:00:00 2001 From: Enterly <36875936+anthony5301@users.noreply.github.com> Date: Sun, 18 Feb 2024 01:13:56 +0800 Subject: [PATCH] Improve spend_gold() when buying headliner --- arena.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arena.py b/arena.py index c16d597..f6c594d 100644 --- a/arena.py +++ b/arena.py @@ -356,7 +356,7 @@ def spend_gold(self, speedy=False) -> None: print(" Rerolling shop") shop: list = arena_functions.get_shop() print(f" Shop: {shop}") - for champion in shop: + for champion in reversed(shop): if ( self.champs_to_buy.get(champion[1], -1) >= 0 and arena_functions.get_gold()