Exemple #1
0
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }

            if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady())
            {
                var Qtarget = TargetSelector.GetTarget(Q.Range, TargetSelector.DamageType.Magical);
                AIO_Func.CCast(Q, Qtarget);
            }

            if (AIO_Menu.Champion.Harass.UseW && W.IsReady())
            {
                var Wtarget = TargetSelector.GetTarget(W.Range, TargetSelector.DamageType.Magical);
                AIO_Func.CCast(W, Wtarget);
            }

            if (AIO_Menu.Champion.Harass.UseE && E.IsReady())
            {
                var Etarget = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Magical);
                AIO_Func.LCast(E, Etarget, Menu.Item("Misc.Etg").GetValue <Slider>().Value, float.MaxValue);
            }
        }
Exemple #2
0
        static void Harass()
        {
            if (!(Player.ManaPercent > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }

            if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady())
            {
                var Qtarget = TargetSelector.GetTarget(Q.Range, Q.DamageType);
                AIO_Func.LCast(Q, Qtarget, QD, float.MaxValue);
            }

            if (AIO_Menu.Champion.Harass.UseW && W.IsReady())
            {
                var Wtarget = TargetSelector.GetTarget(W.Range, W.DamageType);
                AIO_Func.CCast(W, Wtarget);
            }

            if (AIO_Menu.Champion.Harass.UseE && E.IsReady() && Q.IsReady())
            {
                var Etarget = TargetSelector.GetTarget(E.Range, E.DamageType);
                AIO_Func.LCast(E, Etarget, QD, 0);
            }
        }
Exemple #3
0
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }

            if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady())
            {
                var Qtarget = TargetSelector.GetTarget(Q.Range, TargetSelector.DamageType.Magical);
                if (Qtarget.Distance(Player.ServerPosition) > Orbwalking.GetRealAutoAttackRange(Player))
                {
                    AIO_Func.LCast(Q, Qtarget, QD, 0);
                }
            }

            if (AIO_Menu.Champion.Harass.UseE && E.IsReady())
            {
                var Etarget = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Magical);
                AIO_Func.LCast(E, Etarget, ED);
            }

            if (AIO_Menu.Champion.Harass.UseR && R.IsReady() && UltST < UST)
            {
                var Rtarget = TargetSelector.GetTarget(R.Range, TargetSelector.DamageType.Magical);
                AIO_Func.CCast(R, Rtarget);
            }
        }
Exemple #4
0
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }

            if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady())
            {
                var Qtarget = TargetSelector.GetTarget(Q.Range, TargetSelector.DamageType.Magical);
                if (Qtarget != null)
                {
                    Q.Cast(Qtarget);
                }
            }

            if (AIO_Menu.Champion.Harass.UseW && W.IsReady())
            {
                var Wtarget = TargetSelector.GetTarget(W.Range, TargetSelector.DamageType.Magical);
                if (Wtarget != null)
                {
                    AIO_Func.CCast(W, Wtarget);
                }
            }

            if (AIO_Menu.Champion.Harass.UseE && E.IsReady())
            {
                var Etarget = TargetSelector.GetTarget(E.Range + 700f, TargetSelector.DamageType.Magical);
                if (Etarget != null)
                {
                    AIO_Func.AtoB(E, Etarget);
                }
            }
        }
Exemple #5
0
        static void Harass()
        {
            if (!(Player.ManaPercent > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }

            if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady())
            {
                var Qtarget = TargetSelector.GetTarget(Q.Range, TargetSelector.DamageType.Magical);
                if (Qtarget != null)
                {
                    AIO_Func.LCast(Q, Qtarget, QD, 0);
                }
            }

            if (AIO_Menu.Champion.Harass.UseE && E.IsReady())
            {
                var Etarget = TargetSelector.GetTarget(E.Range + Player.MoveSpeed * E.Delay, TargetSelector.DamageType.Magical);
                if (Etarget != null)
                {
                    E.Cast(Etarget);
                }
            }

            if (AIO_Menu.Champion.Harass.UseW && W.IsReady())
            {
                var Wtarget = TargetSelector.GetTarget(W.Range, W.DamageType);
                if (Wtarget != null)
                {
                    AIO_Func.CCast(W, Wtarget);
                }
            }
        }
