forked from mirror/Archipelago
SC2: Fix Kerrigan logic for active spells (#5746)
This commit is contained in:
@@ -1168,11 +1168,7 @@ class SC2Logic:
|
||||
def two_kerrigan_actives(self, state: CollectionState, story_tech_available=True) -> bool:
|
||||
if story_tech_available and self.grant_story_tech == GrantStoryTech.option_grant:
|
||||
return True
|
||||
count = 0
|
||||
for i in range(7):
|
||||
if state.has_any(kerrigan_logic_active_abilities, self.player):
|
||||
count += 1
|
||||
return count >= 2
|
||||
return state.count_from_list(item_groups.kerrigan_logic_active_abilities, self.player) >= 2
|
||||
|
||||
# Global Protoss
|
||||
def protoss_power_rating(self, state: CollectionState) -> int:
|
||||
|
||||
Reference in New Issue
Block a user