Beispiel #1
0
        public static void UseQ()
        {
            var target = TargetSelector.GetTarget((int)Variables._Player.GetAutoAttackRange(), DamageType.Physical);

            if (Functions.Modes.Combo.AfterAttack && MenuManager.ComboMenu["UseQwhen"].Cast <ComboBox>().CurrentValue == 0)
            {
                if (target == null)
                {
                    return;
                }
                QLogic.OnCastTumble(target, Game.CursorPos);
            }

            if (Functions.Modes.Combo.BeforeAttack && MenuManager.ComboMenu["UseQwhen"].Cast <ComboBox>().CurrentValue == 1)
            {
                if (target == null)
                {
                    return;
                }
                QLogic.PreCastTumble(target);
            }

            if (MenuManager.ComboMenu["UseQwhen"].Cast <ComboBox>().CurrentValue == 2)
            {
                return;
            }
        }
Beispiel #2
0
        public static void Execute()
        {
            if (!Program.Q.IsReady())
            {
                return;
            }

            var minionsInRange =
                EntityManager.MinionsAndMonsters.GetLaneMinions(EntityManager.UnitTeam.Enemy,
                                                                ObjectManager.Player.ServerPosition, ObjectManager.Player.AttackRange + 65)
                .Where(
                    m =>
                    m.Health <=
                    ObjectManager.Player.GetAutoAttackDamage(m) +
                    Variables._Player.GetSpellDamage(m, SpellSlot.Q))
                .ToList();

            if (minionsInRange.Count() > 1)
            {
                var firstMinion         = minionsInRange.OrderBy(m => m.HealthPercent).First();
                var afterTumblePosition = QLogic.GetAfterTumblePosition(Game.CursorPos);
                if (afterTumblePosition.Distance(firstMinion.ServerPosition) <= Variables._Player.GetAutoAttackRange())
                {
                    QLogic.DefaultQCast(Game.CursorPos, firstMinion);
                    Orbwalker.ForcedTarget = firstMinion;
                }
            }
        }
Beispiel #3
0
        static ModeManager()
        {
            // Initialize properties
            Modes = new List <ModeBase>();

            {
                QLogic = new QLogic();
                WLogic = new WLogic();
                ELogic = new ELogic();
                RLogic = new RLogic();
            }

            Modes.AddRange(new ModeBase[]
            {
                new PermaActive(),
                new Combo(),
                new Harass(),
                new LaneClear(),
                new JungleClear(),
                new LastHit(),
                new Flee()
            });


            Game.OnTick += OnTick;
        }
Beispiel #4
0
 public static void UseQ()
 {
     if (MenuManager.JungleClearMenu["JCQ"].Cast <CheckBox>().CurrentValue&& Program.Q.IsReady() &&
         !Game.CursorPos.IsDangerousPosition())
     {
         QLogic.JungleClear();
     }
 }
Beispiel #5
0
        protected override void OnLoad(object sender, FeatureBaseEventArgs eventArgs)
        {
            base.OnLoad(sender, eventArgs);

            Menu.AddItem(new MenuItem("QMana", "Mana %").SetValue(new Slider(80, 0, 100)));

            Menu.AddItem(new MenuItem("AAQ", "AA Before Q").SetValue(true).SetTooltip("AA Q Reset"));

            qLogic = new QLogic();
        }
Beispiel #6
0
        protected sealed override void OnLoad(object sender, FeatureBaseEventArgs eventArgs)
        {
            base.OnLoad(sender, eventArgs);

            Menu.AddItem(new MenuItem("QRange", "Q Range ").SetValue(new Slider(835, 0, 850)));

            Menu.AddItem(new MenuItem("QMana", "Mana %").SetValue(new Slider(45, 0, 100)));

            qLogic = new QLogic();
        }
Beispiel #7
0
        protected sealed override void OnLoad(object sender, FeatureBaseEventArgs eventArgs)
        {
            base.OnLoad(sender, eventArgs);

            Menu.AddItem(new MenuItem("LaneQEnemy", "Only If No Enemies Visible").SetValue(true));

            Menu.AddItem(new MenuItem("LaneQDistance", "Q Distance").SetValue(new Slider(730, 0, 825)));

            Menu.AddItem(new MenuItem("LaneQHit", "Min Minions Hit").SetValue(new Slider(3, 0, 6)));

            Menu.AddItem(new MenuItem("LaneQMana", "Mana %").SetValue(new Slider(15, 0, 100)));

            qLogic = new QLogic();
        }
Beispiel #8
0
        public static void UseQ()
        {
            var mode   = MenuManager.ComboMenu["Qmode"].Cast <Slider>().CurrentValue;
            var target = Orbwalker.LastTarget as AIHeroClient;

            if (Functions.Modes.Combo.AfterAttack && MenuManager.ComboMenu["UseQa"].Cast <CheckBox>().CurrentValue)
            {
                if (target == null)
                {
                    return;
                }
                var tumblePosition = Game.CursorPos;
                switch (mode)
                {
                case 2:
                    tumblePosition = QLogic.GetSafeTumblePos(target);
                    break;

                case 1:
                    tumblePosition = Game.CursorPos;
                    break;
                }
                QLogic.Cast(tumblePosition);
            }

            if (Functions.Modes.Combo.BeforeAttack && MenuManager.ComboMenu["UseQb"].Cast <CheckBox>().CurrentValue)
            {
                if (target == null)
                {
                    return;
                }
                var tumblePosition = Game.CursorPos;
                switch (mode)
                {
                case 2:
                    tumblePosition = QLogic.GetSafeTumblePos(target);
                    break;

                case 1:
                    tumblePosition = Game.CursorPos;
                    break;
                }
                QLogic.Cast(tumblePosition);
            }
        }
Beispiel #9
0
 private static void Harass()
 {
     if (ObjectManager.Player.ManaPercent < Helper.Slider("harass.mana"))
     {
         return;
     }
     if (Spells.Q.IsReady() && Helper.Enabled("q.harass"))
     {
         foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.Q.Range) && !x.IsDead && !x.IsZombie))
         {
             QLogic.QGeneral(enemy);
         }
     }
     if (Spells.E.IsReady() && Helper.Enabled("e.harass"))
     {
         foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.E.Range) && !x.IsDead && !x.IsZombie))
         {
             ELogic.NormalE(enemy);
         }
     }
 }
Beispiel #10
0
        public static void UseQ2()
        {
            var target = Orbwalker.LastTarget as Obj_AI_Base;

            if (Functions.Modes.Combo.AfterAttack && MenuManager.ComboMenu["UseQa"].Cast <CheckBox>().CurrentValue)
            {
                if (target == null)
                {
                    return;
                }
                QLogic.PreCastTumble(target);
            }

            if (Functions.Modes.Combo.BeforeAttack && MenuManager.ComboMenu["UseQb"].Cast <CheckBox>().CurrentValue)
            {
                if (target == null)
                {
                    return;
                }
                QLogic.PreCastTumble(target);
            }
        }
Beispiel #11
0
 private static void Combo()
 {
     if (Spells.Q.IsReady() && Helper.Enabled("q.combo"))
     {
         foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.Q.Range) && !x.IsDead && !x.IsZombie))
         {
             QLogic.QGeneral(enemy);
         }
     }
     if (Spells.E.IsReady() && Helper.Enabled("e.combo"))
     {
         foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Spells.E.Range) && !x.IsDead && !x.IsZombie))
         {
             ELogic.NormalE(enemy);
         }
     }
     if (Spells.R.IsReady() && Helper.Enabled("r.combo"))
     {
         foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValidTarget(Helper.Slider("min.r.distance.y")) && !x.IsDead && !x.IsZombie))
         {
             RLogic.RGeneral(enemy);
         }
     }
 }
Beispiel #12
0
        public override void Execute()
        {
            if (Settings.UseQ1)
            {
                var etarget = TargetSelector.GetTarget(E.Range, DamageType.Physical);
                {
                    if (Q.IsReady() && etarget != null && ObjectManager.Player.CountEnemiesInRange(2000f) <= Settings.UseQ1Slider)
                    {
                        var pos = QLogic.GetQPos(etarget, true);
                        Q.Cast(pos);
                    }
                }
            }

            if (Settings.UseQ)
            {
                var etarget = TargetSelector.GetTarget(1000f, DamageType.Physical);
                {
                    if (Q.IsReady() && etarget != null && ObjectManager.Player.CountEnemiesInRange(2000f) >= Settings.UseQ1Slider)
                    {
                        Q2.Cast(etarget.Position);
                    }
                    if (Q.IsReady() && etarget != null && !Settings.UseQ1)
                    {
                        Q2.Cast(etarget.Position);
                    }
                }
            }

            if (Settings.UseR && R.IsReady())
            {
                var target = TargetSelector.GetTarget(E.Range, DamageType.Magical);
                if (target != null && ObjectManager.Player.Distance(target) < 400 &&
                    ObjectManager.Player.HasBuff("Deceive"))
                {
                    R.Cast(target);
                }
            }
            if (Settings.UseW)
            {
                var wtarget = TargetSelector.GetTarget(W.Range, DamageType.Physical);
                {
                    if (W.IsReady() && wtarget != null)
                    {
                        var pos = QLogic.GetQPos(wtarget, true, 100);
                        W.Cast(pos);
                    }
                }
            }
            if (Settings.UseE)
            {
                var wtarget = TargetSelector.GetTarget(E.Range, DamageType.Physical);
                {
                    if (E.IsReady() && wtarget != null)
                    {
                        E.Cast(wtarget);
                    }
                }
            }
            if (!Config.Modes.MiscMenu.CloneOrbwalk)
            {
                return;
            }
            if (!PermaActive.hasClone())
            {
                return;
            }
            Program.clone = Flee.getClone();
        }
