private void BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (!Q.IsReady() || !Config.Item("autoQ", true).GetValue <bool>() || !FishBoneActive) { return; } var t = args.Target as AIHeroClient; if (t != null) { var realDistance = GetRealDistance(t) - 50; if (Program.Combo && (realDistance < GetRealPowPowRange(t) || (Player.Mana < RMANA + 20 && Player.GetAutoAttackDamage(t) * 3 < t.Health))) { Q.Cast(); } else if (Program.Farm && Config.Item("Qharras", true).GetValue <bool>() && (realDistance > bonusRange() || realDistance < GetRealPowPowRange(t) || Player.Mana < RMANA + EMANA + WMANA + WMANA)) { Q.Cast(); } } var minion = args.Target as Obj_AI_Minion; if (Program.Farm && minion != null) { var realDistance = GetRealDistance(minion); if (realDistance < GetRealPowPowRange(minion) || Player.ManaPercent < Config.Item("Mana", true).GetValue <Slider>().Value) { Q.Cast(); } } }
private void BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { //Program.debug("" + OktwCommon.GetBuffCount(Player, "dravenspinningattack")); if (Q.IsReady()) { var buffCount = OktwCommon.GetBuffCount(Player, "dravenspinningattack"); if (Config.Item("autoQ", true).GetValue <bool>() && args.Target.IsValid <AIHeroClient>()) { if (buffCount + axeList.Count == 0) { Q.Cast(); } else if (Player.Mana > RMANA + QMANA && buffCount == 0) { Q.Cast(); } } if (Program.Farm && Config.Item("farmQ", true).GetValue <bool>()) { if (buffCount + axeList.Count == 0 && Player.Mana > RMANA + EMANA + WMANA) { Q.Cast(); } else if (Player.ManaPercent > 70 && buffCount == 0) { Q.Cast(); } } } }
static void BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (args.Target.Type == GameObjectType.obj_AI_Minion && menu.Item("aa").GetValue <bool>() && AlliesInRange(800) > 0) { args.Process = false; } }
private void BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (Config.Item("visibleR", true).GetValue <bool>() && Player.HasBuff("vaynetumblefade") && Player.CountEnemiesInRange(800) > 1) { args.Process = false; } if (args.Target.Type != GameObjectType.AIHeroClient) { return; } var t = args.Target as AIHeroClient; if (GetWStacks(t) < 2 && args.Target.Health > 5 * Player.GetAutoAttackDamage(t)) { foreach (var target in HeroManager.Enemies.Where(target => target.IsValidTargetLS(800) && GetWStacks(target) == 2)) { if (EloBuddy.Player.Instance.IsInAutoAttackRange(target) && args.Target.Health > 3 * Player.GetAutoAttackDamage(target)) { args.Process = false; Orbwalker.ForceTarget(target); } } } }
static void Orbwalking_BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (Getallies(1000) > 0 && ((Obj_AI_Base)_orbwalker.GetTarget()).IsMinion && /*args.Unit.IsMinion &&*/ _config.Item("support").GetValue <bool>()) { args.Process = false; } }
private static void Orbwalking_BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (AIOmode == 2) { return; } if (Combo && Config.Item("comboDisableMode", true).GetValue <bool>()) { var t = (AIHeroClient)args.Target; if (4 * Player.GetAutoAttackDamage(t) < t.Health - OktwCommon.GetIncomingDamage(t) && !t.HasBuff("luxilluminatingfraulein") && !Player.HasBuff("sheen") && !Player.HasBuff("Mastery6261")) { args.Process = false; } } if (!Player.IsMelee && OktwCommon.CollisionYasuo(Player.ServerPosition, args.Target.Position) && Config.Item("collAA", true).GetValue <bool>()) { args.Process = false; } if (Orbwalker.ActiveMode == LeagueSharp.Common.Orbwalking.OrbwalkingMode.Mixed && Config.Item("supportMode", true).GetValue <bool>()) { if (args.Target.Type == GameObjectType.obj_AI_Minion) { args.Process = false; } } }
private void Orbwalking_BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (args.Target.IsValid <Obj_AI_Minion>() && !Player.HasBuff("xerathascended2onhit") && Program.Combo) { args.Process = false; } }
static void Orbwalking_BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (FarmId != args.Target.NetworkId) { FarmId = args.Target.NetworkId; } }
private void BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (E.IsReady() && args.Target.IsValid <AIHeroClient>() && Config.Item("autoE", true).GetValue <bool>()) { E.Cast(); } }
static void Orbwalking_BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (((Obj_AI_Base)Orbwalker.GetTarget()).IsMinion) { args.Process = false; } }
static void Orbwalking_BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (Config.Item("sup").GetValue <bool>() && (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed || Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.LastHit)) { if (((Obj_AI_Base)Orbwalker.GetTarget()).IsMinion) { args.Process = false; } } }
private void BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (W.IsReady() && Config.Item("autoW", true).GetValue <bool>() && Range && args.Target is AIHeroClient) { if (Program.Combo) { W.Cast(); } else if (args.Target.Position.Distance(Player.Position) < 500) { W.Cast(); } } }
static void Orbwalking_BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (Config.Item("Ryze.AutoMuramana").GetValue <bool>()) { int Muramanaitem = Items.HasItem(Muramana) ? 3042 : 3043; if (args.Target.IsValid <Obj_AI_Hero>() && args.Target.IsEnemy && Items.HasItem(Muramanaitem) && Items.CanUseItem(Muramanaitem) && Player.ManaPercent > Config.Item("Ryze.AutoMuramanaMiniMana").GetValue <Slider>().Value) { if (!ObjectManager.Player.HasBuff("Muramana")) { Items.UseItem(Muramanaitem); } } else if (ObjectManager.Player.HasBuff("Muramana") && Items.HasItem(Muramanaitem) && Items.CanUseItem(Muramanaitem)) { Items.UseItem(Muramanaitem); } } }
private void BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (E.IsReady() && Sheen() && args.Target.IsValid <AIHeroClient>()) { if (Program.Combo && Config.Item("autoE", true).GetValue <bool>() && Player.Mana > EMANA + RMANA) { E.Cast(args.Target.Position); } if (Program.Farm && Config.Item("harassE", true).GetValue <bool>() && Player.Mana > EMANA + RMANA + QMANA && OktwCommon.CanHarras()) { E.Cast(args.Target.Position); } if (!Q.IsReady() && !R.IsReady() && args.Target.Health < Player.FlatPhysicalDamageMod * 2) { E.Cast(); } } }
private void BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (E.IsReady() && args.Target is AIHeroClient) { var t = (AIHeroClient)args.Target; if (t.IsValidTargetLS()) { if (E.GetDamage(t) > t.Health) { E.Cast(t); if (!Player.HasBuff("itemstatikshankcharge")) { args.Process = false; } } else if (R.IsReady() && E.GetDamage(t) + R.GetDamage(t) > t.Health && Player.Mana > RMANA + EMANA) { E.Cast(t); if (!Player.HasBuff("itemstatikshankcharge")) { args.Process = false; } } else if (Program.Combo && Player.Mana > RMANA + EMANA && Config.Item("useEon" + t.ChampionName).GetValue <bool>()) { E.Cast(t); if (!Player.HasBuff("itemstatikshankcharge")) { args.Process = false; } } else if (Program.Farm && Player.Mana > RMANA + EMANA + WMANA + RMANA && Config.Item("harras" + t.ChampionName).GetValue <bool>()) { E.Cast(t); if (!Player.HasBuff("itemstatikshankcharge")) { args.Process = false; } } } } }
private void Orbwalking_BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (args.Target.Type == GameObjectType.AIHeroClient && Config.Item("focusP", true).GetValue <bool>() && args.Target.HealthPercent > 40) { var orbTarget = args.Target as AIHeroClient; if (!orbTarget.HasBuff("quinnw")) { var best = HeroManager.Enemies.FirstOrDefault(enemy => enemy.IsValidTargetLS() && EloBuddy.Player.Instance.IsInAutoAttackRange(enemy) && enemy.HasBuff("quinnw")); if (best != null) { Orbwalker.ForceTarget(best); } } } else if (Program.LaneClear && args.Target.Type == GameObjectType.obj_AI_Minion && Config.Item("farmP", true).GetValue <bool>()) { var bestMinion = Cache.GetMinions(Player.Position, Player.AttackRange).FirstOrDefault(minion => minion.IsValidTargetLS() && EloBuddy.Player.Instance.IsInAutoAttackRange(minion) && minion.HasBuff("quinnw")); if (bestMinion != null) { Orbwalker.ForceTarget(bestMinion); } } }
private void BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { if (FarmId != args.Target.NetworkId) { FarmId = args.Target.NetworkId; } if (W.IsReady() && Config.Item("Waa", true).GetValue <bool>() && args.Target.IsValid <AIHeroClient>() && Player.Mana > WMANA + QMANA * 4) { W.Cast(); } if (Config.Item("mura", true).GetValue <bool>()) { int Mur = Items.HasItem(Muramana) ? 3042 : 3043; if (!Player.HasBuff("Muramana") && args.Target.IsEnemy && args.Target.IsValid <AIHeroClient>() && Items.HasItem(Mur) && Items.CanUseItem(Mur) && Player.Mana > RMANA + EMANA + QMANA + WMANA) { Items.UseItem(Mur); } else if (Player.HasBuff("Muramana") && Items.HasItem(Mur) && Items.CanUseItem(Mur)) { Items.UseItem(Mur); } } }
private static void OrbwalkingOnBeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { args.Process = AttacksEnabled; }
private void BeforeAttack(LeagueSharp.Common.Orbwalking.BeforeAttackEventArgs args) { }