Пример #1
0
        public static void OneShot()
        {
            var target = TargetSelector.GetTarget(Spells.E.Range, DamageType.Physical);

            GameObjects.EnemyMinions.Where(m => m.IsMinion && m.IsEnemy && m.Team != GameObjectTeam.Neutral && m.LSIsValidTarget(Spells.W.Range)).ToList();

            if (target == null || !target.IsValidTarget() || target.IsZombie)
            {
                return;
            }

            if (Player.Mana >= 5)
            {
                if (MenuConfig.UseItem && Spells.Q.IsReady() && HasPassive())
                {
                    ITEM.CastYomu();
                }
                if (Spells.Q.IsReady() && target.Distance(Player) <= Spells.E.Range)
                {
                    Spells.Q.Cast();
                }
            }

            if (!(Player.Mana < 5))
            {
                return;
            }

            if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady())
            {
                ITEM.CastYomu();
            }
            if (Spells.E.IsReady() && target.Distance(Player) <= Spells.W.Range + 225)
            {
                if (HasPassive() && MenuConfig.EBackwards)
                {
                    Spells.E.Cast(target.Position / 2);
                }
                else
                {
                    Spells.E.CastIfHitchanceMinimum(target, HitChance.Medium);
                }
            }
            if (Spells.Q.IsReady() && target.Distance(Player) <= Spells.W.Range)
            {
                Spells.Q.Cast();
            }

            if (!Spells.W.IsReady() || !(Player.Distance(target) <= Spells.W.Range))
            {
                return;
            }

            if (MenuConfig.UseItem)
            {
                ITEM.CastHydra();
            }
            Spells.W.Cast(target);
        }
Пример #2
0
        public static void TripleQ()
        {
            var target = TargetSelector.GetTarget(Spells.E.Range, DamageType.Physical);

            if (target == null || !target.LSIsValidTarget() || target.IsZombie)
            {
                return;
            }

            if (Player.Mana == 5)
            {
                if (MenuConfig.UseItem && Spells.Q.IsReady() && HasPassive)
                {
                    ITEM.CastYomu();
                }

                if (Spells.Q.IsReady() && target.Distance(Player) <= Spells.W.Range)
                {
                    if (!MenuConfig.TripleQAAReset)
                    {
                        Spells.Q.Cast();
                    }
                }
            }

            if (Player.Mana < 5)
            {
                if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady())
                {
                    ITEM.CastYomu();
                }
                if (Spells.Q.IsReady() && target.Distance(Player) <= Spells.W.Range)
                {
                    if (!MenuConfig.TripleQAAReset)
                    {
                        Spells.Q.Cast();
                    }
                }
                if (Spells.E.IsReady() && !Spells.Q.IsReady() && target.Distance(Player) < Player.AttackRange)
                {
                    if (MenuConfig.IgnoreE)
                    {
                        Spells.E.Cast(target.ServerPosition);
                    }
                    else
                    {
                        Spells.E.CastIfHitchanceEquals(target, HitChance.Collision);
                    }
                }
                if (Spells.W.IsReady() && !Spells.Q.IsReady() && Player.Distance(target) <= Spells.W.Range)
                {
                    if (MenuConfig.UseItem)
                    {
                        ITEM.CastHydra();
                    }
                    Spells.W.Cast(target);
                }
            }
        }
