Core/Spells: Rename more SpellAttr9

Port From (https://github.com/TrinityCore/TrinityCore/commit/56a027131a130bc778ee34ddfa379c42580b510b)
This commit is contained in:
Hondacrx
2024-08-25 21:45:49 -04:00
parent 269f427e9a
commit bb26b47824
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -2864,7 +2864,7 @@ namespace Game.Entities
{
// Set up missile speed based delay
float hitDelay = spellInfo.LaunchDelay;
if (spellInfo.HasAttribute(SpellAttr9.SpecialDelayCalculation))
if (spellInfo.HasAttribute(SpellAttr9.MissileSpeedIsDelayInSec))
hitDelay += spellInfo.Speed;
else if (spellInfo.Speed > 0.0f)
hitDelay += Math.Max(victim.GetDistance(this), 5.0f) / spellInfo.Speed;