public static void GameOnOnUpdate(EventArgs args) { AkaActivator.LoadSpells(); AutoPotions(); Sams(); //SmiteEvent(); if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass)) { Harass(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear)) { JungleClear(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee)) { Flee(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear)) { LaneClear(); } }
private static void SmiteEvent() { if (!Smite.IsReady() || Player.Instance.IsDead) { return; } if (SmiteMenu["smiteActive"].Cast <KeyBind>().CurrentValue) { var unit = EntityManager.MinionsAndMonsters.Monsters .Where( a => AkaActivator.SmiteableUnits.Contains(a.BaseSkinName) && a.Health < AkaActivator.GetSmiteDamage() && SmiteMenu[a.BaseSkinName].Cast <CheckBox>().CurrentValue) .OrderByDescending(a => a.MaxHealth) .FirstOrDefault(); if (unit != null) { Smite.Cast(unit); } } if (SmiteMenu["useSlowSmite"].Cast <CheckBox>().CurrentValue&& Smite.Handle.Name == "s5_summonersmiteplayerganker") { foreach ( var target in EntityManager.Heroes.Enemies .Where(h => h.IsValidTarget(Smite.Range) && h.Health <= 20 + 8 * Player.Instance.Level)) { Smite.Cast(target); } } if (SmiteMenu["comboWithDuelSmite"].Cast <CheckBox>().CurrentValue&& Smite.Handle.Name == "s5_summonersmiteduel" && Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { foreach ( var target in EntityManager.Heroes.Enemies .Where(h => h.IsValidTarget(Smite.Range)).OrderByDescending(TargetSelector.GetPriority)) { AkaActivator.Smite.Cast(target); } } }
private static void GameOnOnUpdate(EventArgs args) { AkaActivator.LoadSpells(); AutoPotions(); Sams(); SmiteEvent(); foreach ( var ally in EntityManager.Heroes.Allies.Where(a => !a.IsDead)) { if ( ally.HealthPercent <= 15 && ally.CountEnemiesInRange(850) >= 2 ) { yelpallys(ally); } } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass)) { Harass(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear)) { JungleClear(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee)) { Flee(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear)) { LaneClear(); } }