-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make clashing wave resolution randomized.
This commit changes two things; it allows multiple single waves to have the same wave number, and it makes the wave selection procedure pick randomly between multiple valid matches. Effectively, this means that MobArena now picks randomly when clashing recurrent waves _also_ clash on priority (rather than deferring the decision to the arbitrary but deterministic nature of sorted sets), and it also picks randomly between multiple single waves with the same wave number (which was not possible before). This should allow server owners to add variety into their wave setups while maintaining a great deal of control over the randomness involved. For instance, it's now possible to have wave 10 be a boss wave, but the _actual_ boss wave is randomly picked between three different waves all with wave number 10. Upgrade waves could be randomized as well. As for randomized recurrent waves, perhaps instead of having potentially four different mobs in the same wave, a setup could instead have two _pairs_ of mobs that are randomly selected for a different kind of randomness. Closes #795
- Loading branch information
1 parent
ced55b8
commit 9c89787
Showing
3 changed files
with
76 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters