-
Notifications
You must be signed in to change notification settings - Fork 845
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
OOB error in AddFlash when cast by shrine #1500
Comments
The offending code: missile[mi]._midam = monster[id].mLevel << 1; This will cause flash to do some completely random amount of damage. Instead, it should be current dungeon level / 2. |
AJenbo
added a commit
that referenced
this issue
Apr 12, 2021
If cast by traps flash would look in memory a bit before the monster array for what value to use as damage, no one knows what might have been there waiting so could deal anything form -254 to 254 damage. Fixes #1500
AJenbo
added a commit
that referenced
this issue
Apr 12, 2021
If cast by traps flash would look in memory a bit before the monster array for what value to use as damage, no one knows what might have been there waiting so could deal anything form -254 to 254 damage. Fixes #1500
AJenbo
added a commit
that referenced
this issue
Apr 12, 2021
If cast by traps flash would look in memory a bit before the monster array for what value to use as damage, no one knows what might have been there waiting so could deal anything form -254 to 254 damage. Fixes #1500
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To Reproduce
Steps to reproduce the behavior:
Additional context
The text was updated successfully, but these errors were encountered: