mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-04-13 05:53:31 -07:00
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:
|
def two_kerrigan_actives(self, state: CollectionState, story_tech_available=True) -> bool:
|
||||||
if story_tech_available and self.grant_story_tech == GrantStoryTech.option_grant:
|
if story_tech_available and self.grant_story_tech == GrantStoryTech.option_grant:
|
||||||
return True
|
return True
|
||||||
count = 0
|
return state.count_from_list(item_groups.kerrigan_logic_active_abilities, self.player) >= 2
|
||||||
for i in range(7):
|
|
||||||
if state.has_any(kerrigan_logic_active_abilities, self.player):
|
|
||||||
count += 1
|
|
||||||
return count >= 2
|
|
||||||
|
|
||||||
# Global Protoss
|
# Global Protoss
|
||||||
def protoss_power_rating(self, state: CollectionState) -> int:
|
def protoss_power_rating(self, state: CollectionState) -> int:
|
||||||
|
|||||||
Reference in New Issue
Block a user