Skip to content

Commit

Permalink
adjust rob rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvris committed Aug 26, 2023
1 parent ec67f7f commit 383d1c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion worlds/kdl3/Rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def can_reach_cutter(state: "CollectionState", player: int) -> bool:

def can_assemble_rob(state: "CollectionState", player: int, copy_abilities: typing.Dict[str, str]):
# check animal requirements
if not can_reach_coo(state, player) and can_reach_kine(state, player):
if not (can_reach_coo(state, player) and can_reach_kine(state, player)):
return False
for abilities, bukisets in EnemyAbilities.enemy_restrictive[1:5]:
iterator = iter(x for x in bukisets if copy_abilities[x] in abilities)
Expand Down
1 change: 0 additions & 1 deletion worlds/kdl3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ def pre_fill(self) -> None:
.place_locked_item(self.create_item(animal_friends[animal]))



def create_items(self) -> None:
itempool = []
itempool.extend([self.create_item(name) for name in copy_ability_table])
Expand Down

0 comments on commit 383d1c9

Please sign in to comment.