Ejemplo n.º 1
0
        private static void AutoE()
        {
            if (!E.IsReady())
            {
                return;
            }

            if (MenuConfig.StealEpic)
            {
                foreach (var m in GameObjects.JungleLegendary.Where(x => x.IsValidTarget(E.Range)))
                {
                    if (m.Health < E.GetDamage(m))
                    {
                        E.Cast();
                    }
                }
            }

            if (!MenuConfig.StealRed)
            {
                return;
            }

            var mob = GameObjects.Jungle.Where(x => x.IsValidTarget(E.Range));

            foreach (var m in mob)
            {
                if (!m.CharData.BaseSkinName.Contains("SRU_Red"))
                {
                    continue;
                }

                if (m.Health < E.GetDamage(m))
                {
                    E.Cast();
                }
            }

            if (!SafeTarget(Target) ||
                !MenuConfig.KillstealE ||
                Target.Health > dmg.EDamage(Target))
            {
                return;
            }

            E.Cast();

            if (MenuConfig.Debug)
            {
                Chat.Print("Executing: ", Target.ChampionName);
            }
        }
Ejemplo n.º 2
0
        public static void OnDraw(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }
            var heropos = Drawing.WorldToScreen(ObjectManager.Player.Position);

            if (HasPassive)
            {
                var passiveTime = Math.Max(0, Player.GetBuff("TwitchHideInShadows").EndTime) - Game.Time;

                if (!MenuConfig.DrawTimer)
                {
                    return;
                }
                Drawing.DrawText(heropos.X - 30, heropos.Y + 60, Color.White, "Q Time: " + passiveTime);
                Render.Circle.DrawCircle(Player.Position, passiveTime * Player.MoveSpeed, Color.Gray);
            }
            if (Target == null || Target.IsDead || Target.IsInvulnerable || !Target.LSIsValidTarget())
            {
                return;
            }

            if (!MenuConfig.DrawKillable)
            {
                return;
            }

            if (Target.Health <= Dmg.EDamage(Target))
            {
                Drawing.DrawText(heropos.X - 60, heropos.Y + 120, Color.White, Target.Name + " Is Killable By Passive");
            }
        }
Ejemplo n.º 3
0
        private static void AutoE()
        {
            if (!E.IsReady())
            {
                return;
            }

            if (MenuConfig.StealEpic)
            {
                foreach (var m in ObjectManager.Get <Obj_AI_Base>().Where(x => Dragons.Contains(x.CharData.BaseSkinName) && !x.IsDead))
                {
                    if (m.Health < E.GetDamage(m))
                    {
                        E.Cast();
                    }
                }
            }

            if (!MenuConfig.StealRed)
            {
                return;
            }

            var mob = ObjectManager.Get <Obj_AI_Minion>().Where(m => !m.IsDead && !m.IsZombie && m.Team == GameObjectTeam.Neutral && m.LSIsValidTarget(E.Range)).ToList();

            foreach (var m in mob)
            {
                if (!m.CharData.BaseSkinName.Contains("SRU_Red"))
                {
                    continue;
                }

                if (m.Health < E.GetDamage(m))
                {
                    E.Cast();
                }
            }

            if (!SafeTarget(Target))
            {
                return;
            }
            if (!MenuConfig.KillstealE || MenuConfig.UseExploit)
            {
                return;
            }
            if (!(Dmg.EDamage(Target) >= Target.Health))
            {
                return;
            }

            E.Cast();

            if (MenuConfig.Debug)
            {
                Chat.Print("Killteal E Active");
            }
        }
Ejemplo n.º 4
0
        public static void Draw(EventArgs args)
        {
            foreach (var enemy in ObjectManager.Get<AIHeroClient>().Where(ene => ene.LSIsValidTarget() && !ene.IsZombie))
            {
                if (!MenuConfig.DrawDmg) continue;

                Indicator.unit = enemy;
                Indicator.drawDmg(Dmg.EDamage(enemy), new ColorBGRA(255, 204, 0, 170));
            }
        }
Ejemplo n.º 5
0
        public static void OnEndScene(EventArgs args)
        {
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(ene => ene.IsValidTarget(1350)))
            {
                if (!MenuConfig.DrawDmg)
                {
                    continue;
                }

                Indicator.Unit = enemy;
                Indicator.DrawDmg(dmg.EDamage(enemy), Color.LawnGreen);
            }
        }
