Exemplo n.º 1
0
        public override void Move(float diff, Vector2 to)
        {
            var moveSpeed     = GetMoveSpeed();
            var deltaMovement = moveSpeed * 0.001f * diff;

            //If we were dashing champion, get my movement back!
            if (Target is null && IsDashing)
            {
                ApiFunctionManager.CancelDash(this);
                lastDasher.ApplyEffects((Target as IAttackableUnit), null);
            }
            base.Move(diff, to);
        }