Exemplo n.º 1
0
        public override void KillSteal()
        {
            foreach (var target in EntityManager.Heroes.Enemies.Where(t => t != null))
            {
                if (IsCastingR && R.IsReady() && AutoMenu.CheckBoxValue("RKS"))
                {
                    if (target.IsKillable(R.Range) && CurrentRDamage(target) >= target.TotalShieldHealth() && JhinRSector(LastRPosition).IsInside(target))
                    {
                        R.Cast(target, AutoMenu.SliderValue("RHit"));
                        return;
                    }
                }

                if (IsCastingR)
                {
                    return;
                }

                if (W.IsReady() && KillStealMenu.CheckBoxValue(SpellSlot.W) && W.WillKill(target))
                {
                    W.Cast(target, 50);
                    return;
                }

                if (Q.IsReady() && KillStealMenu.CheckBoxValue(SpellSlot.Q) && Q.WillKill(target))
                {
                    Q.Cast(target);
                    return;
                }
            }
        }
Exemplo n.º 2
0
        public override void Active()
        {
            foreach (var target in EntityManager.Heroes.Enemies.Where(e => e.IsKillable(Q.Range)))
            {
                Q3AOE(target, AutoMenu.SliderValue("Q3AOE"));
            }

            RAOE(AutoMenu.CheckBoxValue("RAOE"), AutoMenu.SliderValue("Rhits"));
        }
Exemplo n.º 3
0
 public override void Active()
 {
     OriannaBall =
         ObjectManager.Get <Obj_AI_Base>()
         .FirstOrDefault(o => o != null && (o.HasBuff("OrianaGhostSelf") || o.HasBuff("OrianaGhost") && (o.GetBuff("OrianaGhost").Caster.IsMe || o.GetBuff("OrianaGhostSelf").Caster.IsMe)));
     if (AutoMenu.CheckBoxValue(R.Slot))
     {
         RAOE(AutoMenu.SliderValue("RAOE"));
     }
 }
Exemplo n.º 4
0
        public override void Active()
        {
            if (EntityManager.Heroes.Allies.Any(a => AutoMenu.CheckBoxValue("AutoHeal") && a.IsKillable(W.Range) && a.PredictHealthPercent() < 50 && W.IsReady()))
            {
                W.Cast();
            }

            if (AutoMenu.CheckBoxValue("AutoR"))
            {
                R.SetSkillshot().CastAOE(AutoMenu.SliderValue("AutoR#"));
            }
        }
Exemplo n.º 5
0
        public override void Active()
        {
            foreach (
                var ally in
                EntityManager.Heroes.Allies.Where(a => a.IsKillable(W.Range) && a.HealthPercent < 50)
                .Where(ally => AutoMenu.CheckBoxValue("AutoHeal")).Where(ally => W.IsReady()))
            {
                W.Cast();
            }

            if (AutoMenu.CheckBoxValue("AutoR"))
            {
                R.SetSkillshot().CastAOE(AutoMenu.SliderValue("AutoR#"));
            }
        }
Exemplo n.º 6
0
        public override void Active()
        {
            if (Q.SetSkillshot().SourcePosition != MyBall?.ServerPosition)
            {
                Q.SetSkillshot().SourcePosition = MyBall?.ServerPosition;
            }
            QR.SourcePosition = Q.SetSkillshot().SourcePosition;

            BetaAntiGapCloser();
            BetInterrupter();

            if (R.IsReady() && AutoMenu.CheckBoxValue("aoeR"))
            {
                RAOE(AutoMenu.SliderValue("Raoe"));
            }
        }
Exemplo n.º 7
0
        public override void Draw()
        {
            if (DrawMenu.CheckBoxValue("LV"))
            {
                foreach (var enemy in StalkedEnemies.Where(e => Core.GameTickCount - e.LastVisibleTime > 100 && Core.GameTickCount - e.LastVisibleTime < 3750))
                {
                    Circle.Draw(SharpDX.Color.Red, 250, enemy.PredictedPosition);
                    Drawing.DrawText(enemy.PredictedPosition.WorldToScreen(), Color.Red, enemy.Target.Name() + ": LastVisiblePosition", 10);
                }
            }

            foreach (var spell in SpellList.Where(s => DrawMenu.CheckBoxValue(s.Slot)))
            {
                Circle.Draw(spell.IsReady() ? SharpDX.Color.Chartreuse : SharpDX.Color.OrangeRed, spell.Range, user);
            }

            if (IsCastingR && LastRPosition != null)
            {
                if (AutoMenu.CheckBoxValue("Rmouse"))
                {
                    Circle.Draw(SharpDX.Color.Goldenrod, AutoMenu.SliderValue("MouseRange"), Game.CursorPos);
                }
                if (DrawMenu.CheckBoxValue("RSector"))
                {
                    JhinRSector(LastRPosition).Draw(Color.AliceBlue, 2);
                }
            }

            if (DrawMenu.CheckBoxValue("Notifications") && R.IsReady())
            {
                var i = 0f;
                foreach (var t in EntityManager.Heroes.Enemies.Where(e => e.IsKillable()))
                {
                    if (t != null && t.IsKillable(R.Range + R.Radius))
                    {
                        var totalRDamage = TotalRDamage(t);

                        if (totalRDamage >= t.TotalShieldHealth())
                        {
                            i += 0.02f;
                            Drawing.DrawText(Drawing.Width * 0.1f, Drawing.Height * (0.4f + i), Color.YellowGreen, (int)(t.TotalShieldHealth() / (totalRDamage / 4)) + " x Ult can kill: " + t.ChampionName + " have: " + (int)t.TotalShieldHealth() + "HP / TotalRDamage: " + (int)TotalRDamage(t));
                            Extentions.DrawLine(t.Position, user.Position, 6, Color.Yellow);
                        }
                    }
                }
            }
        }
Exemplo n.º 8
0
        public override void Active()
        {
            var teamHp = EntityManager.Heroes.Allies.Where(a => a.IsKillable()).Sum(a => a.HealthPercent)/5;

            if (AutoMenu.CheckBoxValue("AutoRteam") && teamHp <= AutoMenu.SliderValue("AutoRteamHp"))
            {
                R.Cast();
            }

            foreach (
                var ally in
                    EntityManager.Heroes.Allies.Where(
                        a => a.IsKillable(W.Range) && a.HealthPercent < 50 && user.HealthPercent >= 40)
                        .Where(ally => AutoMenu.CheckBoxValue("AutoHeal")))
            {
                W.Cast(ally);
            }
        }
Exemplo n.º 9
0
        public override void Active()
        {
            var teamHp = EntityManager.Heroes.Allies.Where(a => a.IsKillable()).Sum(a => a.PredictHealthPercent()) / 5;

            if (AutoMenu.CheckBoxValue("AutoRteam") && teamHp <= AutoMenu.SliderValue("AutoRteamHp"))
            {
                R.Cast();
            }

            /*
             * foreach (
             *  var ally in
             *      EntityManager.Heroes.Allies.Where(
             *          a => a.IsKillable(W.Range) && a.PredictHealthPercent() < 50 && user.PredictHealthPercent() >= 40)
             *          .Where(ally => AutoMenu.CheckBoxValue("AutoHeal")))
             * {
             *  W.Cast(ally);
             * }*/
        }
Exemplo n.º 10
0
        public override void Active()
        {
            Orbwalker.DisableMovement  = IsCastingR;
            Orbwalker.DisableAttacking = IsCastingR;

            if (!user.Spellbook.IsChanneling && !user.Spellbook.IsCharging && !user.Spellbook.IsCastingSpell)
            {
                IsCastingR   = false;
                CurrentRShot = 0;
            }

            var RKillable = EntityManager.Heroes.Enemies.OrderBy(t => t.TotalShieldHealth() / TotalRDamage(t)).FirstOrDefault(e => e != null && TotalRDamage(e) >= e.TotalShieldHealth() && e.IsKillable(R.Range));

            if (!IsCastingR && R.IsReady() && RKillable != null && user.CountEnemiesInRange(1200) < 1)
            {
                R.Cast(RKillable);
            }

            if (IsCastingR && AutoMenu.CheckBoxValue("R") && LastRPosition != null)
            {
                var target = EntityManager.Heroes.Enemies.OrderBy(t => t.TotalShieldHealth() / TotalRDamage(t)).FirstOrDefault(e => e != null && e.IsKillable(R.Range) && JhinRSector(LastRPosition).IsInside(e));

                if (target != null && target.IsKillable(R.Range))
                {
                    R.Cast(target, AutoMenu.SliderValue("RHit"));
                }
            }

            if (IsCastingR)
            {
                return;
            }

            if (AutoMenu.CheckBoxValue("AutoW") && W.IsReady())
            {
                foreach (var target in EntityManager.Heroes.Enemies.Where(e => e.IsKillable(W.Range) && HasJhinEBuff(e)))
                {
                    W.Cast(target, 45);
                }
            }
        }
