From a858e9937e9bab7615417f72e8913e2ab41ce699 Mon Sep 17 00:00:00 2001 From: ariel- Date: Thu, 15 Feb 2018 23:58:20 -0300 Subject: [PATCH] Core/Auras: remove obsolete check that was preventing some auras to proc even if they met conditions otherwise --- src/server/game/Spells/Auras/SpellAuras.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index 71d846db4b6..19989c2cd3e 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -1795,12 +1795,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