Пример #1
0
 protected override void Harass()
 {
     if (Target != null)
     {
         if (IsHarass2)
         {
             if (ShouldWaitMana)
             {
                 return;
             }
             if (HarassMenu.CheckBox("WE") && W.IsReady && IsW1 && E.IsReady && !MyHero.IsInRange(Target, WRange + E.Radius))
             {
                 return;
             }
             CastW(Target);
             CastE(Target);
             CastQ(Target);
         }
         else
         {
             if (MyHero.ManaPercent >= HarassMenu.Slider("ManaPercent"))
             {
                 CastE(Target);
                 CastQ(Target);
             }
         }
     }
     base.Harass();
 }
Пример #2
0
 protected override void Harass()
 {
     if (MyHero.ManaPercent >= HarassMenu.Slider("ManaPercent"))
     {
         if (E.IsReady && HarassMenu.CheckBox("E.Shield"))
         {
             if (MissileManager.MissileWillHitMyHero)
             {
                 CastE(MyHero);
             }
         }
         if (Target != null)
         {
             if (HarassMenu.CheckBox("Q"))
             {
                 CastQ(Target);
             }
             if (HarassMenu.CheckBox("W"))
             {
                 CastW(Target);
             }
             if (HarassMenu.Slider("E.HealthPercent") >= MyHero.HealthPercent)
             {
                 var enemy =
                     UnitManager.ValidEnemyHeroesInRange.FirstOrDefault(h => h.InAutoAttackRange(MyHero));
                 if (enemy != null)
                 {
                     CastE(MyHero);
                 }
             }
         }
     }
     base.Harass();
 }
Пример #3
0
        protected override void Harass()
        {
            if (MyHero.ManaPercent >= HarassMenu.Slider("ManaPercent"))
            {
                if (Target != null)
                {
                    if (HarassMenu.CheckBox("Q"))
                    {
                        CastQ(Target);
                    }
                    if (HarassMenu.CheckBox("W"))
                    {
                        CastW(Target);
                    }
                    if (HarassMenu.Slider("E") > 0)
                    {
                        switch (HarassMenu.Slider("E"))
                        {
                        case 1:
                            CastE(Target);
                            break;

                        case 2:
                            E.Cast(Target);
                            break;
                        }
                    }
                }
            }
            base.Harass();
        }
Пример #4
0
 protected override void Harass()
 {
     if (MyHero.ManaPercent >= HarassMenu.Slider("ManaPercent"))
     {
         if (Target != null)
         {
             if (Core.GameTickCount - W.LastSentTime < 100)
             {
                 return;
             }
             if (Core.GameTickCount - E.LastSentTime < 100)
             {
                 return;
             }
             if (Core.GameTickCount - W.LastCastTime < W.CastDelay + 50)
             {
                 return;
             }
             if (Core.GameTickCount - E.LastCastTime < E.CastDelay + 50)
             {
                 return;
             }
             if (Spells.E.Missile != null && Spells.E.Missile.IsValidMissile() && MyHero.Distance(Spells.E.Missile, true) <= MyHero.Distance(Target, true))
             {
                 return;
             }
             if (Orbwalker.CanAutoAttack && HasPassive && MyHero.IsInAutoAttackRange(Target))
             {
                 return;
             }
             if (HarassMenu.CheckBox("E"))
             {
                 CastE(Target);
             }
             if (HarassMenu.CheckBox("W"))
             {
                 CastW(Target);
             }
             if (StartWithCc && W.IsReady && E.IsReady)
             {
                 return;
             }
             if (HarassMenu.CheckBox("Q"))
             {
                 CastQ(Target);
             }
         }
     }
     base.Harass();
 }
Пример #5
0
 protected override void Harass()
 {
     if (Target != null)
     {
         if (IsHarass2)
         {
             if (HarassMenu.CheckBox("Harass2.W"))
             {
                 CastW(Target);
             }
             if (HarassMenu.CheckBox("Harass2.E"))
             {
                 CastE(Target);
             }
             if (HarassMenu.CheckBox("Harass2.Q"))
             {
                 CastQ(Target);
             }
         }
         else
         {
             if (MyHero.ManaPercent >= HarassMenu.Slider("Harass1.ManaPercent"))
             {
                 if (HarassMenu.CheckBox("Harass1.W"))
                 {
                     CastW(Target);
                 }
                 if (HarassMenu.CheckBox("Harass1.E"))
                 {
                     CastE(Target);
                 }
                 if (HarassMenu.CheckBox("Harass1.Q"))
                 {
                     CastQ(Target);
                 }
             }
         }
     }
     base.Harass();
 }
Пример #6
0
 protected override void Harass()
 {
     if (MyHero.ManaPercent >= HarassMenu.Slider("ManaPercent"))
     {
         if (Target != null)
         {
             if (HarassMenu.CheckBox("Q") && !IsCastingR && MyHero.Mana >= E.Mana + R.Mana + W.Mana + E.Mana)
             {
                 CastQ(Target);
             }
             if (HarassMenu.CheckBox("W") && !IsCastingR)
             {
                 CastW(Target);
             }
             if (HarassMenu.CheckBox("E") && !IsCastingR)
             {
                 CastE(Target);
             }
         }
     }
     base.Harass();
 }
Пример #7
0
 protected override void Harass()
 {
     if (MyHero.ManaPercent >= HarassMenu.Slider("ManaPercent"))
     {
         if (Target != null)
         {
             if (HarassMenu.CheckBox("Q"))
             {
                 CastQ(Target);
             }
             if (HarassMenu.CheckBox("W"))
             {
                 W.Cast(Target);
             }
             if (HarassMenu.CheckBox("E"))
             {
                 E.Cast(Target);
             }
         }
     }
     base.Harass();
 }