public override void Active() { if (BoundHero == null && Created) { if (File.Exists(appdata + Game.GameId + ".dat")) { var read = File.ReadAllLines(appdata + Game.GameId + ".dat"); BoundHero = EntityManager.Heroes.Allies.FirstOrDefault(a => read.Contains(a.NetworkId.ToString())); } } if (!E.IsReady()) { return; } if (AutoMenu.CheckBoxValue("AutoEJungle")) { foreach (var mob in SupportedJungleMobs.Where(m => m != null && m.IsKillable(E.Range) && m.EKill())) { if (mob != null) { E.Cast(); } return; } } if (AutoMenu.CheckBoxValue("AutoEBig")) { foreach (var mob in EntityManager.MinionsAndMonsters.EnemyMinions.Where(m => m != null && m.IsBigMinion() && m.IsKillable(E.Range) && m.EKill())) { if (mob != null) { E.Cast(); } return; } } if (AutoMenu.CheckBoxValue("AutoE") && NoModesActive) { foreach (var enemy in EntityManager.Heroes.Enemies.Where(e => e != null && e.IsKillable(E.Range) && AutoMenu.CompareSlider("AutoEcount", e.RendCount()))) { if (enemy != null) { E.Cast(); } return; } } if (LaneClearMenu.KeyBindValue("Etog")) { if (EntityManager.MinionsAndMonsters.EnemyMinions.Count(m => m.IsKillable(E.Range) && m.EKill()) >= LaneClearMenu.SliderValue("Ekills")) { E.Cast(); } } }
public override void JungleClear() { if (E.IsReady() && JungleClearMenu.CheckBoxValue(SpellSlot.E) && JungleClearMenu.CompareSlider("Emana", user.ManaPercent)) { if (JungleClearMenu.CheckBoxValue("Esmall")) { foreach (var mob in EntityManager.MinionsAndMonsters.GetJungleMonsters().Where(m => m != null && m.IsKillable(E.Range) && m.EKill())) { if (mob != null) { E.Cast(); } return; } } else { foreach (var mob in SupportedJungleMobs.Where(m => m != null && m.IsKillable(E.Range) && m.EKill())) { if (mob != null) { E.Cast(); } return; } } } if (Q.IsReady() && JungleClearMenu.CheckBoxValue(SpellSlot.Q) && JungleClearMenu.CompareSlider("Qmana", user.ManaPercent)) { foreach (var mob in SupportedJungleMobs.Where(m => m != null && m.IsKillable(Q.Range))) { if (mob != null) { Q.Cast(mob); } return; } } }
public override void Active() { if (!E.IsReady()) { return; } if (AutoMenu.CheckBoxValue("AutoEJungle")) { foreach (var mob in SupportedJungleMobs.Where(m => m != null && m.IsKillable(E.Range) && m.EKill())) { if (mob != null) { E.Cast(); } return; } } if (AutoMenu.CheckBoxValue("AutoEBig")) { foreach (var mob in EntityManager.MinionsAndMonsters.EnemyMinions.Where(m => m != null && m.IsBigMinion() && m.IsKillable(E.Range) && m.EKill())) { if (mob != null) { E.Cast(); } return; } } if (AutoMenu.CheckBoxValue("AutoE") && NoModesActive) { foreach (var enemy in EntityManager.Heroes.Enemies.Where(e => e != null && e.IsKillable(E.Range) && AutoMenu.CompareSlider("AutoEcount", e.RendCount()))) { if (enemy != null) { E.Cast(); } return; } } }