mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
Death grip should now check see if creature is immune to silence spells before interrupting
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user