Exemple #1
0
        public static void Init()
        {
            var Minions = EntityManager.MinionsAndMonsters.GetLaneMinions(EntityManager.UnitTeam.Enemy, Player.Instance.Position, Elise.Q.Range);

            foreach (var Minion in Minions)
            {
                if (Elise.CheckForm())
                {
                    if (Elise.Q.IsReady() && EliseMenu.CheckBox(EliseMenu.Lasthit, "Q"))
                    {
                        if (Minion.Health - Damages.QDamage(Minion) <= 0)
                        {
                            Elise.Q.Cast(Minion);
                        }
                    }
                }
                else
                {
                    if (Elise.Q2.IsReady() && EliseMenu.CheckBox(EliseMenu.Lasthit, "Q2"))
                    {
                        if (Minion.Health - Damages.Q2Damage(Minion) <= 0)
                        {
                            Elise.Q2.Cast(Minion);
                        }
                    }
                }
            }
        }
Exemple #2
0
        public static void Init()
        {
            var Target = TargetSelector.GetTarget(Elise.E.Range, DamageType.Magical);

            if (Elise.CheckForm())
            {
                if (Target != null)
                {
                    if (Elise.E.IsReady() || EliseMenu.CheckBox(EliseMenu.Flee, "E"))
                    {
                        var EPred = Elise.E.GetPrediction(Target);

                        if (EPred.HitChancePercent >= EliseMenu.Slider(EliseMenu.Principal, "E"))
                        {
                            Elise.E.Cast(EPred.UnitPosition);
                        }
                    }
                }
                else
                {
                    if (Elise.R.IsReady())
                    {
                        Elise.R.Cast();
                    }
                }
            }
            else
            {
                if (Elise.E2.IsReady() || EliseMenu.CheckBox(EliseMenu.Flee, "E2"))
                {
                    Elise.E2.Cast(Game.CursorPos);
                }
            }
        }
Exemple #3
0
        public static void Init()
        {
            var Monsters = EntityManager.MinionsAndMonsters.GetJungleMonsters().Where(x => x.IsValid).OrderBy(x => x.MaxHealth);

            foreach (var Monster in Monsters)
            {
                if (Elise.CheckForm())
                {
                    if (Elise.Q.IsReady() && EliseMenu.CheckBox(EliseMenu.Jungleclear, "Q"))
                    {
                        if (Monster.IsValidTarget(Elise.Q.Range))
                        {
                            Elise.Q.Cast(Monster);
                        }
                    }

                    if (Elise.W.IsReady() && EliseMenu.CheckBox(EliseMenu.Jungleclear, "W"))
                    {
                        if (Monster.IsValidTarget(Elise.W.Range))
                        {
                            Elise.W.Cast(Monster);
                        }
                    }

                    if (Elise.E.IsReady() && EliseMenu.CheckBox(EliseMenu.Jungleclear, "E"))
                    {
                        if (Monster.IsValidTarget(Elise.E.Range))
                        {
                            Elise.E.Cast(Monster);
                        }
                    }
                }
                else
                {
                    if (Elise.Q2.IsReady() && EliseMenu.CheckBox(EliseMenu.Jungleclear, "Q2"))
                    {
                        if (Monster.IsValidTarget(Elise.Q2.Range))
                        {
                            Elise.Q2.Cast(Monster);
                        }
                    }

                    if (Elise.W2.IsReady() && EliseMenu.CheckBox(EliseMenu.Jungleclear, "W2"))
                    {
                        if (Monster.IsValidTarget(Player.Instance.GetAutoAttackRange()))
                        {
                            Elise.W2.Cast();
                        }
                    }
                }

                if (!Elise.Q.IsReady() && !Elise.W.IsReady() && !Elise.E.IsReady())
                {
                    if (Elise.R.IsReady())
                    {
                        Elise.R.Cast();
                    }
                }
                else
                {
                    if (!Elise.Q2.IsReady() && !Elise.W2.IsReady())
                    {
                        if (Elise.R.IsReady())
                        {
                            Elise.R.Cast();
                        }
                    }
                }
            }
        }
