Example #1
0
 public static bool SafetyManager(this Obj_AI_Base target, AMenuComponent menu)
 {
     return(menu.GetSliderBool("danger") ? menu.GetSliderButton("danger") >= target.CountEnemyHeroesInRange(1000) && !target.IsUnderEnemyTurret() : true);
 }