Skip to content

Commit

Permalink
Merge pull request #300 from anthony5301/main
Browse files Browse the repository at this point in the history
Improve spend_gold() when buying headliner
  • Loading branch information
anthony5301 authored Feb 17, 2024
2 parents adc0a58 + 2d33800 commit 7f6a102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arena.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7f6a102

Please sign in to comment.