Core/Spells: Blade Barrier should not proc from autoattacks

Closes #6028

Signed-off-by: Subv <[email protected]>
This commit is contained in:
Subv
2012-04-04 20:51:49 -05:00
parent 5468e8eeb5
commit 3d6da262dc
+1 -1
View File
@@ -8827,7 +8827,7 @@ bool Unit::HandleProcTriggerSpell(Unit* victim, uint32 damage, AuraEffect* trigg
} }
// Blade Barrier // Blade Barrier
if (auraSpellInfo->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && auraSpellInfo->SpellIconID == 85) if (auraSpellInfo->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && auraSpellInfo->SpellIconID == 85 && procSpell)
{ {
Player* player = ToPlayer(); Player* player = ToPlayer();
if (!player || player->getClass() != CLASS_DEATH_KNIGHT) if (!player || player->getClass() != CLASS_DEATH_KNIGHT)