azerothcore / azerothcore-wotlk

Complete Open Source and Modular solution for MMO
http://www.azerothcore.org
GNU Affero General Public License v3.0
6.13k stars 2.46k forks source link

fix(Core/Spells): Midsummer spinning visual interrupt on gossip #19211

Closed sogladev closed 4 days ago

sogladev commented 4 days ago

Changes Proposed:

This PR proposes changes to:

the visual channeled spells are interrupted by gossip, however the aura associated with spinning and adding the xp buff is not

https://github.com/azerothcore/azerothcore-wotlk/blob/fd87ce1bf39b4b44c77734bcc7f6c1f22000d7b3/src/server/game/Handlers/NPCHandler.cpp#L293

https://github.com/azerothcore/azerothcore-wotlk/assets/46423958/5bd03eef-fc27-458e-bbb0-dbf170d1c7d5

changes: add AURA_INTERRUPT_FLAG_TALK to spin aura

Issues Addressed:

SOURCE:

The changes have been validated through:

Tests Performed:

This PR has been:

How to Test the Changes:

1. 2. 3.

Known Issues and TODO List:

How to Test AzerothCore PRs

When a PR is ready to be tested, it will be marked as [WAITING TO BE TESTED].

You can help by testing PRs and writing your feedback here on the PR's page on GitHub. Follow the instructions here:

http://www.azerothcore.org/wiki/How-to-test-a-PR

REMEMBER: when testing a PR that changes something generic (i.e. a part of code that handles more than one specific thing), the tester should not only check that the PR does its job (e.g. fixing spell XXX) but especially check that the PR does not cause any regression (i.e. introducing new bugs).

For example: if a PR fixes spell X by changing a part of code that handles spells X, Y, and Z, we should not only test X, but we should test Y and Z as well.

sudlud commented 4 days ago

I would prefer a solution similiar to #17442 if possible

sudlud commented 4 days ago

E.g. adding

AURA_INTERRUPT_FLAG_TALK

Maybe?

sudlud commented 4 days ago

ah i only now saw that you already referenced that flag in the PR description. so yeah, those spells are probably just missing this flag?

sogladev commented 4 days ago

ah i only now saw that you already referenced that flag in the PR description. so yeah, those spells are probably just missing this flag?

I overlooked SpellInfoCorrections :smile: adding the flag worked

sudlud commented 4 days ago

Thanks for the update :) the title might also need an update as it's not related to scripts anymore

Nyeriah commented 4 days ago

Core/Spells

sogladev commented 4 days ago

updated title and description