예제 #1
0
        private static void JungleFarm()
        {
            List <Obj_AI_Base> mobs = MinionManager.GetMinions(ObjectManager.Player.ServerPosition, W.Range,
                                                               MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.Health);

            if (Config.Item("UseQFarm").GetValue <bool>())
            {
                foreach (Obj_AI_Base minion in mobs)
                {
                    if (HumanForm)
                    {
                        if (QS.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= Q.Range)
                        {
                            Q.Cast(minion);
                        }
                        if (W.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= W.Range)
                        {
                            W.Cast();
                        }
                        if (!Q.IsReady() && !W.IsReady())
                        {
                            R.Cast();
                        }
                    }
                }
                if (!HumanForm)
                {
                    foreach (Obj_AI_Base minion in mobs)
                    {
                        if (QS.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= QS.Range)
                        {
                            QS.Cast(minion);
                        }
                        if (WS.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= WS.Range)
                        {
                            WS.Cast();
                        }
                        if (ES.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= ES.Range &&
                            Config.Item("UseSpiderEFarm").GetValue <bool>())
                        {
                            ES.Cast(minion);
                        }
                    }
                }
            }
        }
예제 #2
0
        private static void Farm()
        {
            Obj_AI_Hero        target     = TargetSelector.GetTarget(QS.Range, TargetSelector.DamageType.Magical);
            List <Obj_AI_Base> allminions = MinionManager.GetMinions(Player.ServerPosition, Q.Range, MinionTypes.All,
                                                                     MinionTeam.Enemy, MinionOrderTypes.Health);

            if (Config.Item("UseQFarm").GetValue <bool>())
            {
                foreach (Obj_AI_Base minion in allminions)
                {
                    if (HumanForm)
                    {
                        if (QS.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= Q.Range)
                        {
                            Q.Cast(minion);
                        }
                        if (W.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= W.Range)
                        {
                            W.Cast();
                        }
                        R.Cast();
                    }
                }
                foreach (Obj_AI_Base minion in allminions)
                {
                    if (QS.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= QS.Range)
                    {
                        QS.Cast(minion);
                    }
                    if (WS.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= 125)
                    {
                        WS.Cast();
                    }
                    if (ES.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= ES.Range &&
                        Config.Item("UseSpiderEFarm").GetValue <bool>())
                    {
                        ES.Cast(minion);
                    }
                }
            }
        }
예제 #3
0
        private static void Farm()
        {
            List <Obj_AI_Base> allminions = MinionManager.GetMinions(Player.ServerPosition, Q.Range);

            if (Config.Item("UseQFarm").GetValue <bool>())
            {
                foreach (Obj_AI_Base minion in allminions)
                {
                    if (HumanForm)
                    {
                        if (QS.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= Q.Range)
                        {
                            Q.Cast(minion);
                        }
                        if (W.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= W.Range)
                        {
                            W.Cast();
                        }
                        R.Cast();
                    }
                    if (!HumanForm)
                    {
                        if (QS.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= QS.Range)
                        {
                            QS.Cast(minion);
                        }
                        if (WS.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= WS.Range)
                        {
                            WS.Cast();
                        }
                        if (ES.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= ES.Range &&
                            Config.Item("UseSpiderEFarm").GetValue <bool>())
                        {
                            ES.Cast(minion);
                        }
                    }
                }
            }
        }
예제 #4
0
        private static void JungleFarm()
        {
            var target = SimpleTs.GetTarget(QS.Range, SimpleTs.DamageType.Magical);
            var mobs   = MinionManager.GetMinions(ObjectManager.Player.ServerPosition, W.Range, MinionTypes.All, MinionTeam.Neutral, MinionOrderTypes.Health);

            if (Config.Item("UseQFarm").GetValue <bool>())
            {
                foreach (var minion in mobs)
                {
                    if (HumanForm)
                    {
                        if (QS.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= Q.Range)
                        {
                            Q.Cast(minion);
                        }
                        if (W.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= W.Range)
                        {
                            W.Cast();
                        }
                        R.Cast();
                    }
                }
                foreach (var minion in mobs)
                {
                    if (QS.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= QS.Range)
                    {
                        QS.Cast(minion);
                    }
                    if (WS.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= 125)
                    {
                        WS.Cast();
                    }
                    if (ES.IsReady() && minion.IsValidTarget() && Player.Distance(minion) <= ES.Range && Config.Item("UseSpiderEFarm").GetValue <bool>())
                    {
                        ES.Cast(minion);
                    }
                }
            }
        }