Exemple #6
0
        static void Combo()
        {
            if (AIO_Menu.Champion.Combo.UseQ && Q.IsReady())
            {
                var Qtarget = TargetSelector.GetTarget(Q.Range, Q.DamageType);
                AIO_Func.CCast(Q, Qtarget);
            }

            if (AIO_Menu.Champion.Combo.UseE && E.IsReady())
            {
                var Etarget = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Magical);
                AIO_Func.LCast(E, Etarget, Menu.Item("Misc.Etg").GetValue <Slider>().Value, float.MaxValue);
            }

            if (AIO_Menu.Champion.Combo.UseW && W.IsReady())
            {
                var Wtarget = TargetSelector.GetTarget(W.Range, TargetSelector.DamageType.Magical);
                AIO_Func.CCast(W, Wtarget);
            }

            if (AIO_Menu.Champion.Combo.UseR && R.IsReady())
            {
                var Rtarget = TargetSelector.GetTarget(R.Range, TargetSelector.DamageType.Magical);
                if (AIO_Func.isKillable(Rtarget, R))
                {
                    R.Cast(Rtarget);
                }
            }
        }
Exemple #7
0
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }

            if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady())
            {
                var Qtarget = TargetSelector.GetTarget(Q.Range, TargetSelector.DamageType.Magical);
                AIO_Func.CCast(Q, Qtarget);
            }

            if (AIO_Menu.Champion.Harass.UseE && E.IsReady())
            {
                var Etarget = HeroManager.Enemies.Where(x => x.IsValidTarget(E.Range) && IsPoisoned(x) && !TargetSelector.IsInvulnerable(x, E.DamageType)).OrderByDescending(x => E.GetDamage(x)).FirstOrDefault();

                if (Etarget != null)
                {
                    E.CastOnUnit(Etarget);
                }
            }

            if (AIO_Menu.Champion.Harass.UseW && W.IsReady())
            {
                var Wtarget = TargetSelector.GetTarget(W.Range, W.DamageType);
                AIO_Func.CCast(W, Wtarget);
            }
        }
Exemple #8
0
        static void Combo()
        {
            if (AIO_Menu.Champion.Combo.UseQ && Q.IsReady())
            {
                var Qtarget = TargetSelector.GetTarget(Q.Range, Q.DamageType);
                if (Qtarget.Distance(Player.ServerPosition) > Orbwalking.GetRealAutoAttackRange(Player) + 50 && Qtarget != null)
                {
                    Q.Cast(Qtarget);
                }
            }

            if (AIO_Menu.Champion.Combo.UseE && E.IsReady())
            {
                var Etarget = TargetSelector.GetTarget(E.Range, E.DamageType);
                if (AIO_Func.isKillable(Etarget, getComboDamage(Etarget) * 1.5f))
                {
                    AIO_Func.CCast(E, Etarget);
                }
            }

            if (AIO_Menu.Champion.Combo.UseR && R.IsReady())
            {
                var Rtarget = TargetSelector.GetTarget(W.Range, W.DamageType);
                if (AIO_Func.getHealthPercent(Player) < 60 || Rtarget.Distance(Player.ServerPosition) < 600)
                {
                    R.Cast();
                }
            }
        }
Exemple #9
0
        static void Combo()
        {
            if (AIO_Menu.Champion.Combo.UseQ && Q.IsReady())
            {
                var Qtarget = TargetSelector.GetTarget(Q.Range, Q.DamageType);
                AIO_Func.CCast(Q, Qtarget);
            }

            if (AIO_Menu.Champion.Combo.UseE && E.IsReady())
            {
                var Etarget = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Magical);
                AIO_Func.LCast(E, Etarget, ED, float.MaxValue);
            }

            if (AIO_Menu.Champion.Combo.UseW && W.IsReady() && (Q.IsReady() || E.IsReady()))
            {
                var Wtarget = TargetSelector.GetTarget(W.Range, TargetSelector.DamageType.Magical);
                AIO_Func.CCast(W, Wtarget);
            }

            if (AIO_Menu.Champion.Combo.UseR && R.IsReady())
            {
                var Rtarget = TargetSelector.GetTarget(R.Range, TargetSelector.DamageType.Magical);
                var rt      = Menu.Item("Combo.Rt").GetValue <Slider>().Value;
                if (AIO_Func.getHealthPercent(Player) < 50 && AIO_Func.isKillable(Rtarget, getComboDamage(Rtarget) * 2 / 3) || AIO_Func.ECTarget(Rtarget, R.Width, 0, 100) >= rt)
                {
                    AIO_Func.CCast(R, Rtarget);
                }
            }
        }
