From fab12dca0bc32720be596e4ad86fe78c0bcaeab7 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sat, 20 Aug 2022 19:20:22 +0200 Subject: [PATCH] SC2: add anti air to Devil's Playground Victory People seem to be on the mission long enough to get attacked by Mutalisks, so Victory should require anti air. Optional Objectives are doable quite comfortably before Mutalisks show up, allowing the anti-air to be on them for later in the mission. --- worlds/sc2wol/Locations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/worlds/sc2wol/Locations.py b/worlds/sc2wol/Locations.py index 3425dc71..f69abd48 100644 --- a/worlds/sc2wol/Locations.py +++ b/worlds/sc2wol/Locations.py @@ -176,7 +176,8 @@ def get_locations(world: Optional[MultiWorld], player: Optional[int]) -> Tuple[L state._sc2wol_has_competent_anti_air(world, player) and state.has('Science Vessel', player)), LocationData("Devil's Playground", "Devil's Playground: Victory", SC2WOL_LOC_ID_OFFSET + 1300, - lambda state: state._sc2wol_has_common_unit(world, player) or state.has("Reaper", player)), + lambda state: state._sc2wol_has_anti_air(world, player) and ( + state._sc2wol_has_common_unit(world, player) or state.has("Reaper", player))), LocationData("Devil's Playground", "Devil's Playground: Tosh's Miners", SC2WOL_LOC_ID_OFFSET + 1301), LocationData("Devil's Playground", "Devil's Playground: Brutalisk", SC2WOL_LOC_ID_OFFSET + 1302, lambda state: state._sc2wol_has_common_unit(world, player) or state.has("Reaper", player)),