Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update BattleOrders.js #418

Open
wants to merge 8 commits into
base: restructure
Choose a base branch
from

Conversation

Antiwarden
Copy link
Contributor

Adjusts the giveBo() function in BattleOrders.js to ensure that the script waits only for players who are explicitly defined as getters in the configuration, regardless of any additional players present.

Antiwarden and others added 4 commits October 12, 2024 08:43
Adjusts the giveBo() function in BattleOrders.js to ensure that the script waits only for players who are explicitly defined as getters in the configuration, regardless of any additional players present.
@Antiwarden
Copy link
Contributor Author

Antiwarden commented Dec 22, 2024

Might be helpful to track the actual boGetters in the game. If one is missing, they could be temporarily removed from the getters list to speed things up.

If some of our getters are missing in game, remove them from the boGetters list and proceed.
Last change dropped all getters from the list who were not present at the bo spot. Now, it removes only those from the list who are not in the game.
Fixes an issue where the boGiver would continue to wait even after successfully casting bo on a late-arriving getter after the wait timer had expired.

- remove getters from the list after they receive bo
- giveBO() function returns immediately once all getters have received bo
- stop the main loop once all getters have received bo
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