Fix Operator precendence in local items to make big keys local again when "l" is in dungeon_items
This commit is contained in:
parent
88c28c3e83
commit
1ce4f55ea4
|
@ -417,9 +417,8 @@ def roll_settings(weights):
|
|||
ret.remote_items = get_choice('remote_items', weights, False)
|
||||
|
||||
if get_choice("local_keys", weights, "l" in dungeon_items):
|
||||
ret.local_items = item_name_groups["Small Keys"] if "s" in dungeon_items else set() \
|
||||
| item_name_groups[
|
||||
"Big Keys"] if "b" in dungeon_items else set()
|
||||
ret.local_items = (item_name_groups["Small Keys"] if "s" in dungeon_items else set()) \
|
||||
| item_name_groups["Big Keys"] if "b" in dungeon_items else set()
|
||||
else:
|
||||
ret.local_items = set()
|
||||
for item_name in weights.get('local_items', []):
|
||||
|
|
Loading…
Reference in New Issue