Beispiel #1
0
        private static void Drawing_OnDraw(EventArgs args)
        {
            if (DravenMenu.CheckBox(DravenMenu.Draw, "Axes"))
            {
                var Axe = AxesManager.Axes.Where(x => x.Axe.IsValid).FirstOrDefault();

                if (Axe != null)
                {
                    Circle.Draw(Color.Lime, 120, Axe.Axe.Position);
                }
            }

            if (Draven.E.IsReady() && DravenMenu.CheckBox(DravenMenu.Draw, "E"))
            {
                Circle.Draw(Color.DarkBlue, Draven.E.Range, Player.Instance.Position);
            }

            if (DravenMenu.CheckBox(DravenMenu.Draw, "Catch"))
            {
                if (DravenMenu.ComboBox(DravenMenu.Axes, "Mode") == 0)
                {
                    Circle.Draw(Color.LimeGreen, DravenMenu.Slider(DravenMenu.Axes, "Range"), Game.CursorPos);
                }
                else if (DravenMenu.ComboBox(DravenMenu.Axes, "Mode") == 1)
                {
                    Circle.Draw(Color.LimeGreen, DravenMenu.Slider(DravenMenu.Axes, "Range"), Player.Instance.Position);
                }
            }
        }
Beispiel #2
0
        public static void Init()
        {
            if (DravenMenu.CheckBox(DravenMenu.Misc, "SkinHack"))
            {
                Player.Instance.SetSkinId(DravenMenu.Slider(DravenMenu.Misc, "SkinID"));
            }

            if (DravenMenu.Keybind(DravenMenu.Misc, "Reset"))
            {
                Player.Instance.SetModel(Player.Instance.ChampionName);
            }
        }
Beispiel #3
0
        private static void Interrupter_OnInterruptableSpell(Obj_AI_Base sender, Interrupter.InterruptableSpellEventArgs e)
        {
            if (sender.IsEnemy && sender.IsValid)
            {
                if (E.IsReady() && DravenMenu.CheckBox(DravenMenu.Misc, "Interrupter"))
                {
                    var EPred = E.GetPrediction(sender);

                    if (EPred.HitChancePercent >= DravenMenu.Slider(DravenMenu.Principal, "EPred"))
                    {
                        E.Cast(EPred.UnitPosition);
                    }
                }
            }
        }
Beispiel #4
0
        private static void Gapcloser_OnGapcloser(AIHeroClient sender, Gapcloser.GapcloserEventArgs e)
        {
            if (sender.IsEnemy && sender.IsValid)
            {
                if (E.IsReady() && DravenMenu.CheckBox(DravenMenu.Misc, "Gapcloser"))
                {
                    var EPred = E.GetPrediction(sender);

                    if (EPred.HitChancePercent >= DravenMenu.Slider(DravenMenu.Principal, "EPred"))
                    {
                        E.Cast(EPred.UnitPosition);
                    }
                }
            }
        }
Beispiel #5
0
        public static void Init()
        {
            switch (DravenMenu.ComboBox(DravenMenu.Axes, "Mode"))
            {
            case 0:

                var Axe1 = Axes.Where(x => x.Axe.Distance(Game.CursorPos) <= DravenMenu.Slider(DravenMenu.Axes, "Range")).OrderBy(x => x.Axe.Position.Distance(Player.Instance.ServerPosition)).ThenBy(x => x.Axe.Distance(Game.CursorPos)).ThenBy(x => x.Expire).FirstOrDefault();

                if (Axe1 != null && Axe1.Axe.Position.Distance(Player.Instance.ServerPosition) > 80)
                {
                    if (DravenMenu.ComboBox(DravenMenu.Axes, "Pick") == 0)
                    {
                        if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
                        {
                            Core.DelayAction(() => Orbwalker.MoveTo(Axe1.Axe.Position), DravenMenu.Slider(DravenMenu.Axes, "Delay"));
                        }
                    }
                    else if (DravenMenu.ComboBox(DravenMenu.Axes, "Pick") == 1)
                    {
                        Core.DelayAction(() => Orbwalker.MoveTo(Axe1.Axe.Position), DravenMenu.Slider(DravenMenu.Axes, "Delay"));
                    }
                }

                break;

            case 1:

                var Axe2 = Axes.Where(x => x.Axe.Distance(Player.Instance.ServerPosition) <= DravenMenu.Slider(DravenMenu.Axes, "Range")).OrderBy(x => x.Axe.Position.Distance(Player.Instance.ServerPosition)).ThenBy(x => x.Axe.Distance(Game.CursorPos)).ThenBy(x => x.Expire).FirstOrDefault();

                if (Axe2 != null && Axe2.Axe.Position.Distance(Player.Instance.ServerPosition) > 80)
                {
                    if (DravenMenu.ComboBox(DravenMenu.Axes, "Pick") == 0)
                    {
                        if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
                        {
                            Core.DelayAction(() => Orbwalker.MoveTo(Axe2.Axe.Position), DravenMenu.Slider(DravenMenu.Axes, "Delay"));
                        }
                    }
                    else if (DravenMenu.ComboBox(DravenMenu.Axes, "Pick") == 1)
                    {
                        Core.DelayAction(() => Orbwalker.MoveTo(Axe2.Axe.Position), DravenMenu.Slider(DravenMenu.Axes, "Delay"));
                    }
                }

                break;
            }
        }