Ejemplo n.º 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.KennenCombo();
         Rincombo(ComboMenu["usecombor"].Cast <CheckBox>().CurrentValue);
         Eincombo(ComboMenu["usecomboe"].Cast <CheckBox>().CurrentValue);
     }
     {
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear) ||
             Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
         {
             LaneJungleClearA.LaneClear();
         }
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit))
         {
             LastHitA.LastHitB();
         }
         SkinChange();
     }
 }
Ejemplo n.º 2
0
 private static void Tick(EventArgs args)
 {
     Killsteal();
     SkinChange();
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee))
     {
         Flee();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
     {
         Combo.KennenCombo();
         Rincombo(ComboMenu["usecombor"].Cast <CheckBox>().CurrentValue);
         Eincombo(ComboMenu["usecomboe"].Cast <CheckBox>().CurrentValue);
     }
     {
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear) ||
             Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
         {
             LaneJungleClearA.LaneClear();
         }
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit))
         {
             LastHitA.LastHitB();
         }
         SkinChange();
         {
             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 * Kennen.Level - (a.HPRegenRate / 5 * 3)))
             {
                 Ignite.Cast(source);
                 return;
             }
         }
     }
 }