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

[Bug Fix] Fix duplicate and missing messages due to innate in spells #2170

Merged
merged 4 commits into from
May 20, 2022

Conversation

noudess
Copy link
Contributor

@noudess noudess commented May 13, 2022

The fact that some spells use skill_id 52 (innate) has caused confusion and multiple attempts at understanding why some messages are missing and some are duplicated.

This PR fixes spells that use skill_id 52 to send (2) messages to the person being damaged (attack.cpp)

  1. The strike message
  2. The actual spell effect (life drains away, you have been poisoned, etc).

Some of the above were being send by spells.cpp because attack.cpp was missing them.

This has been tested using lifetaps, DD, DD+DOT, DOT, root w/damage,etc.

It has been tested in PVP,, and npcs procing as well as casting,

I think more messages come out now (that we were missing) and all duplicates are gone.

Fingers crossed.

@nytmyr This fixes canni also..

@noudess noudess marked this pull request as draft May 14, 2022 20:01
@noudess
Copy link
Contributor Author

noudess commented May 14, 2022

Added code to use correct Range: rule based on type of message.

@noudess
Copy link
Contributor Author

noudess commented May 15, 2022

Refined innate spell damage messages to only come out when "non-melee" damage wasn't coming out so we don't throw off parsers. Still preserving all new innate spell based messages (xyz was poisoned" etc.)

@noudess noudess marked this pull request as ready for review May 16, 2022 18:48
zone/attack.cpp Outdated Show resolved Hide resolved
zone/attack.cpp Outdated Show resolved Hide resolved
@noudess
Copy link
Contributor Author

noudess commented May 18, 2022

This one looks good. Testing finding no bugs for several days.

@Kinglykrab Kinglykrab merged commit f3e5423 into EQEmu:master May 20, 2022
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