Exemple #10
0
        static void Combo()
        {
            if (AIO_Menu.Champion.Combo.UseQ && Q.IsReady())
            {
                AIO_Func.CCast(Q, Q.GetTarget());
            }

            if (AIO_Menu.Champion.Combo.UseE && E.IsReady())
            {
                AIO_Func.LCast(E, E.GetTarget(), ED, float.MaxValue);
            }

            if (AIO_Menu.Champion.Combo.UseW && W.IsReady() && (Q.IsReady() || E.IsReady()))
            {
                AIO_Func.CCast(W, E.GetTarget());
            }

            if (AIO_Menu.Champion.Combo.UseR && R.IsReady())
            {
                var Rtarget = R.GetTarget();

                if (Player.HealthPercent < 50 && AIO_Func.isKillable(Rtarget, getComboDamage(Rtarget) * 2 / 3) || AIO_Func.ECTarget(Rtarget, R.Width, 0, 100) >= AIO_Menu.Champion.Combo.getSliderValue("R Min Targets").Value)
                {
                    AIO_Func.CCast(R, Rtarget);
                }
            }
        }
Exemple #11
0
        static void Laneclear()
        {
            if (!(Player.ManaPercent > AIO_Menu.Champion.Laneclear.IfMana))
            {
                return;
            }

            var Minions = MinionManager.GetMinions(1000, MinionTypes.All, MinionTeam.Enemy);

            if (Minions.Count <= 0)
            {
                return;
            }

            if (AIO_Menu.Champion.Laneclear.UseQ && Q.IsReady())
            {
                AIO_Func.LH(Q);
            }

            if (AIO_Menu.Champion.Laneclear.UseW && W.IsReady() && Minions.Any(x => x.IsValidTarget(W.Range)))
            {
                AIO_Func.CCast(W, Minions[0]);
            }

            if (AIO_Menu.Champion.Laneclear.UseE && E.IsReady())
            {
                AIO_Func.LH(E);
            }
        }
Exemple #12
0
        static void Combo()
        {
            if (AIO_Menu.Champion.Combo.UseQ && Q.IsReady())
            {
                var Qtarget = TargetSelector.GetTarget(Q.Range, Q.DamageType);
                AIO_Func.CCast(Q, Qtarget);
            }

            if (AIO_Menu.Champion.Combo.UseE && E.IsReady())
            {
                var Etarget = HeroManager.Enemies.Where(x => x.IsValidTarget(E.Range) && IsPoisoned(x) && !TargetSelector.IsInvulnerable(x, E.DamageType)).OrderByDescending(x => E.GetDamage(x)).FirstOrDefault();

                if (Etarget != null)
                {
                    E.CastOnUnit(Etarget);
                }
            }

            if (AIO_Menu.Champion.Combo.UseW && W.IsReady())
            {
                var Wtarget = TargetSelector.GetTarget(W.Range, W.DamageType);
                AIO_Func.CCast(W, Wtarget);
            }

            if (AIO_Menu.Champion.Combo.UseR && R.IsReady())
            {
                //스턴걸리는애들 마릿수 체크 => R시전 (테스트x)
                //var rTarget = R.GetTarget();
                //if (R.GetCollision(Player.ServerPosition.To2D(), new List<Vector2> { rTarget.ServerPosition.To2D() }).Where(x => x.IsFacing(Player)).Count() >= AIO_Menu.Champion.Combo.getSliderValue("R Min Targets").Value)
                //    R.Cast(rTarget);

                //그냥 맞는놈들 마릿수 체크 => R시전
                R.CastIfWillHit(R.GetTarget(), AIO_Menu.Champion.Combo.getSliderValue("R Min Targets").Value);
            }
        }
Exemple #13
0
 static void Combo()
 {
     if (AIO_Menu.Champion.Combo.UseE && E.IsReady())
     {
         var Etarget = TargetSelector.GetTarget(E.Range, E.DamageType);
         AIO_Func.CCast(E, Etarget);
     }
 }
Exemple #14
0
        static void ManualR()
        {
            var RTarget = TargetSelector.GetTarget(R.Range, R.DamageType, true);

            if (RM && RTarget != null && R.IsReady())
            {
                AIO_Func.CCast(R, RTarget);
            }
        }
Exemple #15
0
 static void KillstealR()
 {
     foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health))
     {
         if (R.CanCast(target) && AIO_Func.isKillable(target, R.GetDamage2(target) - target.HPRegenRate * 2))
         {
             AIO_Func.CCast(R, target);
         }
     }
 }
Exemple #16
0
 static void KillstealW()
 {
     foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health))
     {
         if (W.CanCast(target) && AIO_Func.isKillable(target, W) && Player.HasBuff("syndrawtooltip"))
         {
             AIO_Func.CCast(W, target);
         }
     }
 }
