Core/Auras: fixed EquippedItemClass check

follow-up to 29c3b7d8f6

(cherry picked from commit f1896144c0)
This commit is contained in:
ariel-
2018-01-18 19:14:09 -03:00
committed by Shauren
parent d0a766f14f
commit 2ef2fee3e7

View File

@@ -1718,7 +1718,7 @@ uint32 Aura::GetProcEffectMask(AuraApplication* aurApp, ProcEventInfo& eventInfo
// do that only for passive spells
/// @todo this needs to be unified for all kinds of auras
Unit* target = aurApp->GetTarget();
if (IsPassive() && target->GetTypeId() == TYPEID_PLAYER)
if (IsPassive() && target->GetTypeId() == TYPEID_PLAYER && GetSpellInfo()->EquippedItemClass != -1)
{
if (!GetSpellInfo()->HasAttribute(SPELL_ATTR3_NO_PROC_EQUIP_REQUIREMENT))
{