private static void OnUpdate(EventArgs Args) { if (Me.IsDead) { return; } if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo) { var target = TargetSelector.GetTarget(Orbwalking.GetRealAutoAttackRange(Me), TargetSelector.DamageType.Physical); if (target != null && target.IsHPBarRendered) { if (Menu.Item("Youmuus", true).GetValue <bool>() && LeagueSharp.Common.Items.HasItem(3142) && target.IsValidTarget(Orbwalking.GetRealAutoAttackRange(Me) + 150)) { LeagueSharp.Common.Items.UseItem(3142); } if (Menu.Item("Cutlass", true).GetValue <bool>() && LeagueSharp.Common.Items.HasItem(3144) && target.IsValidTarget(Orbwalking.GetRealAutoAttackRange(Me)) && target.HealthPercent < 80) { LeagueSharp.Common.Items.UseItem(3144, target); } if (Menu.Item("Botrk", true).GetValue <bool>() && LeagueSharp.Common.Items.HasItem(3153) && target.IsValidTarget(Orbwalking.GetRealAutoAttackRange(Me)) && (target.HealthPercent < 80 || Me.HealthPercent < 80)) { LeagueSharp.Common.Items.UseItem(3153, target); } } } if (!Menu.Item("BlueTrinket", true).GetValue <bool>()) { return; } if (Me.Level >= 9 && Me.InFountain() && !BlutTrinket.IsOwned()) { Shop.BuyItem(ItemId.Farsight_Alteration); } }
public static bool StackingItemOwned(Obj_AI_Hero Hero) { return(Tear.IsOwned(Hero) || Archangel.IsOwned(Hero) || Manamune.IsOwned(Hero) || ScarTear.IsOwned(Hero) || ScarArchangel.IsOwned(Hero) || ScarManamune.IsOwned(Hero)); }