Core/Spells: Implemented new target types

Port From (https://github.com/TrinityCore/TrinityCore/commit/fce9fca9002e5bfc99990b9108aa56447e5001bd)
This commit is contained in:
hondacrx
2020-06-21 14:33:32 -04:00
parent dc68794b32
commit 4164384b72
4 changed files with 108 additions and 25 deletions
+3
View File
@@ -2596,6 +2596,9 @@ namespace Game.Entities
if (talentSpells.Contains(spellInfo.Id))
spellInfo.AttributesCu |= SpellCustomAttributes.IsTalent;
if (MathFunctions.fuzzyNe(spellInfo.Width, 0.0f))
spellInfo.AttributesCu |= SpellCustomAttributes.ConeLine;
switch (spellInfo.SpellFamilyName)
{
case SpellFamilyNames.Warrior: