From 3846f8a77a441054ec9cd6958eeb52004ac2135b Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Thu, 27 Apr 2023 00:19:21 -0500 Subject: [PATCH] Update helpers.py Add team logo as pack cover --- helpers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helpers.py b/helpers.py index 67ebba9..5cdf7fa 100644 --- a/helpers.py +++ b/helpers.py @@ -2822,8 +2822,10 @@ async def open_choice_pack(this_pack, team: dict, context): raise KeyError(f'Team not listed for Team Choice pack') d1000 = random.randint(1, 1000) + pack_cover = this_pack['pack_team']['logo'] if d1000 > 800: rarity_id = 5 + pack_cover = IMAGES['mvp'][this_pack['pack_team']['lname']] elif d1000 > 550: rarity_id = 3 else: