Esempio n. 1
0
 public void LastHit()
 {
     if (Config.lasthitMenu["ylm.lasthit.enabled"].Cast <CheckBox>().CurrentValue)
     {
         SteelTempest.LastHitQ();
         SweepingBlade.LaneE(true);
     }
 }
Esempio n. 2
0
 public void LastHit()
 {
     if (Config.Param <bool>("ylm.lasthit.enabled"))
     {
         SteelTempest.LastHitQ();
         SweepingBlade.LaneE(true);
     }
 }
Esempio n. 3
0
        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);
            }
        }
Esempio n. 4
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);
            }
        }
Esempio n. 5
0
 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();
     }
 }
Esempio n. 6
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();
     }
 }