Core/Spells: Rename more SpellAttr9

This commit is contained in:
Shauren
2024-06-11 11:05:40 +02:00
parent 019d28086f
commit 56a027131a
6 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -3282,7 +3282,7 @@ Unit* WorldObject::GetMagicHitRedirectTarget(Unit* victim, SpellInfo const* spel
{
// Set up missile speed based delay
float hitDelay = spellInfo->LaunchDelay;
if (spellInfo->HasAttribute(SPELL_ATTR9_SPECIAL_DELAY_CALCULATION))
if (spellInfo->HasAttribute(SPELL_ATTR9_MISSILE_SPEED_IS_DELAY_IN_SEC))
hitDelay += spellInfo->Speed;
else if (spellInfo->Speed > 0.0f)
hitDelay += std::max(victim->GetDistance(this), 5.0f) / spellInfo->Speed;