Exemple #1
0
 private static void Clear()
 {
     if (GetBool("main.clear.q") && ManalimiterCheck("main.clear.qm"))
     {
         Casts.QMinion();
     }
 }
Exemple #2
0
 private static void Lasthit() //by Maddo
 {
     if (GetBool("main.lasthit.q") && ManalimiterCheck("main.lasthit.qm"))
     {
         Obj_AI_Minion targetMinion = MinionManager.GetMinions(q.Range).FirstOrDefault() as Obj_AI_Minion;
         if (targetMinion != null)
         {
             Casts.QMinion(targetMinion);
         }
     }
 }
Exemple #3
0
        private static void Clear()
        {
            //fix
            if (GetBool("main.clear.q"))
            {
                Casts.QMinion();
            }

            if (GetBool("main.clear.e"))
            {
                Casts.EMinion();
            }
        }
Exemple #4
0
        private static void Clear()
        {
            if (GetBool("main.clear.barrel"))
            {
                if (Math.ClosestBarrel(Player.GetEnemiesInRange(SightRange).First().ServerPosition.To2D()) != null)
                {
                    Casts.AttackBarrel();
                }
            }

            if (GetBool("main.clear.q") && ManalimiterCheck("main.clear.qm"))
            {
                Obj_AI_Minion targetMinion = MinionManager.GetMinions(q.Range).FirstOrDefault() as Obj_AI_Minion;
                if (targetMinion != null)
                {
                    Casts.QMinion(targetMinion);
                }
            }
        }
Exemple #5
0
        private static void Harass() //or mixed :^)
        {
            if (GetBool("main.harass.q") && ManalimiterCheck("main.harass.qm"))
            {
                Obj_AI_Hero target = TargetSelector.GetTarget(q.Range, q.DamageType);
                if (target != null)
                {
                    Casts.QHero(target);
                }

                if (GetBool("main.lassthit.q") && ManalimiterCheck("main.lassthit.qm"))
                {
                    Obj_AI_Minion targetMinion = MinionManager.GetMinions(q.Range).FirstOrDefault() as Obj_AI_Minion;
                    if (targetMinion != null)
                    {
                        Casts.QMinion(targetMinion);
                    }
                }
            }
        }
Exemple #6
0
        private static void Combo()
        {
            if (
                Math.ClosestBarrelWherePosInExplosionRange(
                    Player.GetEnemiesInRange(SightRange).First().ServerPosition.To2D()) != null)
            {
                Casts.AttackBarrel();
            }

            if (GetBool("main.combo.qe"))
            {
                if (targetedBarrelQ != null)
                {
                    Barrel bar =
                        Math.ClosestBarrelWherePosInExplosionRange(
                            Player.GetEnemiesInRange(SightRange).First().ServerPosition.To2D());

                    if (bar != null && bar.IsReady)
                    {
                        Casts.QMinion(bar.BarrelObj);
                    }
                }
            }

            if (GetBool("main.combo.e") && config.Item("main.settings.disablee").GetValue <KeyBind>().Active.Equals(false))
            {
                Casts.EHero();
            }

            if (GetBool("main.combo.q"))
            {
                Obj_AI_Hero target = TargetSelector.GetTarget(q.Range, q.DamageType);
                if (target != null)
                {
                    Casts.QHero(target);
                }
            }
        }