Generation Fixes
* Entrance dead end and branch calculation fixed * Parity checks added to global * Forced dead end checks in split dungeons
This commit is contained in:
@@ -1294,7 +1294,7 @@ class Sector(object):
|
||||
self.branch_factor -= cnt_dead - 1
|
||||
for region in self.regions:
|
||||
for ent in region.entrances:
|
||||
if ent.parent_region.type in [RegionType.LightWorld, RegionType.DarkWorld]:
|
||||
if ent.parent_region.type in [RegionType.LightWorld, RegionType.DarkWorld] or ent.parent_region.name == 'Sewer Drop':
|
||||
# same sector as another entrance
|
||||
if region.name not in ['Skull Pot Circle', 'Skull Back Drop', 'Desert East Lobby', 'Desert West Lobby']:
|
||||
self.branch_factor += 1
|
||||
|
||||
Reference in New Issue
Block a user