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

Fix spells sometimes missing despite successful cast #35568

Merged
merged 2 commits into from
Nov 18, 2019
Merged

Fix spells sometimes missing despite successful cast #35568

merged 2 commits into from
Nov 18, 2019

Conversation

FuelType-Memes
Copy link
Contributor

Summary

SUMMARY: Bugfixes "Fix spells sometimes missing despite successful cast"

Purpose of change

Fixes #34633

Describe the solution

missed_by was not initialized, leading to instances where sometimes spells would miss

Describe alternatives you've considered

rewriting monster::deal_projectile_attack

Testing

Spawned a horde of zombie and used "Smite" on a bunch of them. All registered

Additional context

I have a feeling monster::deal_projectile_attack is a tad obsolete

missed_by was not initialized, leading to instances where sometimes spells would miss
@ZhilkinSerg ZhilkinSerg added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Mods: Magiclysm Anything to do with the Magiclysm mod labels Nov 18, 2019
@ZhilkinSerg ZhilkinSerg merged commit 4ca4ae6 into CleverRaven:master Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Mods: Magiclysm Anything to do with the Magiclysm mod
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Magiclysm's Smite spell does not damage hostile target despite sucessful cast
2 participants