Пример #3
0
        public static void Lane()
        {
            var minions = GameObjects.EnemyMinions.Where(m => m.IsMinion && m.IsEnemy && m.Team != GameObjectTeam.Neutral && m.LSIsValidTarget(Spells.W.Range)).ToList();

            if (Player.Mana == 5 && MenuConfig.Passive)
            {
                return;
            }

            foreach (var m in minions)
            {
                if (Player.Mana == 5)
                {
                    if (Mode.getBoxItem(MenuConfig.comboMenu, "ComboMode") == 2)
                    {
                        if (Spells.W.IsReady() && m.Distance(Player) <= Spells.W.Range)
                        {
                            Spells.W.Cast(m.ServerPosition);
                        }
                    }
                    else
                    {
                        if (Spells.Q.IsReady() && m.Distance(Player) < Player.AttackRange)
                        {
                            if (MenuConfig.UseItem)
                            {
                                ITEM.CastHydra();
                            }
                            Spells.Q.Cast(m);
                        }
                    }
                }
                if (Player.Mana < 5)
                {
                    if (Spells.Q.IsReady())
                    {
                        Spells.Q.Cast(m);
                    }

                    if (Spells.E.IsReady() && !HasPassive)
                    {
                        if (Spells.Q.IsReady() || Spells.W.IsReady())
                        {
                            Spells.E.Cast(m);
                        }
                    }

                    if (Spells.W.IsReady() && m.Distance(Player) <= Spells.W.Range)
                    {
                        if (MenuConfig.UseItem)
                        {
                            ITEM.CastHydra();
                        }
                        Spells.W.Cast(m);
                    }
                }
            }
        }
Пример #4
0
        public static void TripleQ()
        {
            var Target = TargetSelector.GetTarget(Spells.E.Range, DamageType.Physical);

            if (Target != null && Target.LSIsValidTarget() && !Target.IsZombie)
            {
                if (Player.Mana == 5)
                {
                    if (MenuConfig.UseItem && Spells.Q.IsReady() && hasPassive)
                    {
                        ITEM.CastYomu();
                    }

                    if (Spells.Q.IsReady() && Target.Distance(Player) <= Spells.W.Range)
                    {
                        if (!MenuConfig.TripleQAAReset)
                        {
                            Spells.Q.Cast();
                        }
                    }
                }
                if (Player.Mana < 5)
                {
                    if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady())
                    {
                        ITEM.CastYomu();
                    }
                    if (Spells.Q.IsReady() && Target.Distance(Player) <= Spells.W.Range)
                    {
                        if (!MenuConfig.TripleQAAReset)
                        {
                            Spells.Q.Cast();
                        }
                    }
                    if (Spells.E.IsReady() && !Spells.Q.IsReady() && Target.Distance(Player) <= Spells.W.Range)
                    {
                        if (MenuConfig.IgnoreE && hasPassive)
                        {
                            Spells.E.Cast(Game.CursorPos);
                        }
                        else
                        {
                            Spells.E.Cast(Target);
                        }
                    }
                    if (Spells.W.IsReady() && !Spells.Q.IsReady() && Player.Distance(Target) <= Spells.W.Range)
                    {
                        if (MenuConfig.UseItem)
                        {
                            ITEM.CastHydra();
                        }
                        Spells.W.Cast(Target);
                    }
                }
            }
        }
Пример #5
0
        public static void Jungle()
        {
            var mob = ObjectManager.Get <Obj_AI_Minion>().Where(m => !m.IsDead && !m.IsZombie && m.Team == GameObjectTeam.Neutral && m.LSIsValidTarget(Spells.W.Range)).ToList();

            if (Player.Mana == 5 && MenuConfig.Passive)
            {
                return;
            }

            foreach (var m in mob)
            {
                if (Player.Mana == 5)
                {
                    if (MenuConfig.ComboMode == 2)
                    {
                        if (Spells.W.IsReady() && m.Distance(Player) <= Spells.W.Range)
                        {
                            Spells.W.Cast(m.ServerPosition);
                        }
                    }
                    else
                    {
                        if (Spells.W.IsReady() && m.Distance(Player) <= Spells.W.Range && Player.HealthPercent < 20)
                        {
                            if (MenuConfig.UseItem)
                            {
                                ITEM.CastHydra();
                            }
                            Spells.W.Cast(m.ServerPosition);
                        }
                    }
                }

                if (!(Player.Mana < 5))
                {
                    continue;
                }

                if (Spells.E.IsReady())
                {
                    Spells.E.Cast(m.ServerPosition);
                }

                if (!Spells.W.IsReady() || !(m.Distance(Player) <= Spells.W.Range))
                {
                    continue;
                }

                if (MenuConfig.UseItem)
                {
                    ITEM.CastHydra();
                }

                Spells.W.Cast(m.ServerPosition);
            }
        }