Exemple #17
0
 static void KillstealR()
 {
     foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health))
     {
         if (target.IsValidTarget(R.Range) && AIO_Func.isKillable(target, R))
         {
             AIO_Func.CCast(R, target);
         }
     }
 }
Exemple #18
0
 static void KillstealE()
 {
     foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health))
     {
         if (E.CanCast(target) && AIO_Func.isKillable(target, E))
         {
             AIO_Func.CCast(E, target);
         }
     }
 }
Exemple #19
0
        static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (!AIO_Menu.Champion.Misc.UseAntiGapcloser || Player.IsDead)
            {
                return;
            }

            if (E.IsReady() && Player.Distance(gapcloser.Sender.Position) <= E.Range)
            {
                AIO_Func.CCast(E, gapcloser.Sender);
            }
        }
Exemple #20
0
        static void Interrupter2_OnInterruptableTarget(Obj_AI_Hero sender, Interrupter2.InterruptableTargetEventArgs args)
        {
            if (!AIO_Menu.Champion.Misc.UseInterrupter || Player.IsDead)
            {
                return;
            }

            if (E.IsReady() && Player.Distance(sender.Position) <= E.Range)
            {
                AIO_Func.CCast(E, sender);
            }
        }
Exemple #21
0
        static void Interrupter2_OnInterruptableTarget(Obj_AI_Hero sender, Interrupter2.InterruptableTargetEventArgs args)
        {
            if (!AIO_Menu.Champion.Misc.UseInterrupter || Player.IsDead)
            {
                return;
            }

            if (E.CanCast(sender) && E.IsReady())
            {
                AIO_Func.CCast(E, sender);
            }
        }
Exemple #22
0
        static void Interrupter2_OnInterruptableTarget(Obj_AI_Hero sender, Interrupter2.InterruptableTargetEventArgs args)
        {
            if (!AIO_Menu.Champion.Misc.UseInterrupter || Player.IsDead)
            {
                return;
            }

            if (R.CanCast(sender) && R.Instance.Name == "ViktorChaosStorm")
            {
                AIO_Func.CCast(R, sender);
            }
        }
Exemple #23
0
        static void Harass()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Harass.IfMana))
            {
                return;
            }

            if (AIO_Menu.Champion.Harass.UseE && E.IsReady())
            {
                var Etarget = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Magical);
                AIO_Func.CCast(E, Etarget);
            }
        }
Exemple #24
0
        static void Killsteal()
        {
            foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health))
            {
                if (W.CanCast(target) && AIO_Func.isKillable(target, W) && AIO_Menu.Champion.Misc.getBoolValue("KillstealW"))
                {
                    AIO_Func.CCast(W, target);
                }

                if (E.CanCast(target) && AIO_Func.isKillable(target, E) && AIO_Menu.Champion.Misc.getBoolValue("KillstealE"))
                {
                    E.Cast(target);
                }
            }
        }
Exemple #25
0
        static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser)
        {
            if (!AIO_Menu.Champion.Misc.UseAntiGapcloser || Player.IsDead)
            {
                return;
            }

            if (W.IsReady() &&
                Player.Distance(gapcloser.Sender.Position) <= W.Range)
            {
                AIO_Func.CCast(W, gapcloser.Sender); //W.Cast((Vector3)gapcloser.End);
            }
            if (gapcloser.Sender.HasBuff2("brandablaze") && Q.IsReady() &&
                Player.Distance(gapcloser.Sender.Position) <= Q.Range)
            {
                AIO_Func.LCast(Q, gapcloser.Sender, QD, 0);
            }
        }
Exemple #26
0
        static void Interrupter2_OnInterruptableTarget(Obj_AI_Hero sender, Interrupter2.InterruptableTargetEventArgs args)
        {
            if (!AIO_Menu.Champion.Misc.UseInterrupter || Player.IsDead)
            {
                return;
            }

            if (W.IsReady() &&
                Player.Distance(sender.Position) <= W.Range)
            {
                AIO_Func.CCast(W, sender);
            }
            if (sender.HasBuff2("brandablaze") && Q.IsReady() &&
                Player.Distance(sender.Position) <= Q.Range)
            {
                AIO_Func.LCast(Q, sender, QD, 0);
            }
        }
