From ebb2ce6b3867f282af6aa31ac77f701a7d481aa5 Mon Sep 17 00:00:00 2001 From: talamortis Date: Sun, 26 Nov 2017 20:03:35 +0000 Subject: [PATCH] Death grip should now check see if creature is immune to silence spells before interrupting --- src/scripts/Spells/spell_dk.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/scripts/Spells/spell_dk.cpp b/src/scripts/Spells/spell_dk.cpp index 2ad8c4bd1..4dc3e13ee 100644 --- a/src/scripts/Spells/spell_dk.cpp +++ b/src/scripts/Spells/spell_dk.cpp @@ -1564,7 +1564,9 @@ class spell_dk_death_grip : public SpellScriptLoader if (caster != target) { caster->CastSpell(target, 49560, true); - target->InterruptNonMeleeSpells(true); + const SpellInfo* spellInfo = sSpellMgr->GetSpellInfo(1766); // Rogue kick + if (!target->IsImmunedToSpellEffect(spellInfo, EFFECT_0)) + target->InterruptNonMeleeSpells(true); } else baseTarget->CastSpell(caster, 49560, true);