private void LogicE() { if (Player.Mana < RMANA + EMANA || !Config.Item("autoE", true).GetValue <bool>()) { return; } if (HeroManager.Enemies.Any(target => target.IsValidTarget(270) && target.IsMelee)) { var dashPos = Dash.CastDash(true); if (!dashPos.IsZero) { E.Cast(dashPos); } } else { if (!Program.Combo || passRdy || SpellLock) { return; } var dashPos = Dash.CastDash(); if (!dashPos.IsZero) { E.Cast(dashPos); } } }
private void LogicE() { if (Player.Mana < EMANA + RMANA) { return; } if (GameObjects.EnemyHeroes.Any(e => e.IsValidTarget(270) && e.IsMelee)) { var dashPos = Dash.CastDash(true); if (!dashPos.IsZero) { E.Cast(dashPos); } } else if (!Combo || passRdy || SpellLock) { return; } else { var dashPos = Dash.CastDash(); if (!dashPos.IsZero) { E.Cast(dashPos); } } }
private void LogicE() { if (Player.Mana < RMANA + EMANA || !Config[Player.CharacterName]["EConfig"].GetValue <MenuBool>("autoE").Enabled) { return; } if (GameObjects.EnemyHeroes.Any(target => target.IsValidTarget(270) && target.IsMelee)) { var dashPos = Dash.CastDash(true); if (!dashPos.IsZero) { E.Cast(dashPos); } } else { if (!Combo || passRdy || SpellLock) { return; } var dashPos = Dash.CastDash(); if (!dashPos.IsZero) { E.Cast(dashPos); } } }
private void Obj_AI_Base_OnBuffAdd(Obj_AI_Base sender, Obj_AI_BaseBuffAddEventArgs args) { if (sender.IsMe && Config.Item("autoEgrab", true).GetValue <bool>() && E.IsReady()) { if (args.Buff.Name == "ThreshQ" || args.Buff.Name == "rocketgrab2") { var dashPos = Dash.CastDash(true); if (!dashPos.IsZero) { E.Cast(dashPos); } else { E.Cast(Game.CursorPos); } } } }
private void LogicE() { if (HeroManager.Enemies.Any(target => target.IsValidTarget(270) && target.IsMelee)) { var dashPos = Dash.CastDash(true); if (!dashPos.IsZero) { E.Cast(dashPos); } } if (Program.Combo && Player.Mana > RMANA + EMANA && !Player.HasBuff("gravesbasicattackammo2")) { var dashPos = Dash.CastDash(); if (!dashPos.IsZero) { E.Cast(dashPos); } } }
public void Orbwalker_AfterAttack(AttackableUnit unit, AttackableUnit target) { if (target.Type != GameObjectType.AIHeroClient) { return; } if (Program.Combo && Player.Mana > RMANA + QMANA && Q.IsReady() && Config.Item("autoQ", true).GetValue <bool>()) { var t = target as AIHeroClient; if (t.IsValidTarget()) { var dashPos = Dash.CastDash(); if (!dashPos.IsZero && dashPos.CountEnemiesInRange(500) > 0) { Q.Cast(dashPos); } } } }
public static void Orbwalker_AfterAttack(AttackableUnit target, EventArgs args) { if (target.Type != GameObjectType.AIHeroClient) { return; } if (Program.Combo && Player.Mana > RMANA + QMANA && Q.IsReady() && getCheckBoxItem(qMenu, "autoQ")) { var t = target as AIHeroClient; if (t.LSIsValidTarget()) { var dashPos = Dash.CastDash(); if (!dashPos.IsZero && dashPos.CountEnemiesInRange(500) > 0) { Q.Cast(dashPos); } } } }
private void LogicE() { if (GameObjects.EnemyHeroes.Any(e => e.IsValidTarget(270) && e.IsMelee)) { var dashPos = Dash.CastDash(true); if (!dashPos.IsZero) { E.Cast(dashPos); } } if (Combo && Player.Mana > EMANA + RMANA && !Player.HasBuff("gravesbasicattackammo2")) { var dashPos = Dash.CastDash(true); if (!dashPos.IsZero) { E.Cast(dashPos); } } }
private void afterAttack(AttackableUnit unit, AttackableUnit target) { var t = target as AIHeroClient; if (t != null) { if (E.IsReady() && Config.Item("Eks", true).GetValue <bool>()) { var incomingDMG = OktwCommon.GetIncomingDamage(t, 0.3f, false); if (incomingDMG > t.Health) { return; } var dmgE = E.GetDamage(t) + incomingDMG; if (GetWStacks(t) == 1) { dmgE += Wdmg(t); } if (dmgE > t.Health) { E.Cast(t); } } if (Q.IsReady() && !Program.None && Config.Item("autoQ", true).GetValue <bool>() && (GetWStacks(t) == Config.Item("Qstack", true).GetValue <Slider>().Value - 1 || Player.HasBuff("vayneinquisition"))) { var dashPos = Dash.CastDash(true); if (!dashPos.IsZero) { Q.Cast(dashPos); } } } var m = target as Obj_AI_Minion; if (m != null && Q.IsReady() && Program.Farm && Config.Item("farmQ", true).GetValue <bool>()) { var dashPosition = Player.Position.Extend(Game.CursorPos, Q.Range); if (!Dash.IsGoodPosition(dashPosition)) { return; } if (Config.Item("farmQjungle", true).GetValue <bool>() && m.Team == GameObjectTeam.Neutral) { Q.Cast(dashPosition, true); } if (Config.Item("farmQ", true).GetValue <bool>()) { foreach (var minion in Cache.GetMinions(dashPosition, 0).Where(minion => m.NetworkId != minion.NetworkId)) { var time = (int)(Player.AttackCastDelay * 1000) + Game.Ping / 2 + 1000 * (int)Math.Max(0, Player.Distance(minion) - Player.BoundingRadius) / (int)Player.BasicAttack.MissileSpeed; var predHealth = SebbyLib.HealthPrediction.GetHealthPrediction(minion, time); if (predHealth < Player.GetAutoAttackDamage(minion) + Q.GetDamage(minion) && predHealth > 0) { Q.Cast(dashPosition, true); } } } } }