-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Core/Spells: Fix dispelling movement impairing auras by PvP-trinket and similar spells. #29966
Conversation
…nd similar spells.
Spells with Duration ID 36 (1 second) have also been added to the exception list. Primarily, these are Blink and its various variations. How to reproduce:
Fixed. |
You are wrong about 29300 - I tested this on retail (both that spell and blink are unchanged) and it behaves like on TC, grants immunity only for blink mini duration and does not remove the aura (because mechanic is on one effect instead of entire spell) |
Wow, that's an amazing fact. Well, then you can merge only the first commit. |
Did some more testing with 29300 |
Stun effect removed completely or only for 100 ms? And do you mean wotlk classic? |
Completely removed |
Tested on WotLK Classic (Cataclysm pre-patch): Human racial "Every Man for Himself" completely removes 29300, not only stun effect. |
Alright then, just move setting the variable to spell id cases for pvp trinket and human racial that are already there instead of doing it by duration |
What about spells like: ID - 53490 Bullheaded (duration 407, 100 ms) - pretty sure that it should completely remove the auras it grant immunity to Do you think it's better to hardcode specific spells? |
Demonic circle only removes slows, not stuns or roots, you wont test it with 29300 |
I'll try to find an opportunity to test how Blink works with 29300 on wotlk/cata classic. I'm 95% sure that both Blink and Demonic Circle should completely remove auras they grant immunity to, even if the mechanic is only stated on one of the effects. I also suspect that Hand of Freedom is the only spell that worked this way in WotLK. But not sure... |
Try your luck with feral druid talent Infected Wounds (it's the reason why current code behaves the way it does) |
"Every Man for Himself" completely dispelled "Infected Wounds" on 4.4.0.54670 |
Try pvp trinket and hand of freedom |
Changes proposed:
After 3306a4d spells that grant immunity to mechanics do not completely remove the auras that these mechanics have on only one of their effects. Instead, these effects are only temporarily disabled.
However, there seem to be exceptions to this. For example, PvP-trinkets, or Human racial "Every Man for Himself".
Such spells are distinguished by the duration of their aura - only 100 ms. Of course, they should completely remove the auras they grant immunity to, and not just disable some effects for 100 milliseconds.
How to reproduce:
.aura 31589
This PR fixed the issue.
Tests performed:
Builded and tested in-game.