Exemple #1
0
 public void LastHit()
 {
     if (Config.Param <bool>("ylm.lasthit.enabled"))
     {
         SteelTempest.LastHitQ();
         SweepingBlade.LaneE(true);
     }
 }
 private void OnEnemyCustomGapcloser(AIHeroClient sender, Gapcloser.GapcloserEventArgs args)
 {
     if (!SteelTempest.Empowered || !SteelTempest.Q.IsReady() || !sender.IsEnemy)
     {
         return;
     }
     SteelTempest.CastQ(sender);
 }
 public void LastHit()
 {
     if (Config.lasthitMenu["ylm.lasthit.enabled"].Cast <CheckBox>().CurrentValue)
     {
         SteelTempest.LastHitQ();
         SweepingBlade.LaneE(true);
     }
 }
Exemple #4
0
 private void OnEnemyCustomGapcloser(CActiveCGapcloser args)
 {
     if (!SteelTempest.Empowered || !SteelTempest.Q.IsReady())
     {
         return;
     }
     SteelTempest.CastQ(args.Sender);
 }
        public void Harass()
        {
            var qRange = SteelTempest.Empowered ? SteelTempest.QEmp.Range : SteelTempest.Q.Range;
            var useQ   = (SteelTempest.Empowered && Config.harassMenu["ylm.mixed.useq3"].Cast <CheckBox>().CurrentValue) ||
                         (!SteelTempest.Empowered && Config.harassMenu["ylm.mixed.useq"].Cast <CheckBox>().CurrentValue);

            var eTarget = TargetSelector.GetTarget(SweepingBlade.E.Range, DamageType.Magical);
            var qTarget = TargetSelector.GetTarget(qRange, DamageType.Physical);

            if (useQ && qTarget != null && SteelTempest.Q.IsReady())
            {
                if (ObjectManager.Player.IsDashing() &&
                    ObjectManager.Player.Distance(qTarget, true) < -375)
                {
                    SteelTempest.QDash.Cast();
                }
                else
                {
                    if (SteelTempest.Empowered)
                    {
                        SteelTempest.QEmp.Cast(qTarget);
                    }
                    else
                    {
                        SteelTempest.Q.Cast(qTarget);
                    }
                }
            }

            if (eTarget != null && Config.harassMenu["ylm.mixed.usee"].Cast <CheckBox>().CurrentValue&& SweepingBlade.CanCastE(eTarget))
            {
                if (Config.harassMenu["ylm.mixed.mode"].Cast <ComboBox>().CurrentValue == 0)
                {
                    SweepingBlade.E.Cast(eTarget);
                }
                else
                {
                    if (!SteelTempest.Q.IsReady() && eTarget.Distance(ObjectManager.Player, true) <= 200 * 200)
                    //Run away we useless :^(
                    {
                        SweepingBlade.RunAway(eTarget);
                    }
                    else if (SteelTempest.Q.IsReady())
                    {
                        SweepingBlade.E.Cast(eTarget);
                    }
                }
            }
            if (Config.harassMenu["ylm.mixed.lasthit"].Cast <CheckBox>().CurrentValue)
            {
                SteelTempest.LastHitQ();
                SweepingBlade.LaneE(true);
            }
        }
Exemple #6
0
        public void Harass()
        {
            var qRange = SteelTempest.Empowered ? SteelTempest.QEmp.Range : SteelTempest.Q.Range;
            var useQ   = (SteelTempest.Empowered && Config.Param <bool>("ylm.mixed.useq3")) ||
                         (!SteelTempest.Empowered && Config.Param <bool>("ylm.mixed.useq"));

            var eTarget = TargetSelector.GetTarget(SweepingBlade.E.Range, TargetSelector.DamageType.Magical);
            var qTarget = TargetSelector.GetTarget(qRange, TargetSelector.DamageType.Physical);

            if (useQ && qTarget != null && SteelTempest.Q.IsReady())
            {
                if (ObjectManager.Player.IsDashing() &&
                    ObjectManager.Player.Distance(qTarget, true) < SteelTempest.QDash.WidthSqr)
                {
                    SteelTempest.QDash.Cast();
                }
                else
                {
                    if (SteelTempest.Empowered)
                    {
                        SteelTempest.QEmp.Cast(qTarget);
                    }
                    else
                    {
                        SteelTempest.Q.Cast(qTarget);
                    }
                }
            }

            if (eTarget != null && Config.Param <bool>("ylm.mixed.usee") && SweepingBlade.CanCastE(eTarget))
            {
                if (Config.Param <Slider>("ylm.mixed.mode").Value == 0)
                {
                    SweepingBlade.E.Cast(eTarget);
                }
                else
                {
                    if (!SteelTempest.Q.IsReady() && eTarget.Distance(ObjectManager.Player, true) <= 200 * 200)
                    //Run away we useless :^(
                    {
                        SweepingBlade.RunAway(eTarget);
                    }
                    else if (SteelTempest.Q.IsReady())
                    {
                        SweepingBlade.E.Cast(eTarget);
                    }
                }
            }
            if (Config.Param <bool>("ylm.mixed.lasthit"))
            {
                SteelTempest.LastHitQ();
                SweepingBlade.LaneE(true);
            }
        }
 public void Clear()
 {
     if (Config.laneclearMenu["ylm.laneclear.enabled"].Cast <CheckBox>().CurrentValue)
     {
         SteelTempest.ClearQ();
         SweepingBlade.LaneE();
     }
     if (Config.jungleclearMenu["ylm.jungleclear.enabled"].Cast <CheckBox>().CurrentValue)
     {
         SteelTempest.ClearQ(true);
         SweepingBlade.JungleClearE();
     }
 }
Exemple #8
0
 public void Clear()
 {
     if (Config.Param <bool>("ylm.laneclear.enabled"))
     {
         SteelTempest.ClearQ();
         SweepingBlade.LaneE();
     }
     if (Config.Param <bool>("ylm.jungleclear.enabled"))
     {
         SteelTempest.ClearQ(true);
         SweepingBlade.JungleClearE();
     }
 }
Exemple #9
0
        private void Interrupter2_OnInterruptableTarget(AIHeroClient unit, Interrupter2.InterruptableTargetEventArgs args)
        {
            if (!Config.Param <bool>("ylm.anti.interrupt.useq3") ||
                !Config.Param <bool>(string.Format("ylm.anti.interrupt.{0}", unit.ChampionName)))
            {
                return;
            }

            if (!SteelTempest.Empowered || !SteelTempest.Q.IsReady())
            {
                return;
            }

            SteelTempest.CastQ(unit);
        }
        private void Interrupter2_OnInterruptableTarget(Obj_AI_Base sender, Interrupter.InterruptableSpellEventArgs interruptableSpellEventArgs)
        {
            var unit = sender as AIHeroClient;

            if (unit != null && !sender.IsEnemy || (!Config.antiMenu["ylm.anti.interrupt.useq3"].Cast <CheckBox>().CurrentValue ||
                                                    !Config.antiMenu[string.Format("ylm.anti.interrupt.{0}", unit.ChampionName)].Cast <CheckBox>().CurrentValue))
            {
                return;
            }

            if (!SteelTempest.Empowered || !SteelTempest.Q.IsReady())
            {
                return;
            }

            SteelTempest.CastQ(unit);
        }