Beispiel #13
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var orbwalker = new OrbwalkerModule();
            orbwalker.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var laneParent = new OrbwalkingParent("Lane", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var mixedParent = new OrbwalkingParent("Mixed", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var draw = new Parent("Drawings");

            var reformedUtilityParent = new Parent("Reformed Utility");

            reformedUtilityParent.Add(new GragasSkinchanger());

            var qLogic = new QLogic();
            qLogic.Load();

            var qReady = new SpellMustBeReady(SpellSlot.Q);
            var wReady = new SpellMustBeReady(SpellSlot.W);
            var eReady = new SpellMustBeReady(SpellSlot.E);
            var rReady = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new ChildBase[]
            {
                new QCombo().Guardian(qReady).Guardian(new SpellMustBeReady(SpellSlot.R) { Negated = true }), 
                new WCombo().Guardian(wReady), 
                new ECombo().Guardian(eReady), 
                new RCombo().Guardian(rReady)
            });
           
            laneParent.Add(new ChildBase[]
            {
                new LaneQ().Guardian(qReady), 
                new LaneW().Guardian(wReady), 
                new LaneE().Guardian(eReady) 
            });
          
            mixedParent.Add(new ChildBase[]
            {
                new QMixed().Guardian(qReady)
            });
           
            jungleParent.Add(new ChildBase[]
            {
                new QJungle().Guardian(qReady), 
                new WJungle().Guardian(wReady), 
                new EJungle().Guardian(eReady)
            });
            
            draw.Add(new ChildBase[]
            {
                new DrawIndicator(), 
                new DrawQ(), 
                new DrawE(), 
                new DrawR()
            });
          
            superParent.Add(new Base[]
            {
                reformedUtilityParent,
                orbwalker,
                comboParent,
                mixedParent,
                laneParent,
                jungleParent,
                draw
            });

            Prediction.Initialize(superParent.Menu);

            superParent.Load();

            reformedUtilityParent.Menu.Style = FontStyle.Bold;
            reformedUtilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Gragas!</font></b>");
        }
Beispiel #14
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Initialize();

            var orbwalker = new OrbwalkerModule();

            orbwalker.Load();

            var comboParent  = new OrbwalkingParent("Combo", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var laneParent   = new OrbwalkingParent("Lane", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var mixedParent  = new OrbwalkingParent("Mixed", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var draw         = new Parent("Drawings");

            var reformedUtilityParent = new Parent("Reformed Utility");

            reformedUtilityParent.Add(new GragasSkinchanger());

            var qLogic = new QLogic();

            qLogic.Load();

            var qReady = new SpellMustBeReady(SpellSlot.Q);
            var wReady = new SpellMustBeReady(SpellSlot.W);
            var eReady = new SpellMustBeReady(SpellSlot.E);
            var rReady = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new ChildBase[]
            {
                new QCombo().Guardian(qReady).Guardian(new SpellMustBeReady(SpellSlot.R)
                {
                    Negated = true
                }),
                new WCombo().Guardian(wReady),
                new ECombo().Guardian(eReady),
                new RCombo().Guardian(rReady)
            });

            laneParent.Add(new ChildBase[]
            {
                new LaneQ().Guardian(qReady),
                new LaneW().Guardian(wReady),
                new LaneE().Guardian(eReady)
            });

            mixedParent.Add(new ChildBase[]
            {
                new QMixed().Guardian(qReady)
            });

            jungleParent.Add(new ChildBase[]
            {
                new QJungle().Guardian(qReady),
                new WJungle().Guardian(wReady),
                new EJungle().Guardian(eReady)
            });

            draw.Add(new ChildBase[]
            {
                new DrawIndicator(),
                new DrawQ(),
                new DrawE(),
                new DrawR()
            });

            superParent.Add(new Base[]
            {
                reformedUtilityParent,
                orbwalker,
                comboParent,
                mixedParent,
                laneParent,
                jungleParent,
                draw
            });

            Prediction.Initialize(superParent.Menu);

            superParent.Load();

            reformedUtilityParent.Menu.Style = FontStyle.Bold;
            reformedUtilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Gragas!</font></b>");
        }