Exemple #4
0
        public static void Init()
        {
            var Minions = EntityManager.MinionsAndMonsters.GetLaneMinions(EntityManager.UnitTeam.Enemy, Player.Instance.Position, Elise.Q.Range);

            foreach (var Minion in Minions)
            {
                if (Elise.CheckForm())
                {
                    if (Elise.Q.IsReady() && EliseMenu.CheckBox(EliseMenu.Laneclear, "Q"))
                    {
                        if (Minion.IsValidTarget(Elise.Q.Range))
                        {
                            Elise.Q.Cast(Minion);
                        }
                    }

                    if (Elise.W.IsReady() && EliseMenu.CheckBox(EliseMenu.Laneclear, "W"))
                    {
                        if (Minion.IsValidTarget(Elise.W.Range))
                        {
                            Elise.W.Cast(Minion);
                        }
                    }
                }
                else
                {
                    if (Elise.Q2.IsReady() && EliseMenu.CheckBox(EliseMenu.Laneclear, "Q2"))
                    {
                        if (Minion.IsValidTarget(Elise.Q2.Range))
                        {
                            Elise.Q2.Cast(Minion);
                        }
                    }

                    if (Elise.W2.IsReady() && EliseMenu.CheckBox(EliseMenu.Laneclear, "W2"))
                    {
                        if (Minion.IsValidTarget(Player.Instance.GetAutoAttackRange()))
                        {
                            Elise.W2.Cast();
                        }
                    }
                }

                if (!Elise.Q.IsReady() && !Elise.W.IsReady())
                {
                    if (Elise.R.IsReady())
                    {
                        Elise.R.Cast();
                    }
                }
                else
                {
                    if (!Elise.Q2.IsReady() && !Elise.W2.IsReady())
                    {
                        if (Elise.R.IsReady())
                        {
                            Elise.R.Cast();
                        }
                    }
                }
            }
        }
Exemple #5
0
        public static void Init()
        {
            // Human Form

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

                        if (EPred.HitChancePercent >= EliseMenu.Slider(EliseMenu.Principal, "EPred"))
                        {
                            Core.DelayAction(() => Elise.E.Cast(Target()), EliseMenu.Slider(EliseMenu.Combo, "Delay"));
                        }
                    }
                }

                if (Elise.Q.IsReady() && EliseMenu.CheckBox(EliseMenu.Combo, "Q"))
                {
                    if (Target().IsValidTarget(Elise.Q.Range))
                    {
                        Core.DelayAction(() => Elise.Q.Cast(Target()), EliseMenu.Slider(EliseMenu.Combo, "Delay"));
                    }
                }

                if (Elise.W.IsReady() && EliseMenu.CheckBox(EliseMenu.Combo, "W"))
                {
                    if (Target().IsValidTarget(Elise.W.Range))
                    {
                        var WPred = Elise.W.GetPrediction(Target());

                        if (WPred.HitChancePercent >= EliseMenu.Slider(EliseMenu.Principal, "WPred"))
                        {
                            Core.DelayAction(() => Elise.W.Cast(Target()), EliseMenu.Slider(EliseMenu.Combo, "Delay"));
                        }
                    }
                }
            }
            else
            {
                // Spider Form

                if (Elise.Q2.IsReady() && EliseMenu.CheckBox(EliseMenu.Combo, "Q2"))
                {
                    if (Target().IsValidTarget(Elise.Q2.Range))
                    {
                        Core.DelayAction(() => Elise.Q2.Cast(Target()), EliseMenu.Slider(EliseMenu.Combo, "Delay"));
                    }
                }

                if (Elise.W2.IsReady() && EliseMenu.CheckBox(EliseMenu.Combo, "W2"))
                {
                    if (Target().IsValidTarget(Player.Instance.GetAutoAttackRange()))
                    {
                        Core.DelayAction(() => Elise.W2.Cast(), EliseMenu.Slider(EliseMenu.Combo, "Delay"));
                    }
                }

                if (Elise.E2.IsReady() && EliseMenu.CheckBox(EliseMenu.Combo, "E2"))
                {
                    if (Target().IsValidTarget(Elise.E2.Range))
                    {
                        if (Player.Instance.Distance(Target()) >= EliseMenu.Slider(EliseMenu.Combo, "E2Ex"))
                        {
                            Core.DelayAction(() => Elise.E2.Cast(Target()), EliseMenu.Slider(EliseMenu.Combo, "Delay"));
                        }
                    }
                }
            }
            // Auto Switch Form

            if (!Elise.Q.IsReady() && !Elise.W.IsReady() && !Elise.E.IsReady())
            {
                if (EliseMenu.CheckBox(EliseMenu.Combo, "Switch"))
                {
                    if (Elise.R.IsReady())
                    {
                        if (Player.Instance.CountEnemiesInRange(Elise.E.Range) > 0)
                        {
                            Elise.R.Cast();
                        }
                    }
                }
            }
            else
            {
                if (!Elise.Q2.IsReady() && !Elise.W2.IsReady() && !Elise.E2.IsReady())
                {
                    if (Elise.R.IsReady())
                    {
                        if (Player.Instance.CountEnemiesInRange(Elise.E.Range) > 0)
                        {
                            Elise.R.Cast();
                        }
                    }
                }
            }
        }