예제 #5
0
        private static void Combo()
        {
            Obj_AI_Hero target = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Magical);

            Orbwalker.SetAttack((!Q.IsReady() || !E.IsReady() || !W.IsReady()));

            if (target != null)
            {
                if (HumanForm)
                {
                    // Human Rotation
                    if (Player.Distance(target) <= Q.Range && Config.Item("UseQHuman").GetValue <bool>() && Q.IsReady())
                    {
                        Q.Cast(target);
                    }
                    if (Player.Distance(target) <= W.Range && Config.Item("UseWHuman").GetValue <bool>() && W.IsReady())
                    {
                        W.Cast(target);
                    }
                    if (Player.Distance(target) <= E.Range && Config.Item("UseEHuman").GetValue <bool>() && E.IsReady())
                    {
                        var pred = E.GetPrediction(target);
                        E.Cast(pred.CastPosition);
                    }
                    if (!Q.IsReady() && !W.IsReady() && !E.IsReady() && Player.Distance(target) <= 750 &&
                        Config.Item("UseR").GetValue <bool>())
                    {
                        R.Cast();
                    }
                    if (!Q.IsReady() && !W.IsReady() && Player.Distance(target) <= 750 &&
                        Config.Item("UseQHuman").GetValue <bool>())
                    {
                        R.Cast();
                    }
                }
                // Spider Rotation
                if (SpiderForm)
                {
                    if (Player.Distance(target) <= QS.Range && Config.Item("UseQSpider").GetValue <bool>() &&
                        QS.IsReady())
                    {
                        QS.Cast(target);
                    }
                    if (Player.Distance(target) <= 140 && Config.Item("UseWSpider").GetValue <bool>() && WS.IsReady())
                    {
                        WS.Cast();
                    }
                    if (Player.Distance(target) <= ES.Range && Player.Distance(target) > QS.Range &&
                        Config.Item("UseESpider").GetValue <bool>() && ES.IsReady())
                    {
                        ES.Cast(target);
                    }
                    if (Player.Distance(target) > QS.Range && !ES.IsReady() && R.IsReady() &&
                        Player.Distance(target) <= 1075 && Config.Item("UseR").GetValue <bool>())
                    {
                        R.Cast();
                    }
                    if (!QS.IsReady() && Player.Distance(target) >= 125 && !ES.IsReady() && R.IsReady() &&
                        Player.Distance(target) <= 1075 && Config.Item("UseR").GetValue <bool>())
                    {
                        R.Cast();
                    }
                    if (ES.IsReady() && Player.Distance(target) > QS.Range && Config.Item("UseESpider").GetValue <bool>())
                    {
                        ES.Cast(target);
                    }
                }
            }
        }
예제 #6
0
        private static void Combo()
        {
            var target = SimpleTs.GetTarget(Q.Range, SimpleTs.DamageType.Magical);

            Orbwalker.SetAttack((!Q.IsReady() || E.IsReady() || W.IsReady()));

            if (target != null)
            {
                if (HumanForm)
                {
                    // Human Rotation
                    if (Player.Distance(target) <= Q.Range && Config.Item("UseQHuman").GetValue <bool>() && Q.IsReady())
                    {
                        Q.Cast(target);
                    }
                    if (Player.Distance(target) <= W.Range && Config.Item("UseWHuman").GetValue <bool>() && W.IsReady())
                    {
                        W.Cast(target);
                    }
                    if (Player.Distance(target) <= E.Range && Config.Item("UseEHuman").GetValue <bool>() && E.IsReady())
                    {
                        E.Cast(target);
                    }
                    if (!Q.IsReady() && !W.IsReady() && !E.IsReady() && Player.Distance(target) <= 750 && Config.Item("UseR").GetValue <bool>())
                    {
                        R.Cast();
                    }
                    if (!Q.IsReady() && !W.IsReady() && Player.Distance(target) <= 750 && Config.Item("UseQHuman").GetValue <bool>())
                    {
                        R.Cast();
                    }
                }
                // Spider Rotation
                if (SpiderForm)
                {
                    if (Player.Distance(target) <= QS.Range && Config.Item("UseQSpider").GetValue <bool>() && QS.IsReady())
                    {
                        QS.Cast(target);
                    }
                    if (Player.Distance(target) <= 140 && Config.Item("UseWSpider").GetValue <bool>() && WS.IsReady())
                    {
                        WS.Cast();
                    }
                    if (Player.Distance(target) <= ES.Range && Player.Distance(target) > QS.Range && Config.Item("UseESpider").GetValue <bool>() && ES.IsReady())
                    {
                        ES.Cast(target);
                    }
                    if (Player.Distance(target) > QS.Range && !ES.IsReady() && R.IsReady() && Player.Distance(target) <= 1075 && Config.Item("UseR").GetValue <bool>())
                    {
                        R.Cast();
                    }
                    if (!QS.IsReady() && Player.Distance(target) >= 125 && !ES.IsReady() && R.IsReady() && Player.Distance(target) <= 1075 && Config.Item("UseR").GetValue <bool>())
                    {
                        R.Cast();
                    }
                    if (ES.IsReady() && Player.Distance(target) > QS.Range && Config.Item("UseESpider").GetValue <bool>())
                    {
                        ES.Cast(target);
                    }
                }
            }
        }