Core/Spells: Defined and implemented more spell effect attributes - AlwaysAoeLineOfSight, IsHarmful, PlayersOnly, EnforceLineOfSightToChainTargets
Port From (https://github.com/TrinityCore/TrinityCore/commit/69317c25947e682036813aa7f6e9200056232a13)
This commit is contained in:
@@ -3379,6 +3379,9 @@ namespace Game.Spells
|
||||
if (spellInfo.HasAttribute(SpellAttr4.AuraIsBuff))
|
||||
return true;
|
||||
|
||||
if (effect.EffectAttributes.HasFlag(SpellEffectAttributes.IsHarmful))
|
||||
return false;
|
||||
|
||||
visited.Add(Tuple.Create(spellInfo, effect.EffectIndex));
|
||||
|
||||
//We need scaling level info for some auras that compute bp 0 or positive but should be debuffs
|
||||
|
||||
Reference in New Issue
Block a user