server
server copied to clipboard
🐛 Stun/Sleep interaction with mob and player spellcasting
I affirm:
- [x] I understand that if I do not agree to the following points by completing the checkboxes my issue will be ignored.
- [x] I have read and understood the Contributing Guide and the Code of Conduct.
- [x] I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated.
Currently if a mob or player is stunned or slept in the middle of a spell cast, it will end the cast right then and there and stop the animation.
On retail the mob will continue the cast through the stun or sleep and it will only check to see if the spell has been interrupted at the end of a cast.
If the mob was stunned or slept at any time during the cast, even if the effect wore off before the cast completes, the spell will have been counted as interrupted when it does the check at the end of the cast. This would be at the same time it does the check if it is interrupted due to being hit.
This is a similar issue to https://github.com/LandSandBoat/server/issues/8217