MVP Pack fix & pcard update
This commit is contained in:
parent
296b9ec486
commit
1ca1e538af
@ -593,7 +593,7 @@ class Economy(commands.Cog):
|
||||
p_group = f'Team Choice-Cardset-{pack["pack_cardset"]["id"]}-{pack["pack_cardset"]["name"]}'
|
||||
elif pack['pack_type']['name'] == 'All Star':
|
||||
p_group = f'All Star-Cardset-{pack["pack_cardset"]["id"]}-{pack["pack_cardset"]["name"]}'
|
||||
elif pack['pack_type']['name'] == 'All Star':
|
||||
elif pack['pack_type']['name'] == 'MVP':
|
||||
p_group = f'MVP-Cardset-{pack["pack_cardset"]["id"]}-{pack["pack_cardset"]["name"]}'
|
||||
|
||||
logging.info(f'p_group: {p_group}')
|
||||
|
||||
@ -480,7 +480,7 @@ class Gameplay(commands.Cog):
|
||||
logging.debug(f'ai_data: {ai_data}')
|
||||
ai_note = ai_data['note']
|
||||
gm_name = ai_data['gm_name']
|
||||
embed.set_thumbnail(url=ai_data['pitcher']["image"])
|
||||
embed.set_thumbnail(url=player_pcard(ai_data['pitcher']))
|
||||
|
||||
if ai_data['sub'] is not None:
|
||||
embed.add_field(
|
||||
@ -491,7 +491,7 @@ class Gameplay(commands.Cog):
|
||||
|
||||
# AI Team is batting
|
||||
elif game_state['batter']['team']['is_ai']:
|
||||
embed.set_thumbnail(url=game_state["pitcher"]["image"])
|
||||
embed.set_thumbnail(url=player_pcard(game_state["pitcher"]))
|
||||
ai_data = ai_manager.batting_ai_note(game_state['curr_play'], game_state['batter'])
|
||||
ai_note = ai_data['note']
|
||||
gm_name = ai_data['gm_name']
|
||||
|
||||
Loading…
Reference in New Issue
Block a user