Exemplo n.º 11
0
        public override void KillSteal()
        {
            foreach (var target in EntityManager.Heroes.Enemies.Where(t => t != null))
            {
                if (IsCastingR && R.IsReady() && AutoMenu.CheckBoxValue("RKS"))
                {
                    if (target.IsKillable(R.Range) && CurrentRDamage(target) >= target.TotalShieldHealth() && JhinRSector(LastRPosition).IsInside(target))
                    {
                        R.Cast(target, AutoMenu.SliderValue("RHit"));
                        LastRTarget = target;
                        return;
                    }
                }

                if (IsCastingR)
                {
                    return;
                }

                if (W.IsReady() && KillStealMenu.CheckBoxValue(SpellSlot.W) && W.WillKill(target))
                {
                    W.Cast(target, 50);
                    return;
                }

                if (Q.IsReady() && KillStealMenu.CheckBoxValue(SpellSlot.Q) && Q.WillKill(target))
                {
                    var Qtar = ObjectManager.Get <Obj_AI_Base>().OrderBy(m => m.Distance(target)).FirstOrDefault(m => m.IsKillable(Q.Range) && m.PrediectPosition(Game.Ping + 250).Distance(target.PrediectPosition(Game.Ping + 250)) < 400);
                    if (target.IsKillable(Q.Range))
                    {
                        Q.Cast(target);
                    }
                    if (Qtar != null)
                    {
                        Q.Cast(Qtar);
                    }
                    return;
                }
            }
        }
Exemplo n.º 12
0
        private static void Obj_AI_Base_OnBuffGain(Obj_AI_Base sender, Obj_AI_BaseBuffGainEventArgs args)
        {
            var caster = sender as AIHeroClient;

            if (caster != null && R.IsReady() && caster.IsEnemy && BoundHero != null)
            {
                if (Ballistaheros.Any(b => b?.Hero == BoundHero?.Hero && AutoMenu.CheckBoxValue(b.Hero.ToString()) && args.Buff.Name == b.BuffName && AutoMenu.SliderValue(b.Hero + "dis") >= user.Distance(BoundHero)))
                {
                    R.Cast();
                }
            }
        }
Exemplo n.º 13
0
 public override void Active()
 {
     RAOE(AutoMenu.SliderValue("RAOE"));
 }
Exemplo n.º 14
0
        public override void Active()
        {
            Stalking();
            Orbwalker.DisableMovement  = IsCastingR;
            Orbwalker.DisableAttacking = IsCastingR;

            if (!user.Spellbook.IsChanneling && !user.Spellbook.IsCharging && !user.Spellbook.IsCastingSpell)
            {
                IsCastingR   = false;
                CurrentRShot = 0;
            }

            if (IsCastingR && AutoMenu.CheckBoxValue("R") && LastRPosition != null)
            {
                var target = AutoMenu.CheckBoxValue("Rmouse")
                                 ? EntityManager.Heroes.Enemies.OrderBy(h => h.Distance(Game.CursorPos))
                             .FirstOrDefault(e => e != null && e.IsKillable(R.Range) && e.IsInRange(Game.CursorPos, AutoMenu.SliderValue("MouseRange")) && JhinRSector(LastRPosition).IsInside(e))
                                 : EntityManager.Heroes.Enemies.OrderBy(t => t.TotalShieldHealth() / TotalRDamage(t))
                             .FirstOrDefault(e => e != null && e.IsKillable(R.Range) && JhinRSector(LastRPosition).IsInside(e));

                if (TargetSelector.SelectedTarget != null && TargetSelector.SelectedTarget.IsKillable(R.Range) && JhinRSector(LastRPosition).IsInside(TargetSelector.SelectedTarget))
                {
                    target = TargetSelector.SelectedTarget;
                }

                if (LastRTarget != null && BlueTrinket.IsOwned(user) && BlueTrinket.IsReady() && AutoMenu.CheckBoxValue("Blue"))
                {
                    foreach (var enemy in StalkedEnemies.Where(e => e.Target.IdEquals(LastRTarget) && Core.GameTickCount - e.LastVisibleTime > 75 && e.Target.IsKillable(R.Range) && JhinRSector(LastRPosition).IsInside(e.Target) && BlueTrinket.IsInRange(e.Target.ServerPosition) && Core.GameTickCount - e.LastVisibleTime < 3750))
                    {
                        BlueTrinket.Cast(enemy.PredictedPosition);
                    }
                }

                if (target != null)
                {
                    if (AutoMenu.ComboBoxValue("Rmode") == 0)
                    {
                        R.Cast(target, AutoMenu.SliderValue("RHit"));
                        LastRTarget = target;
                    }
                    else
                    {
                        if (RTap)
                        {
                            R.Cast(target, AutoMenu.SliderValue("RHit"));
                            LastRTarget = target;
                        }
                    }
                }
                return;
            }

            if (IsCastingR)
            {
                return;
            }

            if (AutoMenu.CheckBoxValue("AutoW") && W.IsReady())
            {
                foreach (var target in EntityManager.Heroes.Enemies.Where(e => e.IsKillable(W.Range) && e.HasJhinEBuff()))
                {
                    W.Cast(target, 45);
                }
            }
        }