Esempio n. 1
0
 public void activatorR()
 {
     if ((ObjectManager.Player.CountEnemiesInRange(Player.Instance.AttackRange) >= KindredMenu.utilitiesRenemys() || ObjectManager.Player.HealthPercent <= KindredMenu.utilitiesRhp()) && KindredMenu.utilitiesUseR())
     {
         KindredSpells.privR.Cast(Player.Instance);
     }
     foreach (var ally in ObjectManager.Get <AIHeroClient>().Where(a => a.IsAlly && KindredVariables.championNames.Contains(a.ChampionName) && KindredMenu.utilitiesPage[a.ChampionName].Cast <CheckBox>().CurrentValue&&a.HealthPercent <= 12))
     {
         KindredSpells.privR.Cast(ally);
     }
 }