コード例 #1
0
ファイル: Program.cs プロジェクト: Neafle/EloBuddy-1
 private static void Tick(EventArgs args)
 {
     Killsteal();
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee))
     {
         Flee();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
     {
         Combo.VladCombo();
         Rincombo(ComboMenu["usecombor"].Cast <CheckBox>().CurrentValue);
     }
     {
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear) ||
             Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
         {
             LaneClearA.LaneClear();
         }
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit))
         {
             LastHitA.LastHitB();
         }
     }
     SkinChange();
 }
コード例 #2
0
 private static void Tick(EventArgs args)
 {
     Killsteal();
     SkinChange();
     Zhonya();
     if (HarassMenu["autoh"].Cast <CheckBox>().CurrentValue)
     {
         AutoHarass();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee))
     {
         Flee();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
     {
         Combo.VladCombo();
         Rincombo(ComboMenu["usecombor"].Cast <CheckBox>().CurrentValue);
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear) ||
         Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
     {
         LaneClearA.LaneClear();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
     {
         Harass();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit))
     {
         LastHitA.LastHitB();
     }
     else 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 * Vlad.Level - (a.HPRegenRate / 5 * 3)))
     {
         Ignite.Cast(source);
         return;
     }
 }