Skip to content

Commit 8f38292

Browse files
authored
Merge pull request ArchipelagoMW#7 from Ishigh1/oos_gohma2
Logic changes for gohma
2 parents 3b09f4e + e37b623 commit 8f38292

File tree

1 file changed

+37
-7
lines changed

1 file changed

+37
-7
lines changed

worlds/tloz_oos/data/logic/DungeonsLogic.py

+37-7
Original file line numberDiff line numberDiff line change
@@ -313,14 +313,44 @@ def make_d4_logic(player: int):
313313
])
314314
])],
315315

316-
["enter gohma", "d4 boss", False, lambda state: all([
317-
any([
318-
oos_has_slingshot(state, player),
319-
oos_option_hard_logic(state, player) # You can kill Gohma with the satchel. Yup...
316+
["enter gohma", "d4 boss", False, lambda state: any([
317+
all([
318+
# kill with pincer
319+
oos_option_medium_logic(state, player),
320+
any([
321+
oos_has_slingshot(state, player),
322+
oos_option_hard_logic(state, player) # You can kill Gohma with the satchel. Yup...
323+
]),
324+
any([
325+
oos_has_scent_seeds(state, player),
326+
oos_has_ember_seeds(state, player)
327+
])
320328
]),
321-
any([
322-
oos_has_scent_seeds(state, player),
323-
oos_has_ember_seeds(state, player)
329+
# kill after destroying pincer
330+
all([
331+
# With a sword's laser
332+
oos_option_medium_logic(state, player),
333+
any([
334+
oos_has_noble_sword(state, player), # Gohma's minions give enough hearts to justify it
335+
all([
336+
oos_has_sword(state, player),
337+
state.has("Energy Ring", player)
338+
])
339+
])
340+
]),
341+
all([
342+
any([
343+
oos_has_sword(state, player),
344+
oos_has_fools_ore(state, player)
345+
]),
346+
any([
347+
oos_can_use_ember_seeds(state, player, False),
348+
oos_can_use_scent_seeds(state, player),
349+
all([
350+
oos_option_medium_logic(state, player),
351+
oos_can_use_mystery_seeds(state, player)
352+
])
353+
])
324354
])
325355
])],
326356
]

0 commit comments

Comments
 (0)