Пример #1
0
 void DropFireVisual(AuraEffect aurEff)
 {
     PreventDefaultAction();
     if (GetTarget().IsSplineEnabled())
     {
         for (uint i = 0; i < 5; ++i)
         {
             int     timeOffset = (int)(6 * i * aurEff.GetPeriod() / 25);
             Vector4 loc        = GetTarget().MoveSpline.ComputePosition(timeOffset);
             GetTarget().SendPlaySpellVisual(new Vector3(loc.X, loc.Y, loc.Z), 0.0f, Misc.SpellVisualBlazingCharge, 0, 0, 1.0f, true);
         }
     }
 }