Death grip should now check see if creature is immune to silence spells before interrupting

This commit is contained in:
talamortis
2017-11-26 20:03:35 +00:00
parent d87134b8ea
commit ebb2ce6b38
+2
View File
@@ -1564,6 +1564,8 @@ class spell_dk_death_grip : public SpellScriptLoader
if (caster != target)
{
caster->CastSpell(target, 49560, true);
const SpellInfo* spellInfo = sSpellMgr->GetSpellInfo(1766); // Rogue kick
if (!target->IsImmunedToSpellEffect(spellInfo, EFFECT_0))
target->InterruptNonMeleeSpells(true);
}
else