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)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user