Пример #6
0
        public static void OneShot()
        {
            var target = TargetSelector.GetTarget(Spells.E.Range, DamageType.Physical);

            GameObjects.EnemyMinions.Where(m => m.IsMinion && m.IsEnemy && m.Team != GameObjectTeam.Neutral && m.LSIsValidTarget(Spells.W.Range)).ToList();

            if (target == null || !target.LSIsValidTarget() || target.IsZombie)
            {
                return;
            }
            if (Player.Mana == 5)
            {
                if (MenuConfig.UseItem && Spells.Q.IsReady() && HasPassive)
                {
                    ITEM.CastYomu();
                }
                if (Spells.Q.IsReady() && target.Distance(Player) <= Spells.E.Range)
                {
                    Spells.Q.Cast();
                }
            }
            if (Player.Mana < 5)
            {
                if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady())
                {
                    ITEM.CastYomu();
                }
                if (Spells.E.IsReady() && target.Distance(Player) <= Spells.W.Range + 225)
                {
                    if (MenuConfig.IgnoreE && HasPassive)
                    {
                        Spells.E.Cast(Game.CursorPos);
                    }
                    else
                    {
                        Spells.E.Cast(target);
                    }
                }
                if (Spells.Q.IsReady() && target.Distance(Player) <= Spells.W.Range)
                {
                    Spells.Q.Cast();
                }
                if (Spells.W.IsReady() && Player.Distance(target) <= Spells.W.Range)
                {
                    if (MenuConfig.UseItem)
                    {
                        ITEM.CastHydra();
                    }
                    Spells.W.Cast(target);
                }
            }
        }
Пример #7
0
        public static void Combo()
        {
            var target = TargetSelector.GetTarget(1000, DamageType.Physical);


            if (target == null || !target.LSIsValidTarget() || target.IsZombie)
            {
                return;
            }
            if (Player.Mana == 5)
            {
                if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady() && HasPassive)
                {
                    ITEM.CastYomu();
                }
                if (Spells.E.IsReady() && target.Distance(Player) < Player.AttackRange)
                {
                    Spells.E.Cast(target);
                }
                if (Spells.Q.IsReady() && target.Distance(Player) < Player.AttackRange && !Spells.E.IsReady())
                {
                    Spells.Q.Cast(target);
                }
            }
            if (Player.Mana < 5)
            {
                if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady() && HasPassive)
                {
                    ITEM.CastYomu();
                }
                if (Spells.E.IsReady() && !HasPassive && target.Distance(Player) < Spells.E.Range)
                {
                    Spells.E.Cast(target);
                }
                if (target.Distance(Player) <= Spells.W.Range)
                {
                    if (Spells.Q.IsReady())
                    {
                        Spells.Q.Cast(target);
                    }
                    if (MenuConfig.UseItem)
                    {
                        ITEM.CastHydra();
                    }
                    if (Spells.W.IsReady())
                    {
                        Spells.W.Cast(target);
                    }
                }
            }
        }
Пример #8
0
        public static void ApCombo()
        {
            var target = TargetSelector.GetTarget(Spells.E.Range, DamageType.Magical);

            if (target == null || !target.LSIsValidTarget() || target.IsZombie)
            {
                return;
            }

            if (Player.Mana == 5)
            {
                if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady() && HasPassive)
                {
                    ITEM.CastYomu();
                }
                if (target.Distance(Player) <= Spells.W.Range)
                {
                    if (MenuConfig.UseItem && Spells.W.IsReady())
                    {
                        ITEM.CastHydra();
                    }
                    if (Spells.W.IsReady())
                    {
                        Spells.W.Cast(target);
                    }
                }
            }
            if (!(Player.Mana < 5))
            {
                return;
            }
            if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady() && HasPassive)
            {
                ITEM.CastYomu();
            }
            if (MenuConfig.UseItem && !HasPassive)
            {
                ITEM.CastProtobelt();
            }
            if (!(target.Distance(Player) <= Spells.W.Range))
            {
                return;
            }
            if (MenuConfig.UseItem && Spells.W.IsReady())
            {
                ITEM.CastHydra();
            }
            if (Spells.W.IsReady())
            {
                Spells.W.Cast(target);
                Spells.W.Cast(target);
            }
            else if (Spells.Q.IsReady())
            {
                Spells.Q.Cast(target);
            }
            else if (Spells.E.IsReady() && target.Distance(Player) <= Spells.W.Range + 225)
            {
                if (MenuConfig.IgnoreE)
                {
                    Spells.E.Cast(target.ServerPosition);
                }
                else
                {
                    Spells.E.CastIfHitchanceEquals(target, HitChance.Collision);
                }
            }
        }
