Ejemplo n.º 1
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;

            if (TornadoJumpUI != null)
            {
                User.BManager.battleUIManager.RemoveUIElement(TornadoJumpUI);
                TornadoJumpUI = null;
            }
        }
Ejemplo n.º 2
0
        protected override void OnStart()
        {
            base.OnStart();

            CurTargets = EntitiesAffected;

            DamageMod  = 1;
            SecondPart = false;

            if (Action.CommandEnabled == true && Action.DrawActionCommandInfo == true)
            {
                TornadoJumpUI = new TornadoJumpActionCommandUI(actionCommand as TornadoJumpCommand);
                User.BManager.battleUIManager.AddUIElement(TornadoJumpUI);
            }
        }