Core/Auras: fixed EquippedItemClass check
follow-up to 29c3b7d8f60c18e52ec22fec6de9abc3dc468166 (cherry picked from commit f1896144c00e9dc8f37590207feb8d7714e7132f)
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user