Fix for beemizer 3/4 having only 3 hearts on easy item pool.

This commit is contained in:
CaitSith2 2020-08-29 00:59:21 -07:00
parent 0e67ca5ac9
commit 8cdd745d69
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ def generate_itempool(world, player: int):
# logic has some branches where having 4 hearts is one possible requirement (of several alternatives)
# rather than making all hearts/heart pieces progression items (which slows down generation considerably)
# We mark one random heart container as an advancement item (or 4 heart pieces in expert mode)
if world.difficulty[player] in ['normal', 'hard'] and not (world.custom and world.customitemarray[30] == 0):
if world.difficulty[player] in ['easy', 'normal', 'hard'] and not (world.custom and world.customitemarray[30] == 0):
next(item for item in items if item.name == 'Boss Heart Container').advancement = True
elif world.difficulty[player] in ['expert'] and not (world.custom and world.customitemarray[29] < 4):
adv_heart_pieces = (item for item in items if item.name == 'Piece of Heart')