Core/Spells: Changed boss knockback immunity
This commit is contained in:
1 parent
61b165648c
commit
8cc4125664
3 files changed
+5
-7
No files matched your search
@@ -6074,6 +6074,10 @@ void Spell::EffectKnockBack(SpellEffIndex effIndex)
|
||||
if (!unitTarget)
|
||||
return;
|
||||
|
||||
if (Creature* creatureTarget = unitTarget->ToCreature())
|
||||
if (creatureTarget->isWorldBoss() || creatureTarget->IsDungeonBoss())
|
||||
return;
|
||||
|
||||
// Typhoon
|
||||
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_DRUID && m_spellInfo->SpellFamilyFlags[1] & 0x01000000)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user