Exemplo n.º 1
0
        private void Flee()
        {
            Orbwalking.MoveTo(Game.CursorPos);

            if (Menu.GetBool("FleeE") && E.IsReady())
            {
                E.Cast(Me.Position - (Game.CursorPos - Me.Position));
            }
        }
Exemplo n.º 2
0
        private void Flee()
        {
            Orbwalking.MoveTo(Game.CursorPos);

            if (Menu.GetBool("FleeW") && W.IsReady())
            {
                W.Cast();
            }
        }
Exemplo n.º 3
0
        private void Flee()
        {
            Orbwalking.MoveTo(Game.CursorPos);

            if (Menu.GetBool("FleeQ") && Q.IsReady())
            {
                Q.Cast(Me.ServerPosition.Extend(Game.CursorPos, Q.Range), true);
            }
        }
Exemplo n.º 4
0
        private void Flee()
        {
            Orbwalking.MoveTo(Game.CursorPos);

            if (Menu.GetBool("FleeW") && W.IsReady())
            {
                W.Cast(Me.Position.Extend(Game.CursorPos, W.Range));
            }
        }
Exemplo n.º 5
0
        private void OneKeyEQ()
        {
            Orbwalking.MoveTo(Game.CursorPos);

            if (E.IsReady() && Q.IsReady())
            {
                var target = TargetSelector.GetSelectedTarget() ??
                             TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Physical);

                if (target.Check(E.Range))
                {
                    if (E.GetPrediction(target).CollisionObjects.Count == 0 && E.CanCast(target))
                    {
                        E.Cast(target);
                        SpellManager.PredCast(Q, target);
                    }
                }
            }
        }
Exemplo n.º 6
0
        private void OneKeyR()
        {
            Orbwalking.MoveTo(Game.CursorPos);

            if (R.IsReady())
            {
                var select = TargetSelector.GetSelectedTarget();
                var target = TargetSelector.GetTarget(R.Range, TargetSelector.DamageType.Magical);

                if (select != null && !target.HasBuffOfType(BuffType.SpellShield) && target.IsValidTarget(R.Range))
                {
                    SpellManager.PredCast(R, target);
                }
                else if (select == null && target != null && !target.HasBuffOfType(BuffType.SpellShield) &&
                         target.IsValidTarget(R.Range))
                {
                    SpellManager.PredCast(R, target);
                }
            }
        }