Skip to content

Commit

Permalink
Fix a logic hole
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziktofel committed Nov 20, 2023
1 parent 9cd0415 commit b2ea04d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions worlds/sc2/Rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,11 +518,13 @@ def last_stand_requirement(self, state: CollectionState) -> bool:
)

def harbinger_of_oblivion_requirement(self, state: CollectionState) -> bool:
return self.protoss_anti_armor_anti_air(state) and self.take_over_ai_allies \
or (
self.protoss_common_unit(state)
and self.protoss_hybrid_counter(state)
)
return self.protoss_anti_armor_anti_air(state) and (
self.take_over_ai_allies
or (
self.protoss_common_unit(state)
and self.protoss_hybrid_counter(state)
)
)

def protoss_competent_comp(self, state: CollectionState) -> bool:
return self.protoss_common_unit(state) \
Expand Down

0 comments on commit b2ea04d

Please sign in to comment.