Пример #1
0
 private static void SolariItem()
 {
     if (MyActivator.ironsolari.IsReady() && MyActivator.ironsolari.IsOwned())
     {
         foreach (AIHeroClient ally in EntityManager.Heroes.Allies)
         {
             if (EntityManager.Heroes.Enemies.Where(enemy => enemy != Player && enemy.Distance(Player) <= 1000).Count() > IllaoiMenu.itemsenemiesinrange() && ally.Distance(Player) <= 600 && MyActivator.ironsolari.IsReady() && IllaoiMenu.ironsolari())
             {
                 if (ally.HealthPercent < IllaoiMenu.itemssliderHP())
                 {
                     MyActivator.ironsolari.Cast();
                 }
             }
         }
     }
 }