static void AutoR() { if (HeroManager.Allies.Where(x => x.HealthPercent < 40 && AIO_Func.ECTarget(x, 1000f) > 0).Count() > 1 || Player.HealthPercent < 40 && AIO_Func.ECTarget(Player, 1000f) > 0) { if (R.IsReady()) { R.Cast(); } } }
static void Game_OnUpdate(EventArgs args) { if (Player.IsDead) { return; } if (Orbwalking.CanMove(35)) { AIO_Func.FleeToPosition(Q); AIO_Func.SC(Q, QD); if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo || Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed) { foreach (var target in HeroManager.Enemies.Where(x => x.HasBuff2("sejuanifrost"))) { if (target.Distance(Player.ServerPosition) <= E.Range && E.IsReady() && target != null) { AIO_Func.SC(E); } } } if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.LaneClear) { var EMinion = MinionManager.GetMinions(E.Range, MinionTypes.All, MinionTeam.NotAlly, MinionOrderTypes.MaxHealth).Where(x => x.HasBuff2("sejuanifrost")); foreach (var target in EMinion) { if (target.Distance(Player.ServerPosition) <= E.Range && E.IsReady() && target != null && EMinion.Count() > 3) { AIO_Func.SC(E); } } } if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo && AIO_Menu.Champion.Combo.UseR) { foreach (var target in HeroManager.Enemies.Where(x => AIO_Func.ECTarget(x, 600f) >= RM && x.Distance(Player.ServerPosition) > 300f).OrderByDescending(x => x.Health)) { if (R.CanCast(target) && AIO_Func.isKillable(target, R) && target != null) { AIO_Func.LCast(R, target, QD); } } } } #region Killsteal if (AIO_Menu.Champion.Misc.getBoolValue("KillstealQ")) { KillstealQ(); } if (AIO_Menu.Champion.Misc.getBoolValue("KillstealR")) { KillstealR(); } #endregion }
static void KillstealR() { foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health)) { if (!Q.IsReady() && target.Distance(Player.ServerPosition) > R.Range - 100f && R.CanCast(target) && AIO_Func.ECTarget(target, 800f) == 1 && AIO_Func.isKillable(target, R.GetDamage2(target) + (float)Player.GetAutoAttackDamage2(target, true))) { if (AIO_Menu.Champion.Combo.getBoolValue("R Usage For Solo Target")) { R.Cast(target); } } if (R.CanCast(target) && AIO_Func.ECTarget(target, 800f) >= 2 && AIO_Func.isKillable(target, R.GetDamage2(target, 3))) { R.Cast(target); } } }
static float getComboDamage(Obj_AI_Base enemy) { float damage = 0; var Target = enemy as Obj_AI_Hero; if (Q.IsReady() && !Player.HasBuff2("fioraqcd")) { damage += Q.GetDamage2(enemy) * 2; } else if (Q.IsReady() && Player.HasBuff2("fioraqcd")) { damage += Q.GetDamage2(enemy); } if (W.IsReady()) { damage += W.GetDamage2(enemy); } if (E.IsReady()) { damage += (float)Player.GetAutoAttackDamage2(enemy, true) * 2; } if (R.IsReady() && AIO_Menu.Champion.Misc.getBoolValue("KillstealR") && AIO_Func.ECTarget(Target, 800f) == 1) { damage += R.GetDamage2(enemy); } else if (R.IsReady() && AIO_Menu.Champion.Misc.getBoolValue("KillstealR") && AIO_Func.ECTarget(Target, 800f) > 1) { damage += R.GetDamage2(enemy, 3); } if (!Player.IsWindingUp) { damage += (float)Player.GetAutoAttackDamage2(enemy, true); } return(damage); }
static void Game_OnUpdate(EventArgs args) { if (Player.IsDead) { return; } R.Range = 1250f + R.Level * 750f; if (Orbwalking.CanMove(35)) { AIO_Func.SC(Q, QD); if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo) { foreach (var target in HeroManager.Enemies.Where(x => !x.IsDead && AIO_Func.ECTarget(x, 900, 60, 100) <= 1 && AIO_Func.isKillable(x, getComboDamage(x) * 2))) { if (target.Distance(Player.ServerPosition) <= R.Range && R.IsReady() && target != null && AIO_Menu.Champion.Combo.UseR) { if (Player.HasBuff2("NocturnPeranoia")) { R.Cast(target); } else { R.Cast(); } } } } AIO_Func.SC(E); } #region Killsteal if (AIO_Menu.Champion.Misc.getBoolValue("KillstealQ")) { KillstealQ(); } if (AIO_Menu.Champion.Misc.getBoolValue("KillstealR")) { KillstealR(); } #endregion }
static void AutoR() { var Target = TargetSelector.GetTarget(Q.Range, Q.DamageType, true); if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo && R.IsReady() && Target != null) { if (HAMMER && Player.Distance(Target.ServerPosition) > Orbwalking.GetRealAutoAttackRange(Player) && !Q.IsReady() && !E.IsReady()) { R.Cast(); } else if (HAMMER && Player.Distance(Target.ServerPosition) > E.Range + 50f && !Q.IsReady()) { R.Cast(); } else if (!HAMMER && !Q.IsReady() && (!W.IsReady() || Player.HasBuff2("jaycehypercharge")) && !E.IsReady() && AIO_Func.ECTarget(Player, 1000f, 40) <= 1 && Player.HealthPercent > 40 && AIO_Func.isKillable(Target, (Q.GetDamage2(Target, 1) + W.GetDamage2(Target) + E.GetDamage2(Target) + (float)Player.GetAutoAttackDamage2(Target, true)) * 1.5f)) { R.Cast(); } } }
static void Game_OnUpdate(EventArgs args) { if (Player.IsDead) { return; } if (Orbwalking.CanMove(10)) { if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo) // 하레스 넣을 필요가 없어서 뺌. (AA에 하레스 있음) { Combo(); } if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.LaneClear) // 라인클리어 - 라인클리어도 필요없어서 뺌. (AAJcLc에 포함) { Jungleclear(); } } #region Killsteal if (AIO_Menu.Champion.Misc.getBoolValue("KillstealQ")) { KillstealQ(); } if (AIO_Menu.Champion.Misc.getBoolValue("KillstealR")) { KillstealR(); } #endregion #region Ping Notify on R killable enemies if (R.IsReady() && AIO_Menu.Champion.Misc.getBoolValue("Ping Notify on R killable enemies (local)")) { if (LastPingTime + 333 < Utils.GameTimeTickCount) //1:1 상황에서 궁으로 킬 가능시 핑찍기. { foreach (var target in HeroManager.Enemies.Where(x => x.IsValidTarget(1200f) && AIO_Func.isKillable(x, R.GetDamage2(x)) && AIO_Func.ECTarget(x, 1000f) == 1)) { Game.ShowPing(PingCategory.Normal, target.Position, true); } LastPingTime = Utils.GameTimeTickCount; } } #endregion }
static void Combo() { if (AIO_Menu.Champion.Combo.UseQ && Q.IsReady()) { var qd = Menu.Item("Combo.QD").GetValue <Slider>().Value; var qTarget = TargetSelector.GetTarget(Q.Range, Q.DamageType); var Q2T = TargetSelector.GetTarget(Q.Range * 2, Q.DamageType); var QM = (Q2T != null ? MinionManager.GetMinions(Q2T.ServerPosition, 550f, MinionTypes.All, MinionTeam.NotAlly).FirstOrDefault(x => x.Distance(Player.ServerPosition) <= Q.Range && x.Distance(Player.ServerPosition) >= Q.Range - 150f) : null); if (qTarget != null && (qTarget.Distance(Player.ServerPosition) >= qd || getQBuffDuration < 1)) { Q.Cast(qTarget); } if (!Player.HasBuff2("fioraqcd") && Q2T != null && QM != null && Q2T.HealthPercent < Player.HealthPercent - 10 && AIO_Func.ECTarget(Q2T, 600f, Player.HealthPercent - 9) == 0) { Q.Cast(QM); } } }
static void Combo() { if (AIO_Menu.Champion.Combo.UseQ && Q.IsReady()) { var Qtarget = TargetSelector.GetTarget(Q.Range, Q.DamageType); AIO_Func.CCast(Q, Qtarget); } if (AIO_Menu.Champion.Combo.UseE && E.IsReady()) { var Etarget = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Magical); AIO_Func.LCast(E, Etarget, ED, float.MaxValue); } if (AIO_Menu.Champion.Combo.UseW && W.IsReady() && (Q.IsReady() || E.IsReady())) { var Wtarget = TargetSelector.GetTarget(W.Range, TargetSelector.DamageType.Magical); AIO_Func.CCast(W, Wtarget); } if (AIO_Menu.Champion.Combo.UseR && R.IsReady()) { var Rtarget = TargetSelector.GetTarget(R.Range, TargetSelector.DamageType.Magical); var rt = Menu.Item("Combo.Rt").GetValue <Slider>().Value; if (AIO_Func.getHealthPercent(Player) < 50 && AIO_Func.isKillable(Rtarget, getComboDamage(Rtarget) * 2 / 3) || AIO_Func.ECTarget(Rtarget, R.Width, 0, 100) >= rt) { AIO_Func.CCast(R, Rtarget); } } }
static void Combo() { if (AIO_Menu.Champion.Combo.UseQ && Q.IsReady()) { AIO_Func.CCast(Q, Q.GetTarget()); } if (AIO_Menu.Champion.Combo.UseE && E.IsReady()) { AIO_Func.LCast(E, E.GetTarget(), ED, float.MaxValue); } if (AIO_Menu.Champion.Combo.UseW && W.IsReady() && (Q.IsReady() || E.IsReady())) { AIO_Func.CCast(W, E.GetTarget()); } if (AIO_Menu.Champion.Combo.UseR && R.IsReady()) { var Rtarget = R.GetTarget(); if (Player.HealthPercent < 50 && AIO_Func.isKillable(Rtarget, getComboDamage(Rtarget) * 2 / 3) || AIO_Func.ECTarget(Rtarget, R.Width, 0, 100) >= AIO_Menu.Champion.Combo.getSliderValue("R Min Targets").Value) { AIO_Func.CCast(R, Rtarget); } } }