// Prob going to need a rework private static HarassPattern Generate() { var target = Global.TargetSelector.GetTarget(Extensions.EngageRange + 700); if (target == null) { return(HarassPattern.SemiCombo); } switch (MenuConfig.Harass["Mode"].Value) { case 0: if (target.IsUnderEnemyTurret() || Dangerous.Contains(target.ChampionName)) { return(HarassPattern.AvoidTarget); } if (Melee.Contains(target.ChampionName)) { return(HarassPattern.BackToTarget); } return(SemiCombo.Contains(target.ChampionName) ? HarassPattern.SemiCombo : HarassPattern.AvoidTarget); case 1: return(HarassPattern.SemiCombo); case 2: return(HarassPattern.AvoidTarget); case 3: return(HarassPattern.BackToTarget); } return(HarassPattern.SemiCombo); }