Exemple #1
0
        private void Farm()
        {
            if (!ManaManager.HasMana("LaneClear"))
            {
                return;
            }

            List <Obj_AI_Base> allMinionsQ = MinionManager.GetMinions(ObjectManager.Player.ServerPosition, W.Range,
                                                                      MinionTypes.All, MinionTeam.NotAlly);

            var useQ = menu.Item("UseQFarm", true).GetValue <bool>();
            var useW = menu.Item("UseWFarm", true).GetValue <bool>();

            if (useQ && allMinionsQ.Count > 0)
            {
                var qMin = menu.Item("Q_Min_Stack", true).GetValue <Slider>().Value;

                if (qMin <= QStacks)
                {
                    Q.Cast();
                }
            }

            if (useW)
            {
                SpellCastManager.CastBasicFarm(W);
            }
        }
Exemple #2
0
        private void Farm()
        {
            if (!ManaManager.HasMana("Farm"))
            {
                return;
            }

            var allMinionsE = MinionManager.GetMinions(Player.ServerPosition, E.Range,
                                                       MinionTypes.All, MinionTeam.NotAlly);

            var useQ = Menu.Item("UseQFarm", true).GetValue <bool>();
            var useE = Menu.Item("UseEFarm", true).GetValue <bool>();

            if (useQ && Q.IsReady())
            {
                SpellCastManager.CastBasicFarm(Q);
            }

            if (useE && allMinionsE.Count > 0 && E.IsReady() && ESpell.ToggleState == 1)
            {
                var ePos = E.GetCircularFarmLocation(allMinionsE);

                if (ePos.MinionsHit > 1)
                {
                    E.Cast();
                }
            }
        }
Exemple #3
0
        private void Farm()
        {
            if (!ManaManager.HasMana("LaneClear"))
            {
                return;
            }

            var useQ = Menu.Item("UseQFarm", true).GetValue <bool>();
            var useW = Menu.Item("UseWFarm", true).GetValue <bool>();
            var useE = Menu.Item("UseEFarm", true).GetValue <bool>();

            if (useQ)
            {
                SpellCastManager.CastBasicFarm(Q);
            }

            if (useW)
            {
                Cast_W(false);
            }

            if (useE)
            {
                SpellCastManager.CastBasicFarm(E);
            }
        }
Exemple #4
0
        private void Farm()
        {
            if (!ManaManager.HasMana("LaneClear"))
            {
                return;
            }

            var useQ = Menu.Item("UseQFarm", true).GetValue <bool>();
            var useE = Menu.Item("UseEFarm", true).GetValue <bool>();
            var useR = Menu.Item("UseRFarm", true).GetValue <bool>();

            if (useQ)
            {
                SpellCastManager.CastBasicFarm(Q);
            }

            if (useR)
            {
                Cast_R(3);
            }

            if (useE)
            {
                var allMinionECount = MinionManager.GetMinions(Player.ServerPosition, E.Range, MinionTypes.All, MinionTeam.NotAlly).Count;

                if (allMinionECount > 1)
                {
                    E.Cast();
                }
            }
        }
Exemple #5
0
        private void Farm()
        {
            if (!ManaManager.HasMana("LaneClear"))
            {
                return;
            }

            var useQ = menu.Item("UseQFarm", true).GetValue <bool>();
            var useE = menu.Item("UseEFarm", true).GetValue <bool>();
            var useR = menu.Item("UseRFarm", true).GetValue <bool>();

            if (useQ)
            {
                var minion = MinionManager.GetMinions(Player.ServerPosition, Q.Range, MinionTypes.All,
                                                      MinionTeam.NotAlly);

                if (minion.Count > 0)
                {
                    Q.Cast(minion[0]);
                }
            }
            if (useR)
            {
                Cast_R("Farm");
            }
            if (useE)
            {
                SpellCastManager.CastBasicFarm(E);
            }
        }
Exemple #6
0
 private void Cast_R(string mode)
 {
     if (mode == "Combo" && RStacks <= menu.Item("ComboR_Limit", true).GetValue <Slider>().Value)
     {
         SpellCastManager.CastBasicSkillShot(R, new[] { 1200f, 1500f, 1800f }[R.Level - 1], TargetSelector.DamageType.Magical, HitChanceManager.GetRHitChance(mode));
     }
     else if (mode == "Harass" && RStacks <= menu.Item("HarassR_Limit", true).GetValue <Slider>().Value)
     {
         SpellCastManager.CastBasicSkillShot(R, new[] { 1200f, 1500f, 1800f }[R.Level - 1], TargetSelector.DamageType.Magical, HitChanceManager.GetRHitChance(mode));
     }
     else if (mode == "Farm" && RStacks <= menu.Item("LaneClearR_Limit", true).GetValue <Slider>().Value)
     {
         SpellCastManager.CastBasicFarm(R);
     }
 }
Exemple #7
0
        private void Cast_R(int Index)
        {
            var range = Player.HasBuff("CorkiMissileBarrageCounterBig") ? 1500 : 1300;

            if (Index == 1 && Menu.Item("ComboR_Limit", true).GetValue <Slider>().Value < Player.Spellbook.GetSpell(SpellSlot.R).Ammo)
            {
                SpellCastManager.CastBasicSkillShot(R, range, TargetSelector.DamageType.Magical, HitChance.VeryHigh);
            }
            else if (Index == 2 && Menu.Item("HarassR_Limit", true).GetValue <Slider>().Value < Player.Spellbook.GetSpell(SpellSlot.R).Ammo)
            {
                SpellCastManager.CastBasicSkillShot(R, range, TargetSelector.DamageType.Magical, HitChance.VeryHigh);
            }
            else if (Index == 3 && Menu.Item("LaneClearR_Limit", true).GetValue <Slider>().Value < Player.Spellbook.GetSpell(SpellSlot.R).Ammo)
            {
                SpellCastManager.CastBasicFarm(R);
            }
        }
Exemple #8
0
        private void Cast_R(string mode)
        {
            var range = Player.HasBuff("CorkiMissileBarrageCounterBig") ? 1500 : 1300;

            if (mode == "Combo" && menu.Item("ComboR_Limit", true).GetValue <Slider>().Value < Player.Spellbook.GetSpell(SpellSlot.R).Ammo)
            {
                SpellCastManager.CastBasicSkillShot(R, range, TargetSelector.DamageType.Magical, HitChanceManager.GetRHitChance(mode));
            }
            else if (mode == "Harass" && menu.Item("HarassR_Limit", true).GetValue <Slider>().Value < Player.Spellbook.GetSpell(SpellSlot.R).Ammo)
            {
                SpellCastManager.CastBasicSkillShot(R, range, TargetSelector.DamageType.Magical, HitChanceManager.GetRHitChance(mode));
            }
            else if (mode == "Farm" && menu.Item("LaneClearR_Limit", true).GetValue <Slider>().Value < Player.Spellbook.GetSpell(SpellSlot.R).Ammo)
            {
                SpellCastManager.CastBasicFarm(R);
            }
        }
Exemple #9
0
        private void Farm()
        {
            if (!ManaManager.HasMana("Farm"))
            {
                return;
            }

            var useQ = Menu.Item("UseQFarm", true).GetValue <bool>();
            var useW = Menu.Item("UseWFarm", true).GetValue <bool>();

            if (useQ)
            {
                SpellCastManager.CastBasicFarm(Q);
            }

            if (useW && W.IsReady())
            {
                SpellCastManager.CastBasicFarm(W);
            }
        }