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

feat: Day/Night support for monster spawns #265

Merged
merged 10 commits into from
Apr 28, 2024

Conversation

Conner-Schaffer
Copy link
Collaborator

In combination with the DDOn Tools, you can now assign monsters as "Day & Night", "Day" or "Night" and this will affect when the Monster will spawn, its flexible enough that in the tools you can add a new type and it should just work on the server side!

image

the defined ranges are based on this supplied info
image

Spooky image of Skeletons spawned in at night instead of Goblins
image

This PR comes with an updated enemy JSON, that has every enemy set to the default spawn time (day and night)
bar the first 3 immediate enemies, 3 goblins (day) and 3 skeletons (night)

Checklist:

  • The project compiles
  • The PR targets develop branch

@Conner-Schaffer
Copy link
Collaborator Author

Fixed a bug present in this PR where night enemies would spawn during the day still,
it was a missed case in my handling of rolling over midnight

@alborrajo alborrajo merged commit 150c191 into sebastian-heinz:develop Apr 28, 2024
1 check passed
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