diff options
author | ariel- <ariel-@users.noreply.github.com> | 2018-01-18 19:14:09 -0300 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-06-16 12:45:18 +0200 |
commit | 2ef2fee3e7768ec3975e61c497fb277cc8da64ae (patch) | |
tree | 12a39ee984c30a98a696848dcfe726239827ceb3 | |
parent | d0a766f14fc4d0c9166a279c532938632ca38583 (diff) |
Core/Auras: fixed EquippedItemClass check
follow-up to 29c3b7d8f60c18e52ec22fec6de9abc3dc468166
(cherry picked from commit f1896144c00e9dc8f37590207feb8d7714e7132f)
-rw-r--r-- | src/server/game/Spells/Auras/SpellAuras.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index 62c5454a251..5adc1ff71a3 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -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)) { |