Death grip should now check see if creature is immune to silence spells before interrupting
This commit is contained in:
parent
d87134b8ea
commit
ebb2ce6b38
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue