Skip to content

Fix issue with ping ponging between the two entrances to the same area#683

Open
sorc653 wants to merge 1 commit intohectorgimenez:mainfrom
sorc653:fix-harem-palace-entrances
Open

Fix issue with ping ponging between the two entrances to the same area#683
sorc653 wants to merge 1 commit intohectorgimenez:mainfrom
sorc653:fix-harem-palace-entrances

Conversation

@sorc653
Copy link
Contributor

@sorc653 sorc653 commented Feb 19, 2025

Sometimes we'll ping pong between the sewers level 1 entrance. I was playing with a new run for palace/harem and noticed I couldn't go from palace level 1 to haram 2 or to palace level 3.

This is because this loop could select the opposing entrance:
for _, l := range ctx.Data.AdjacentLevels

I also attempted to sort this by distance but that might be a little too heavy handed.

Just remembering the entrance we're moving the mouse above makes more sense.

@Antizerg
Copy link

This helps people progress through the act 2 leveling script as well. Thanks for putting this together

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants