Core/Misc: Add launchDelay argument to Unit::SendPlaySpellVisual overload accepting Unit* argument
Port From (https://github.com/TrinityCore/TrinityCore/commit/982b60f39c526e217de3a3f24b740af41c4ede50)
This commit is contained in:
@@ -106,7 +106,7 @@ namespace Scripts.Spells.Warrior
|
||||
{
|
||||
int timeOffset = (int)(6 * i * aurEff.GetPeriod() / 25);
|
||||
Vector4 loc = GetTarget().MoveSpline.ComputePosition(timeOffset);
|
||||
GetTarget().SendPlaySpellVisual(new Position(loc.X, loc.Y, loc.Z), 0.0f, Misc.SpellVisualBlazingCharge, 0, 0, 1.0f, true);
|
||||
GetTarget().SendPlaySpellVisual(new Position(loc.X, loc.Y, loc.Z), Misc.SpellVisualBlazingCharge, 0, 0, 1.0f, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user