예제 #1
0
        public static void Init()
        {
            var Minions = EntityManager.MinionsAndMonsters.GetLaneMinions(EntityManager.UnitTeam.Enemy, Player.Instance.Position, Draven.E.Range);

            foreach (var Minion in Minions)
            {
                if (Draven.Q.IsReady() && DravenMenu.CheckBox(DravenMenu.Laneclear, "Q"))
                {
                    if (Draven.AxesCount() < 2)
                    {
                        Draven.Q.Cast();
                    }
                }
            }
        }
예제 #2
0
        public static void Init()
        {
            if (Target() != null)
            {
                if (Draven.Q.IsReady() && DravenMenu.CheckBox(DravenMenu.Combo, "Q"))
                {
                    if (Target().IsValidTarget(Player.Instance.GetAutoAttackRange() + 70))
                    {
                        Draven.Q.Cast();
                    }
                }

                if (Draven.E.IsReady() && DravenMenu.CheckBox(DravenMenu.Combo, "E"))
                {
                    if (Target().IsValidTarget(Draven.E.Range))
                    {
                        var EPred = Draven.E.GetPrediction(Target());

                        if (EPred.HitChancePercent >= DravenMenu.Slider(DravenMenu.Principal, "EPred"))
                        {
                            Draven.E.Cast(EPred.UnitPosition);
                        }
                    }
                }

                if (Draven.R.IsReady() && DravenMenu.CheckBox(DravenMenu.Combo, "R"))
                {
                    if (Target().IsValidTarget(Draven.R.Range))
                    {
                        var RPred = Draven.R.GetPrediction(Target());

                        if (RPred.HitChancePercent >= DravenMenu.Slider(DravenMenu.Principal, "RPred"))
                        {
                            if (Target().Health <= Damages.RDamage(Target()))
                            {
                                Draven.R.Cast(RPred.UnitPosition);
                            }
                        }
                    }
                }
            }
        }
예제 #3
0
        public static void Init()
        {
            if (Draven.W.IsReady() && DravenMenu.CheckBox(DravenMenu.Flee, "W"))
            {
                Draven.W.Cast();
            }

            if (Draven.E.IsReady() && DravenMenu.CheckBox(DravenMenu.Flee, "E"))
            {
                var Target = TargetSelector.GetTarget(Draven.E.Range, DamageType.Physical);

                if (Target != null)
                {
                    var EPred = Draven.E.GetPrediction(Target);

                    if (EPred.HitChancePercent >= DravenMenu.Slider(DravenMenu.Principal, "EPred"))
                    {
                        Draven.E.Cast(EPred.UnitPosition);
                    }
                }
            }
        }
예제 #4
0
        public static void Init()
        {
            var Monsters = EntityManager.MinionsAndMonsters.GetJungleMonsters().Where(x => x.IsValid).OrderBy(x => x.MaxHealth);

            foreach (var Monster in Monsters)
            {
                if (Monster.IsValidTarget(Draven.E.Range))
                {
                    if (Draven.Q.IsReady() && DravenMenu.CheckBox(DravenMenu.Jungleclear, "Q"))
                    {
                        if (Draven.AxesCount() < 2)
                        {
                            Draven.Q.Cast();
                        }
                    }

                    if (Draven.E.IsReady() && DravenMenu.CheckBox(DravenMenu.Jungleclear, "E"))
                    {
                        Draven.E.Cast(Monster);
                    }
                }
            }
        }