-
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
DK/Spell Death Grip shoud intrerupt npc cast too #26137
Labels
Comments
400aef3 still valid, just tried smth like this, it works but for some reason most of the time it break the pull effect not sure why void HandleDummy(SpellEffIndex /*effIndex*/)
{
if (Unit* target = GetHitUnit())
{
if (target->HasUnitState(UNIT_STATE_CASTING))
target->CastStop(); // Stop casting
else if (!target->HasAuraType(SPELL_AURA_DEFLECT_SPELLS)) // Deterrence
target->CastSpell(GetExplTargetDest()->GetPosition(), GetEffectValue(), true);
}
} Here's a video recorded on cata ptr 4.4.0.54670, this is how shoud work:2024-05-15.11-05-54.mp4 |
yeah a lot of times if you use death grip over a mob that is casting and ain't rooted pull fails. |
Unconditionally interrupting is wrong - it should respect interrupt flags (not all npc spells are interrupted on movement) |
one good sample of spell that can be interrupted but aint interrupted pulling is https://aowow.trinitycore.info/?npc=29822 lava brust, on cata ptr it's interrupted. |
maybe related #18416 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
Death Knight spell Death Grip dosen't intrerupt npc-s / mobs .
Expected behaviour:
Death Knight spell Death Grip shoud intrerupt npc-s / mobs too like it does on players .
Steps to reproduce the problem:
Branch(es):
3.3.5
TC rev. hash/commit: e2ba73e
TrinityCore rev. e2ba73e 2021-02-23 02:17:09 +0200 (3.3.5 branch) (Win64, Release, Static)
Operating system:
Windows 10 x64
2021-02-23.21-04-57.mp4
The text was updated successfully, but these errors were encountered: