Update helpers.py
Add team logo as pack cover
This commit is contained in:
parent
9f9dc05073
commit
3846f8a77a
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user