Exemple #1
0
 private static void Tick(EventArgs args)
 {
     Killsteal();
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee))
     {
         Flee();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
     {
         Combo.RenekCombo();
         Combo.Items();
         Combo.UseE();
         AutoUlt(ComboMenu["autoult"].Cast <CheckBox>().CurrentValue);
     }
     {
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear) ||
             Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
         {
             LaneJungleClearA.LaneClear();
             LaneJungleClearA.Items();
         }
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit))
         {
             LastHitA.LastHitB();
             LastHitA.Items();
         }
         SkinChange();
     }
 }
 private static void Tick(EventArgs args)
 {
     Killsteal();
     SkinChange();
     if (_miscMenu["lvlup"].Cast <CheckBox>().CurrentValue)
     {
         LevelUpSpells();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee))
     {
         Flee();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
     {
         Combo.RenekCombo();
         Combo.Items();
         Combo.UseE();
         AutoUlt(ComboMenu["autoult"].Cast <CheckBox>().CurrentValue);
     }
     {
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear) ||
             Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
         {
             LaneJungleClearA.LaneClear();
             LaneJungleClearA.Items();
         }
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
         {
             Harass();
         }
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit))
         {
             LastHitA.LastHitB();
             LastHitA.Items();
         }
         {
             if (!ComboMenu["useignite"].Cast <CheckBox>().CurrentValue ||
                 !Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
             {
                 return;
             }
             foreach (
                 var source in
                 ObjectManager.Get <AIHeroClient>()
                 .Where(
                     a =>
                     a.IsEnemy && a.IsValidTarget(_ignite.Range) &&
                     a.Health < 50 + 20 * Renek.Level - (a.HPRegenRate / 5 * 3)))
             {
                 _ignite.Cast(source);
                 return;
             }
         }
     }
 }