Core/Spells: Blade Barrier should not proc from autoattacks
Closes #6028 Signed-off-by: Subv <[email protected]>
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user