@@ -132,7 +132,7 @@ def game_loop(self) -> None:
132
132
self .second_round ()
133
133
ran_round : str = self .round [0 ]
134
134
elif self .round [0 ] in game_assets .ENCOUNTER_ROUNDS :
135
- print (f"\n [Encounter Round] { self .round } " )
135
+ print (f"\n [Encounter Round] { self .round [ 0 ] } " )
136
136
print (" Do nothing" )
137
137
self .message_queue .put ("CLEAR" )
138
138
self .arena .check_health ()
@@ -200,7 +200,7 @@ def encounter_round_setup(self) -> None:
200
200
201
201
def second_round (self ) -> None :
202
202
"""Move unknown champion to board after first carousel"""
203
- print (f"\n [Second Round] { self .round } " )
203
+ print (f"\n [Second Round] { self .round [ 0 ] } " )
204
204
self .message_queue .put ("CLEAR" )
205
205
while True :
206
206
result = arena_functions .bench_occupied_check ()
@@ -213,26 +213,26 @@ def second_round(self) -> None:
213
213
214
214
def carousel_round (self ) -> None :
215
215
"""Handles tasks for carousel rounds"""
216
- print (f"\n [Carousel Round] { self .round } " )
216
+ print (f"\n [Carousel Round] { self .round [ 0 ] } " )
217
217
self .message_queue .put ("CLEAR" )
218
- if self .round == "3-4" :
218
+ if self .round [ 0 ] == "3-4" :
219
219
self .arena .final_comp = True
220
220
self .arena .check_health ()
221
221
print (" Getting a champ from the carousel" )
222
- game_functions .get_champ_carousel (self .round )
222
+ game_functions .get_champ_carousel (self .round [ 0 ] )
223
223
224
224
def pve_round (self ) -> None :
225
225
"""Handles tasks for PVE rounds"""
226
- print (f"\n [PvE Round] { self .round } " )
226
+ print (f"\n [PvE Round] { self .round [ 0 ] } " )
227
227
self .message_queue .put ("CLEAR" )
228
228
sleep (0.5 )
229
- if self .round in game_assets .AUGMENT_ROUNDS :
229
+ if self .round [ 0 ] in game_assets .AUGMENT_ROUNDS :
230
230
sleep (1 )
231
231
self .arena .augment_roll = True
232
232
self .arena .pick_augment ()
233
233
# Can't purchase champions for a short period after choosing augment
234
234
sleep (2.5 )
235
- if self .round == "1-3" :
235
+ if self .round [ 0 ] == "1-3" :
236
236
sleep (1.5 )
237
237
self .arena .fix_unknown ()
238
238
self .arena .anvil_free [1 :] = [True ] * 8
@@ -252,32 +252,32 @@ def pve_round(self) -> None:
252
252
253
253
def pvp_round (self ) -> None :
254
254
"""Handles tasks for PVP rounds"""
255
- print (f"\n [PvP Round] { self .round } " )
255
+ print (f"\n [PvP Round] { self .round [ 0 ] } " )
256
256
self .message_queue .put ("CLEAR" )
257
257
sleep (0.5 )
258
- if self .round in game_assets .AUGMENT_ROUNDS :
258
+ if self .round [ 0 ] in game_assets .AUGMENT_ROUNDS :
259
259
sleep (1 )
260
260
self .arena .augment_roll = True
261
261
self .arena .pick_augment ()
262
262
sleep (2.5 )
263
- if self .round in ("2-1" , "2-5" ):
263
+ if self .round [ 0 ] in ("2-1" , "2-5" ):
264
264
self .arena .buy_xp_round ()
265
- if self .round in game_assets .PICKUP_ROUNDS :
265
+ if self .round [ 0 ] in game_assets .PICKUP_ROUNDS :
266
266
print (" Picking up items" )
267
267
game_functions .pickup_items ()
268
268
269
269
self .arena .fix_bench_state ()
270
270
self .arena .bench_cleanup ()
271
- if self .round in game_assets .ANVIL_ROUNDS :
271
+ if self .round [ 0 ] in game_assets .ANVIL_ROUNDS :
272
272
self .arena .clear_anvil ()
273
- self .arena .spend_gold (speedy = self .round in game_assets .PICKUP_ROUNDS )
273
+ self .arena .spend_gold (speedy = self .round [ 0 ] in game_assets .PICKUP_ROUNDS )
274
274
self .arena .move_champions ()
275
275
self .arena .replace_unknown ()
276
276
if self .arena .final_comp :
277
277
self .arena .final_comp_check ()
278
278
self .arena .bench_cleanup ()
279
279
280
- if self .round in game_assets .ITEM_PLACEMENT_ROUNDS :
280
+ if self .round [ 0 ] in game_assets .ITEM_PLACEMENT_ROUNDS :
281
281
sleep (1 )
282
282
self .arena .place_items ()
283
283
self .end_round_tasks ()
0 commit comments