Skip to content

Commit

Permalink
Update for set11 encounter add one round
Browse files Browse the repository at this point in the history
Not tested yet
  • Loading branch information
anthony5301 authored Apr 5, 2024
1 parent 4f0a640 commit 254654d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions game.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def check_failed_to_connect_window(self) -> bool:
print(" Reconnect button not found.")
return False

# pylint: disable=too-many-branches
def game_loop(self) -> None:
"""Loop that runs while the game is active, handles calling the correct tasks for round and exiting game"""
ran_round: str = None
Expand Down Expand Up @@ -167,9 +168,7 @@ def encounter_round_setup(self) -> None:
for item_placement_round in game_assets.ITEM_PLACEMENT_ROUNDS
if not item_placement_round.startswith(self.round[0].split("-"))
}
for index, round_msg in enumerate(
game_functions.check_encounter_round()
):
for index, round_msg in enumerate(game_functions.check_encounter_round()):
if index == 0:
continue
if round_msg == "carousel":
Expand Down
1 change: 1 addition & 0 deletions game_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@

ITEM_PLACEMENT_ROUNDS: set[str] = {"2-2", "3-2", "4-2", "5-2",
"6-2", "7-2", "2-5", "3-5", "4-5", "5-5", "6-5", "7-5"}

ENCOUNTER_ROUNDS: set[str] = {"0-0"}

FINAL_COMP_ROUND = "4-5"
Expand Down

0 comments on commit 254654d

Please sign in to comment.