@@ -313,14 +313,44 @@ def make_d4_logic(player: int):
313
313
])
314
314
])],
315
315
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
+ ])
320
328
]),
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
+ ])
324
354
])
325
355
])],
326
356
]
0 commit comments