aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-02-15 23:58:20 -0300
committerariel- <ariel-@users.noreply.github.com>2018-02-16 00:54:53 -0300
commit5f38b9234070dbbb2a0968eee2dcbae5af9c1e9f (patch)
treeb3409bcb8c5c5bc189fdeeaff4059d693475b5c5 /src
parentf609589e22f86a803ea86e311fd8b5ca636e08a4 (diff)
Core/Auras: remove obsolete check that was preventing some auras to proc even if they met conditions otherwise
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/Auras/SpellAuras.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp
index 786bc2c2e63..8448ca5c455 100644
--- a/src/server/game/Spells/Auras/SpellAuras.cpp
+++ b/src/server/game/Spells/Auras/SpellAuras.cpp
@@ -1987,12 +1987,6 @@ uint8 Aura::GetProcEffectMask(AuraApplication* aurApp, ProcEventInfo& eventInfo,
// this is needed because this is the last moment in which you can prevent aura charge drop on proc
// and possibly a way to prevent default checks (if there're going to be any)
- // Aura added by spell can't trigger from self (prevent drop charges/do triggers)
- // But except periodic and kill triggers (can triggered from self)
- if (SpellInfo const* spellInfo = eventInfo.GetSpellInfo())
- if (spellInfo->Id == GetId() && !(eventInfo.GetTypeMask() & (PROC_FLAG_TAKEN_PERIODIC | PROC_FLAG_KILL)))
- return 0;
-
// Check if current equipment meets aura requirements
// do that only for passive spells
/// @todo this needs to be unified for all kinds of auras