Beispiel #1
0
        /// <summary>
        /// Harass End
        /// </summary>
        ///
        /// <summary>
        /// KS
        /// </summary>

        private static void ks()
        {
            var target = TargetSelector.GetTarget(W.Range, TargetSelector.DamageType.Magical);

            if (Menu.Item("ksW").GetValue <bool>() && W.IsReady() && target.IsValidTarget(W.Range) && W.IsReady() && W.IsKillable(target))
            {
                W.CastIfHitchanceEquals(target, HitChance.VeryHigh);
            }

            if (Menu.Item("ksE").GetValue <bool>() && E.IsReady() && target.IsValidTarget(E.Range) && E.IsReady() && E.IsKillable(target))
            {
                E.CastIfHitchanceEquals(target, HitChance.VeryHigh);
            }

            if (Menu.Item("ksWR").GetValue <bool>() && R.IsReady() && W.IsReady() && target.IsValidTarget(W1.Range) && W1.IsKillable(target))
            {
                R.Cast();
                W1.CastIfHitchanceEquals(target, HitChance.VeryHigh);
            }

            if (Menu.Item("ksER").GetValue <bool>() && R.IsReady() && E.IsReady() && target.IsValidTarget(E1.Range) && E1.IsKillable(target))
            {
                E1.CastIfHitchanceEquals(target, HitChance.VeryHigh);
            }
        }
Beispiel #2
0
        /// <summary>
        /// R
        /// </summary>

        private static void rR()
        {
            if (R.IsReady() && W.IsReady() && (Menu.Item("comboR").GetValue <bool>() && Menu.Item("rW").GetValue <bool>()))
            {
                var target = TargetSelector.GetTarget(W1.Range, TargetSelector.DamageType.Magical);
                R.Cast();
                if (target.IsValidTarget(W1.Range))
                {
                    W1.CastIfHitchanceEquals(target, HitChance.VeryHigh);
                }
            }

            if (R.IsReady() && E.IsReady() && (Menu.Item("comboR").GetValue <bool>() && Menu.Item("rE").GetValue <bool>()))
            {
                var target = TargetSelector.GetTarget(E1.Range, TargetSelector.DamageType.Magical);
                R.Cast();
                if (target.IsValidTarget(E1.Range))
                {
                    E1.CastIfHitchanceEquals(target, HitChance.High);
                }
            }

            if (R.IsReady() && Q.IsReady() && (Menu.Item("comboR").GetValue <bool>() && Menu.Item("rQ").GetValue <bool>()))
            {
                var target = TargetSelector.GetTarget(600, TargetSelector.DamageType.Magical);
                R.Cast();
                Q.Cast(Player);
            }
        }
Beispiel #3
0
        private static void combo()
        {
            if (Player.IsDead)
            {
                return;
            }

            var ultQ   = (Menu.Item("ultQ").GetValue <bool>());
            var ultW   = (Menu.Item("ultW").GetValue <bool>());
            var ultE   = (Menu.Item("ultE").GetValue <bool>());
            var comboQ = (Menu.Item("comboQ").GetValue <bool>());
            var comboW = (Menu.Item("comboW").GetValue <bool>());
            var comboE = (Menu.Item("comboE").GetValue <bool>());
            var comboR = (Menu.Item("comboR").GetValue <bool>());

            if (comboR && R.IsReady() && ultQ && Q.IsReady())
            {
                var target = TargetSelector.GetTarget(Q.Range, TargetSelector.DamageType.Magical);
                R.Cast();
                Q.Cast(Player.Position.Extend(target.Position, +200));
            }

            if (comboR && R.IsReady() && ultW && W.IsReady())
            {
                var target = TargetSelector.GetTarget(W1.Range, TargetSelector.DamageType.Magical);
                R.Cast();
                if (target.IsValidTarget(W1.Range))
                {
                    W1.CastIfHitchanceEquals(target, HitChance.VeryHigh);
                }
            }

            if (comboR && R.IsReady() && ultE && E.IsReady())
            {
                var target = TargetSelector.GetTarget(E1.Range, TargetSelector.DamageType.Magical);
                R.Cast();
                if (target.IsValidTarget(E1.Range))
                {
                    E1.CastIfHitchanceEquals(target, HitChance.VeryHigh);
                }
            }

            if (comboQ && Q.IsReady())
            {
                var target = TargetSelector.GetTarget(Q.Range, TargetSelector.DamageType.Magical);
                Q.Cast(Player.Position.Extend(target.Position, +200));
            }

            if (comboE && E.IsReady())
            {
                var target = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Magical);
                if (target.IsValidTarget(E.Range))
                {
                    E.CastIfHitchanceEquals(target, HitChance.VeryHigh);
                }
            }

            if (comboW && W.IsReady())
            {
                var target = TargetSelector.GetTarget(W.Range, TargetSelector.DamageType.Magical);
                if (target.IsValidTarget(W.Range))
                {
                    W.CastIfHitchanceEquals(target, HitChance.VeryHigh);
                }
            }
        }