Added in_packs param to choice packs
This commit is contained in:
parent
33d2c88d09
commit
b03ff3b84b
@ -365,7 +365,7 @@ class Gameplay(commands.Cog):
|
||||
# AI Team is batting
|
||||
elif game_state['batter']['team']['is_ai']:
|
||||
embed.set_thumbnail(url=game_state["pitcher"]["image"])
|
||||
ai_data = ai_manager.batting_ai_note(game_state['curr_player'], game_state['batter'])
|
||||
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']
|
||||
|
||||
|
||||
@ -2679,7 +2679,7 @@ async def open_choice_pack(this_pack, team: dict, context):
|
||||
rarity_id = 3
|
||||
|
||||
pl = db_get('players/random', params=[
|
||||
('min_rarity', rarity_id), ('max_rarity', rarity_id), ('limit', 4)
|
||||
('min_rarity', rarity_id), ('max_rarity', rarity_id), ('limit', 4), ('in_packs', True)
|
||||
])
|
||||
|
||||
if pl['count']:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user