Ejemplo n.º 6
0
        private static void Jungle()
        {
            if (Player.Level == 1)
            {
                return;
            }
            var mob = ObjectManager.Get <Obj_AI_Minion>().Where(m => !m.IsDead && !m.IsZombie && m.Team == GameObjectTeam.Neutral && !GameObjects.JungleSmall.Contains(m) && m.LSIsValidTarget(E.Range)).ToList();

            if (MenuConfig.JungleW && Player.ManaPercent >= 20)
            {
                if (mob.Count == 0)
                {
                    return;
                }

                var wPrediction = W.GetCircularFarmLocation(mob);
                if (wPrediction.MinionsHit >= 3)
                {
                    W.Cast(wPrediction.Position);
                }
            }

            if (!MenuConfig.JungleE)
            {
                return;
            }
            if (!E.IsReady())
            {
                return;
            }

            foreach (var m in ObjectManager.Get <Obj_AI_Base>().Where(x => Monsters.Contains(x.CharData.BaseSkinName) && !x.IsDead))
            {
                if (m.Health < Dmg.EDamage(m))
                {
                    E.Cast();
                }
            }
        }
Ejemplo n.º 7
0
        private static void Combo()
        {
            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
            {
                return;
            }

            if (!SafeTarget(Target))
            {
                return;
            }

            if (MenuConfig.ComboE)
            {
                if (!E.IsReady())
                {
                    return;
                }
                if (Target.Health <= Dmg.EDamage(Target))
                {
                    E.Cast();

                    if (MenuConfig.Debug)
                    {
                        Chat.Print("Combo => Casting E");
                    }
                }
            }


            if (MenuConfig.UseYoumuu && Target.LSIsValidTarget(Player.AttackRange))
            {
                Usables.CastYomu();
            }

            if (Target.HealthPercent <= 70 && !MenuConfig.UseExploit)
            {
                Usables.Botrk();
            }


            if (!MenuConfig.ComboW)
            {
                return;
            }
            if (!W.IsReady())
            {
                return;
            }
            if (!Target.LSIsValidTarget(W.Range))
            {
                if (Target.Health <= Player.GetAutoAttackDamage(Target) * 2 && Target.Distance(Player) < Player.AttackRange)
                {
                    return;
                }
            }
            if (!(Player.ManaPercent >= 7.5))
            {
                return;
            }

            var wPred = W.GetPrediction(Target).CastPosition;

            W.Cast(wPred);
        }
Ejemplo n.º 8
0
        public static void Update(EventArgs args)
        {
            if (!SafeTarget(Target))
            {
                return;
            }

            if (!MenuConfig.UseExploit)
            {
                return;
            }

            if (!Q.IsReady())
            {
                return;
            }

            if (!(Target.Distance(Player) < Player.AttackRange))
            {
                return;
            }

            if (MenuConfig.Eaaq)
            {
                if (!E.IsReady())
                {
                    return;
                }

                /*
                 * if (Target.Health <= Dmg.EDamage(Target) * 1.1 + Player.GetAutoAttackDamage(Target) && Items.HasItem(3153))
                 * {
                 *  Usables.Botrk();
                 *  E.Cast();
                 *  if (MenuConfig.Debug)
                 *  {
                 *      Game.PrintChat("Exploit: Casting Botrk E AA Q");
                 *  }
                 * }
                 */
                if (Target.Health <= Dmg.EDamage(Target) + Player.LSGetAutoAttackDamage(Target))
                {
                    E.Cast();
                    if (MenuConfig.Debug)
                    {
                        Chat.Print("Exploit: Casting E AA Q");
                    }
                }
            }


            if (MenuConfig.Eaaaaq)
            {
                if (!E.IsReady())
                {
                    return;
                }

                if (!(Target.Health <= Dmg.EDamage(Target) + Player.LSGetAutoAttackDamage(Target)) || !(Player.HealthPercent >= 65))
                {
                    return;
                }

                E.Cast();

                if (!MenuConfig.Debug)
                {
                    return;
                }

                do
                {
                    Chat.Print("Exploit: Casting E AA AA Q");
                } while (E.Cast());
            }

            if (!(Target.Health <= Player.LSGetAutoAttackDamage(Target)) || !Player.Spellbook.IsAutoAttacking)
            {
                return;
            }

            EloBuddy.Player.IssueOrder(GameObjectOrder.AttackUnit, Target);
            Q.Cast();
            if (MenuConfig.Debug)
            {
                Chat.Print("Exploit Active...");
            }
        }