Key logic overhaul - hope to have fixed many key locks

Specific keysanity fix
Fixed issue with crossed that created extra keys
This commit is contained in:
aerinon
2020-01-13 16:34:45 -07:00
parent ab04c47fd8
commit fd83eaa16e
3 changed files with 88 additions and 39 deletions

View File

@@ -711,6 +711,7 @@ def cross_dungeon(world, player):
queue = collections.deque(sorted(queue, key=lambda b: b.combo_size))
else:
logger.info('Cross Dungeon: Increase failed for %s', name)
builder.key_doors_num -= 1
builder.flex = 0
logger.info('Cross Dungeon: Keys unable to assign in pool %s', remaining)