Exemple #27
0
 static void KillstealR()
 {
     foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health))
     {
         if (R.CanCast(target) && Q.CanCast(target) && AIO_Func.isKillable(target, R.GetDamage2(target) + Q.GetDamage2(target)))
         {
             AIO_Func.CCast(R, target);
         }
         else if (R.CanCast(target) && W.IsReady() && AIO_Func.isKillable(target, R.GetDamage2(target) + W.GetDamage2(target)))
         {
             AIO_Func.CCast(R, target);
         }
         else if (R.CanCast(target) && AIO_Func.isKillable(target, R))
         {
             AIO_Func.CCast(R, target);
         }
     }
 }
Exemple #28
0
        static void Jungleclear()
        {
            if (!(AIO_Func.getManaPercent(Player) > AIO_Menu.Champion.Jungleclear.IfMana))
            {
                return;
            }

            var Mobs = MinionManager.GetMinions(1000, MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.MaxHealth);

            if (Mobs.Count <= 0)
            {
                return;
            }

            if (AIO_Menu.Champion.Jungleclear.UseE && E.IsReady() && Mobs.Any(x => x.IsValidTarget(E.Range)))
            {
                AIO_Func.CCast(E, Mobs[0]);
            }
        }
Exemple #29
0
        static void Combo()
        {
            if (AIO_Menu.Champion.Combo.UseQ && Q.IsReady())
            {
                var Qtarget = TargetSelector.GetTarget(Q.Range, Q.DamageType);
                if ((PriorSpell.Q != SelectedPriorSpell || Qtarget.HasBuff2("brandablaze")) && Qtarget != null)
                {
                    AIO_Func.LCast(Q, Qtarget, QD, 0);
                }
            }

            if (AIO_Menu.Champion.Combo.UseE && E.IsReady())
            {
                var Etarget = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Magical);
                if ((PriorSpell.E != SelectedPriorSpell || Etarget.HasBuff2("brandablaze")) && Etarget != null)
                {
                    E.Cast(Etarget);
                }
            }

            if (AIO_Menu.Champion.Combo.UseW && W.IsReady())
            {
                var Wtarget = TargetSelector.GetTarget(W.Range, W.DamageType);
                if ((PriorSpell.W != SelectedPriorSpell || Wtarget.HasBuff2("brandablaze")) && Wtarget != null)
                {
                    AIO_Func.CCast(W, Wtarget);
                }
            }

            if (AIO_Menu.Champion.Combo.UseR && R.IsReady())
            {
                var Rtarget = TargetSelector.GetTarget(R.Range, R.DamageType);

                if (Rtarget.Health + Rtarget.HPRegenRate <= R.GetDamage2(Rtarget) * 2)
                {
                    if (HeroManager.Enemies.Any(x => x.IsValidTarget(R.Range)))
                    {
                        R.Cast(Rtarget);
                    }
                }
            }
        }
Exemple #30
0
        static void Laneclear()
        {
            if (!(Player.ManaPercent > AIO_Menu.Champion.Laneclear.IfMana))
            {
                return;
            }

            var Minions = MinionManager.GetMinions(1000, MinionTypes.All, MinionTeam.Enemy);

            if (Minions.Count <= 0)
            {
                return;
            }

            if (AIO_Menu.Champion.Laneclear.UseE && E.IsReady())
            {
                var _m = MinionManager.GetMinions(E.Range, MinionTypes.All, MinionTeam.Enemy, MinionOrderTypes.MaxHealth).FirstOrDefault(m => m.Health < ((Player.GetSpellDamage(m, SpellSlot.E))) && HealthPrediction.GetHealthPrediction(m, (int)(Player.Distance(m, false) / E.Speed), (int)(E.Delay * 1000 + Game.Ping / 2)) > 0);

                if (_m != null)
                {
                    AIO_Func.LCast(E, _m, ED, float.MaxValue);
                }
            }

            if (AIO_Menu.Champion.Laneclear.UseW && W.IsReady() && (Q.IsReady() || E.IsReady()))
            {
                if (Minions.Any(x => x.IsValidTarget(W.Range)))
                {
                    AIO_Func.CCast(W, Minions[0]);
                }
            }

            if (AIO_Menu.Champion.Laneclear.UseQ && Q.IsReady())
            {
                var _m = MinionManager.GetMinions(Q.Range, MinionTypes.All, MinionTeam.Enemy, MinionOrderTypes.MaxHealth).FirstOrDefault(m => m.Health < ((Player.GetSpellDamage(m, SpellSlot.Q))) && HealthPrediction.GetHealthPrediction(m, (int)(Player.Distance(m, false) / Q.Speed), (int)(Q.Delay * 1000 + Game.Ping / 2)) > 0);

                if (_m != null)
                {
                    AIO_Func.CCast(Q, _m);
                }
            }
        }