Skip to content

Commit

Permalink
Merge pull request #107 from Magnemania/sc2-next-generic-fix
Browse files Browse the repository at this point in the history
Generation fixes
  • Loading branch information
Ziktofel authored Nov 20, 2023
2 parents b2ea04d + 1230c52 commit 1953dc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion worlds/sc2/PoolFilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def attempt_removal(item: Item) -> bool:
removable_generic_items = []
self.multiworld.random.shuffle(generic_items)
for item in generic_items[:reserved_generic_amount]:
locked_items.append(item)
locked_items.append(copy_item(item))
inventory.remove(item)
if item.name not in self.logical_inventory and item.name not in self.locked_items:
removable_generic_items.append(item)
Expand Down
2 changes: 1 addition & 1 deletion worlds/sc2/Regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def wol_cleared_missions(state: CollectionState, mission_count: int) -> bool:
lambda state: state.has("Beat Rak'Shir", player)),
connect(multiworld, player, names, "Templar's Charge", "Templar's Return",
lambda state: state.has("Beat Purification", player)
and state.has("Beat Rak Shir", player)
and state.has("Beat Rak'Shir", player)
and state.has("Beat Templar's Charge", player)),
connect(multiworld, player, names, "Templar's Return", "The Host",
lambda state: state.has("Beat Templar's Return", player)),
Expand Down

0 comments on commit 1953dc7

Please sign in to comment.