aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-01-18 19:14:09 -0300
committerariel- <ariel-@users.noreply.github.com>2018-01-18 19:14:38 -0300
commitf1896144c00e9dc8f37590207feb8d7714e7132f (patch)
tree8b732e94c7b2d12c171eb30756d61170f38a7b23 /src
parent4fca3bfc0461f345cd4f4c8ff0a70b4110ec09f7 (diff)
Core/Auras: fixed EquippedItemClass check
follow-up to 29c3b7d8f60c18e52ec22fec6de9abc3dc468166
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/Auras/SpellAuras.cpp2
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 53b3f778e5b..857a985f0e5 100644
--- a/src/server/game/Spells/Auras/SpellAuras.cpp
+++ b/src/server/game/Spells/Auras/SpellAuras.cpp
@@ -1986,7 +1986,7 @@ uint8 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_IGNORE_PROC_SUBCLASS_MASK))
{