示例#1
0
 private static void Game_OnTick(EventArgs args)
 {
     SkinChange();
     Killsteal();
     if (MiscMenu["lvlup"].Cast <CheckBox>().CurrentValue)
     {
         LevelUpSpells();
     }
     {
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
         {
             Combo();
         }
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
         {
             Harass();
         }
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear))
         {
             LaneJungleClearA.LaneClear();
         }
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit))
         {
             LastHitA.LastHitB();
         }
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee))
         {
             Flee();
         }
     }
 }
示例#2
0
 private static void Game_OnTick(EventArgs args)
 {
     SkinChange();
     Killsteal();
     if (MiscMenu["lvlup"].Cast <CheckBox>().CurrentValue)
     {
         LevelUpSpells();
     }
     {
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
         {
             Combo();
         }
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
         {
             Harass();
         }
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear))
         {
             LaneJungleClearA.LaneClear();
         }
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit))
         {
             LastHitA.LastHitB();
         }
         if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee))
         {
             Flee();
         }
         {
             {
                 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 * Kassawin.Level - a.HPRegenRate / 5 * 3))
                 {
                     Ignite.Cast(source);
                     return;
                 }
             }
         }
     }
 }