From 1d9e839bc987b8e67c1d9e381226cfe8a873858a Mon Sep 17 00:00:00 2001 From: hondacrx Date: Wed, 23 Jun 2021 23:51:38 -0400 Subject: [PATCH] Core/Auras: remove obsolete check that was preventing some auras to proc even if they met conditions otherwise Port From (https://github.com/TrinityCore/TrinityCore/commit/1fe817a9957bdc62d1e9a0b33f4615746831a6a7) --- Source/Game/Spells/Auras/Aura.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Source/Game/Spells/Auras/Aura.cs b/Source/Game/Spells/Auras/Aura.cs index 587a35dcd..91ad91b02 100644 --- a/Source/Game/Spells/Auras/Aura.cs +++ b/Source/Game/Spells/Auras/Aura.cs @@ -1682,13 +1682,6 @@ namespace Game.Spells // 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) - SpellInfo spellInfo = eventInfo.GetSpellInfo(); - if (spellInfo != null) - if (spellInfo.Id == GetId() && !eventInfo.GetTypeMask().HasFlag(ProcFlags.TakenPeriodic | ProcFlags.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