Core/Spells: Rename more SpellAttr9
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user