Core/Spells: Rename SpellAttr3 to use official attribute names

Port From (https://github.com/TrinityCore/TrinityCore/commit/88d7b58a3dd8b0eb95c233a20c1608ddce73d9ea)
This commit is contained in:
hondacrx
2022-06-01 13:01:55 -04:00
parent 6d84850790
commit 8cddeb0fc5
10 changed files with 118 additions and 126 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ namespace Game.Combat
{
if (spell.HasAttribute(SpellAttr1.NoThreat))
return;
if (!_owner.IsEngaged() && spell.HasAttribute(SpellAttr3.NoInitialAggro))
if (!_owner.IsEngaged() && spell.HasAttribute(SpellAttr2.NoInitialThreat))
return;
}