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

Monster.getId in onSpawn event #4557

Merged
merged 1 commit into from
Nov 3, 2023
Merged

Conversation

MillhioreBT
Copy link
Contributor

@MillhioreBT MillhioreBT commented Oct 30, 2023

Pull Request Prelude

  • I have followed [proper The Forgotten Server code styling][code].
  • I have read and understood the [contribution guidelines][cont] before making this PR.
  • I am aware that this PR may be closed if the above-mentioned criteria are not fulfilled.

Changes Proposed

An ID will be assigned automatically if you call Monster.getId in the onSpawn event, this gives us the possibility to obtain an ID from the monster for our purposes when necessary.

Issues addressed: #4077

@MillhioreBT MillhioreBT merged commit 6e3e689 into otland:master Nov 3, 2023
19 checks 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.

None yet

2 participants