public void Execute() { if (Settings.UseR && R.IsReady() && Player.Instance.CountEnemiesInRange(1000) >= Settings.UseREnemies) { R.Cast(); } if (Settings.UseQ && Q.IsReady() && Player.Instance.CountEnemiesInRange(550) == 0 && Player.Instance.CountEnemiesInRange(850) > 0 && Menus.QSettings.GapcloserQ) { foreach (var e in EntityManager.Heroes.Enemies.Where(t => t.HealthPercent > 0 && !t.IsInvulnerable && !t.IsZombie).OrderBy(t => t.Distance(Player.Instance))) { Player.CastSpell(SpellSlot.Q, e.Position); } } if (Settings.UseE && E.IsReady()) { LogicOber.CastE(); } if (Settings.useBOTRK) { if (!castBOTRK()) { castBilgewater(); } } if (Settings.useYOUMOUS) { castYoumous(); } getVision(); }
public void Execute() { if (Settings.Mana >= Player.Instance.ManaPercent) { return; } if (Settings.UseE && E.IsReady()) { LogicOber.CastE(); } }