From 9e88eb48d26a5b0bc08533327afbebf3a9391766 Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Mon, 20 Jan 2020 17:21:48 -0800 Subject: [PATCH] Bug fix for multiple item quantity (#10) --- Mystery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mystery.py b/Mystery.py index a546233e..021a1c9e 100644 --- a/Mystery.py +++ b/Mystery.py @@ -216,7 +216,7 @@ def roll_settings(weights): if item.startswith(('Progressive ', 'Small Key ', 'Rupee', 'Piece of Heart', 'Boss Heart Container', 'Sanctuary Heart Container', 'Arrow', 'Bombs ', 'Bomb ', 'Bottle')) and isinstance(itemvalue, int): for i in range(int(get_choice(item, inventoryweights))): startitems.append(item) - if get_choice(item, inventoryweights): + elif get_choice(item, inventoryweights): startitems.append(item) if glitches_required in ['no_logic'] and 'Pegasus Boots' not in startitems: startitems.append('Pegasus Boots')