aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-02-15 23:58:20 -0300
committerShauren <shauren.trinity@gmail.com>2021-06-22 13:07:03 +0200
commit1fe817a9957bdc62d1e9a0b33f4615746831a6a7 (patch)
tree8ce133b6cf4f7feca81b66f0e6e1a91d90ccc5ac
parentab8f8e1ffb8aa819223cc4524911913e5dbda71f (diff)
Core/Auras: remove obsolete check that was preventing some auras to proc even if they met conditions otherwise
(cherry picked from commit 5f38b9234070dbbb2a0968eee2dcbae5af9c1e9f)
-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 6bd64f05aef..604f706d01a 100644
--- a/src/server/game/Spells/Auras/SpellAuras.cpp
+++ b/src/server/game/Spells/Auras/SpellAuras.cpp
@@ -1695,12 +1695,6 @@ uint32 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