Core/Spells: Changed boss knockback immunity

This commit is contained in:
johnholiver authored and Shauren committed 2011-05-07 22:16:30 +02:00
1 parent 61b165648c
commit 8cc4125664
3 files changed
+5 -7

No files matched your search

+4
View File
@@ -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)
{