Пример #9
0
        public static void ApCombo()
        {
            var Target = TargetSelector.GetTarget(Spells.E.Range, DamageType.Magical);

            if (Target != null && Target.LSIsValidTarget() && !Target.IsZombie)
            {
                if (Player.Mana == 5)
                {
                    if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady() && hasPassive)
                    {
                        ITEM.CastYomu();
                    }
                    if (Target.Distance(Player) <= Spells.W.Range)
                    {
                        if (MenuConfig.UseItem && Spells.W.IsReady())
                        {
                            ITEM.CastHydra();
                        }
                        if (Spells.W.IsReady())
                        {
                            Spells.W.Cast(Target);
                        }
                    }
                }
                if (Player.Mana < 5)
                {
                    if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady() && hasPassive)
                    {
                        ITEM.CastYomu();
                    }
                    if (MenuConfig.UseItem && !hasPassive)
                    {
                        ITEM.CastProtobelt();
                    }
                    if (Target.Distance(Player) <= Spells.W.Range)
                    {
                        if (MenuConfig.UseItem && Spells.W.IsReady())
                        {
                            ITEM.CastHydra();
                        }
                        if (Spells.W.IsReady())
                        {
                            Spells.W.Cast(Target);
                            Spells.W.Cast(Target);
                        }
                        else if (Spells.Q.IsReady())
                        {
                            Spells.Q.Cast(Target);
                        }
                        else if (Spells.E.IsReady() && Target.Distance(Player) <= Spells.W.Range + 225)
                        {
                            if (MenuConfig.IgnoreE && hasPassive)
                            {
                                Spells.E.Cast(Game.CursorPos);
                            }
                            else
                            {
                                Spells.E.Cast(Target);
                            }
                        }
                    }
                }
            }
        }
Пример #10
0
        public static void ApCombo()
        {
            var target = TargetSelector.GetTarget(Spells.E.Range, DamageType.Magical);

            if (target == null || !target.IsValidTarget() || target.IsZombie)
            {
                return;
            }

            if (Player.Mana == 5)
            {
                if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady() && HasPassive())
                {
                    ITEM.CastYomu();
                }
                if (target.Distance(Player) <= Spells.W.Range)
                {
                    if (MenuConfig.UseItem && Spells.W.IsReady())
                    {
                        ITEM.CastHydra();
                    }
                    if (Spells.W.IsReady())
                    {
                        Spells.W.Cast(target);
                    }
                }
            }
            if (!(Player.Mana < 5))
            {
                return;
            }

            if (MenuConfig.UseItem && Spells.Q.IsReady() && Spells.W.IsReady() && HasPassive())
            {
                ITEM.CastYomu();
            }
            if (MenuConfig.UseItem && !HasPassive())
            {
                ITEM.CastProtobelt();
            }

            if (!(target.Distance(Player) <= Spells.W.Range))
            {
                return;
            }

            if (MenuConfig.UseItem && Spells.W.IsReady())
            {
                ITEM.CastHydra();
            }
            if (Spells.W.IsReady())
            {
                Spells.W.Cast(target);
                Spells.W.Cast(target);
            }

            else if (Spells.Q.IsReady())
            {
                Spells.Q.Cast(target);
            }

            else if (Spells.E.IsReady() && !Spells.W.IsReady() && target.Distance(Player) <= float.MaxValue)
            {
                if (HasPassive() && MenuConfig.EBackwards)
                {
                    Spells.E.Cast(target.Position / 2);
                }
                else
                {
                    Spells.E.CastIfHitchanceMinimum(target, HitChance.Medium);
                }
            }
        }