Example #1
0
        protected override void OnStart()
        {
            base.OnStart();

            CurTargets = EntitiesAffected;
            TJAction   = Action as TornadoJump;

            DamageMod  = 1;
            SecondPart = false;
        }
Example #2
0
        protected override void OnEnd()
        {
            base.OnEnd();

            if (CurTargets != null)
            {
                //Stop targeting
                for (int i = 0; i < CurTargets.Length; i++)
                {
                    CurTargets[i].StopTarget();
                }
            }

            //Clear the current targets
            CurTargets = null;
            TJAction   = null;

            DamageMod  = 1;
            SecondPart = false;
        }