Exemplo n.º 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);
                }
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
                    }
                }
            }
        }
Exemplo n.º 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);
                    }
                }
            }
        }