コード例 #1
0
 private static void Tick(EventArgs args)
 {
     Killsteal();
     SkinChange();
     AutoQ(ComboMenu["usecomboq"].Cast <CheckBox>().CurrentValue);
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee))
     {
         Flee();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
     {
         Combo.TrynCombo();
         Combo.Items();
     }
     {
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear) ||
             Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
         {
             LaneJungleClearA.LaneClearA();
         }
         AutoUlt(ComboMenu["usecombor"].Cast <CheckBox>().CurrentValue);
     }
     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 * Tryndamere.Level - (a.HPRegenRate / 5 * 3)))
     {
         _ignite.Cast(source);
         return;
     }
 }
コード例 #2
0
 private static void Tick(EventArgs args)
 {
     Killsteal();
     SkinChange();
     AutoQ(ComboMenu["usecomboq"].Cast <CheckBox>().CurrentValue);
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee))
     {
         Flee();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
     {
         Combo.TrynCombo();
         Combo.Items();
     }
     {
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear) ||
             Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
         {
             LaneJungleClearA.LaneClearA();
         }
         AutoUlt(ComboMenu["usecombor"].Cast <CheckBox>().CurrentValue);
     }
 }