static float getComboDamage(Obj_AI_Base enemy) { float damage = 0; if (Q.IsReady()) { damage += Q.GetDamage2(enemy); } if (W.IsReady()) { damage += W.GetDamage2(enemy) + (float)Player.GetAutoAttackDamage2(enemy, true); } if (E.IsReady()) { damage += (float)Player.GetAutoAttackDamage2(enemy, true) * 2; } if (R.IsReady()) { var buff = AIO_Func.getBuffInstance(enemy, "dariushemo"); damage += R.GetDamage2(enemy) * (1 + (float)buff.Count / 5) - 15; } return(damage); }
static float getComboDamage(Obj_AI_Base enemy) { float damage = 0; var Buff = AIO_Func.getBuffInstance(enemy, "tristanaecharge"); if (Q.IsReady()) { damage += (float)Player.GetAutoAttackDamage2(enemy, true); } if (W.IsReady()) { damage += W.GetDamage2(enemy);//((float)Buff.Count > 0 && enemy.HasBuff2("tristanaechargesound") ? W.GetDamage2(enemy)*(((float)Buff.Count-1)*0.25f+1f) : W.GetDamage2(enemy)); } if (E.IsReady()) { damage += E.GetDamage2(enemy);//((float)Buff.Count > 0 && enemy.HasBuff2("tristanaechargesound") ? E.GetDamage2(enemy)*(((float)Buff.Count-1)*0.30f+1f) : E.GetDamage2(enemy)); } if (R.IsReady()) { damage += R.GetDamage2(enemy); } if (enemy.InAARange()) { damage += (float)Player.GetAutoAttackDamage2(enemy, true); } return(damage); }
static void Harass() { if (AIO_Menu.Champion.Harass.UseQ && Q.IsReady()) { if (!Player.HasBuff2("yasuoq3w")) { var qTarget = TargetSelector.GetTarget(Q.Range, Q.DamageType, true); if (qTarget.Distance(Player.Position) >= Orbwalking.GetRealAutoAttackRange(Player) + 50) { AIO_Func.LCast(Q, qTarget, QD); } } else { var qTarget = TargetSelector.GetTarget(QQ.Range, Q.DamageType, true); AIO_Func.LCast(QQ, qTarget, QD); } } if (AIO_Menu.Champion.Harass.UseE && E.IsReady()) { var Buff = AIO_Func.getBuffInstance(Player, "yasuodashscalar"); var ETarget = TargetSelector.GetTarget(E.Range, E.DamageType, true); if (!ETarget.HasBuff2("YasuoDashWrapper") && (float)Buff.Count > 1) { E.Cast(ETarget); } } }
static float getComboDamage(Obj_AI_Base enemy) { float damage = 0; var Buff = AIO_Func.getBuffInstance(Player, "yasuodashscalar"); if (Q.IsReady()) { damage += Q.GetDamage2(enemy); } if (E.IsReady()) { damage += E.GetDamage2(enemy) * ((float)Buff.Count * 0.25f + 1f); } if (R.IsReady()) { damage += R.GetDamage2(enemy); } if (!Player.IsWindingUp) { damage += (float)Player.GetAutoAttackDamage2(enemy, true); } return(damage); }
static void AA() { var Target = TargetSelector.GetTarget(Orbwalking.GetRealAutoAttackRange(Player), E.DamageType); var buff = AIO_Func.getBuffInstance(Target, "vaynesilvereddebuf"); AIO_Func.MouseSC(Q); if (buff.Count > 1 && Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed) { AIO_Func.AACb(E); } }
static void Drawing_OnDraw(EventArgs args) { if (Player.IsDead) { return; } var drawQ = AIO_Menu.Champion.Drawings.Qrange; var drawW = AIO_Menu.Champion.Drawings.Wrange; var drawE = AIO_Menu.Champion.Drawings.Erange; var drawR = AIO_Menu.Champion.Drawings.Rrange; var drawP = AIO_Menu.Champion.Drawings.getCircleValue("Passive Timer"); if (drawQ.Active && !QisActive) { Render.Circle.DrawCircle(Player.Position, GetQActiveRange, drawQ.Color); } if (drawW.Active && W.IsReady()) { Render.Circle.DrawCircle(Player.Position, W.Range, drawW.Color); } if (drawE.Active && E.IsReady()) { Render.Circle.DrawCircle(Player.Position, E.Range, drawE.Color); } if (drawR.Active && R.IsReady()) { Render.Circle.DrawCircle(Player.Position, R.Range, drawR.Color); } if (drawP.Active) { var passive = AIO_Func.getBuffInstance(Player, "jinxpassivekill"); if (passive != null) { var targetpos = Drawing.WorldToScreen(Player.Position); Drawing.DrawText(targetpos[0] - 10, targetpos[1], drawP.Color, (passive.EndTime - Game.ClockTime).ToString("0.00")); } } if (QisActive) { var aaTarget = Orbwalker.GetTarget(); if (aaTarget != null) { Render.Circle.DrawCircle(aaTarget.Position, 200, Color.Red); } } }
static void KillstealE() { foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health)) { var Buff = AIO_Func.getBuffInstance(Player, "yasuodashscalar"); if (E.CanCast(target) && AIO_Func.isKillable(target, E.GetDamage2(target) * ((float)Buff.Count * 0.25f + 1f)) && !target.HasBuff2("YasuoDashWrapper")) { E.Cast(target); } } }
static void KillstealR() { foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health)) { if (R.CanCast(target) && AIO_Func.isKillable(target, R)) { R.Cast(target); } else { var buff = AIO_Func.getBuffInstance(target, "dariushemo"); if (R.CanCast(target) && AIO_Func.isKillable(target, R.GetDamage2(target) * (1 + (float)buff.Count / 5) - 15)) { R.Cast(target); } } } }
static void KillstealR() { foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health)) { if (R.IsReady() && target != null) { var Buff = (target.HasBuff("tristanaechargesound") ? AIO_Func.getBuffInstance(target, "tristanaecharge") : null); bool EK = (target.HasBuff("tristanaechargesound") && (float)Buff.Count > 0 && AIO_Func.isKillable(target, E.GetDamage2(target) * (((float)Buff.Count - 1) * 0.30f + 1f)) || !target.HasBuff("tristanaechargesound")); if (R.CanCast(target) && Buff != null && (float)Buff.Count > 0 && target.HasBuff("tristanaechargesound") && (AIO_Func.getBuffInstance(target, "tristanaechargesound").EndTime - Game.ClockTime) > 0.3 && AIO_Func.isKillable(target, R.GetDamage2(target) + E.GetDamage2(target) * (((float)Buff.Count - 1) * 0.30f + 1f)) && !EK) { R.Cast(target); } else if (R.CanCast(target) && AIO_Func.isKillable(target, R) && !EK) { R.Cast(target); } } } }
static void KillstealR() { foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health)) { if (R.IsReady() && target != null) { var Buff = (target.HasBuff2("tristanaechargesound") ? AIO_Func.getBuffInstance(target, "tristanaecharge") : null); var BC = Buff == null ? 0 : Buff.Count; bool EK = (target.HasBuff2("tristanaechargesound") && (float)BC > 0 && AIO_Func.isKillable(target, E.GetDamage2(target) * (((float)BC - 1) * 0.30f + 1f)) || !target.HasBuff2("tristanaechargesound")); if ((AIO_Menu.Champion.Misc.getBoolValue("KillstealW") ? (!AIO_Func.CanHit(W, target, 0) || !W.IsReady()) : R.IsReady()) && R.CanCast(target) && Buff != null && (float)BC > 0 && target.HasBuff2("tristanaechargesound") && (AIO_Func.getBuffInstance(target, "tristanaechargesound").EndTime - Game.ClockTime) > 0.3 && AIO_Func.isKillable(target, R.GetDamage2(target) + E.GetDamage2(target) * (((float)BC - 1) * 0.30f + 1f)) && !EK) { R.Cast(target); } else if ((AIO_Menu.Champion.Misc.getBoolValue("KillstealW") ? (!AIO_Func.CanHit(W, target, 0) || !W.IsReady()) : R.IsReady()) && R.CanCast(target) && AIO_Func.isKillable(target, R) && !EK) { R.Cast(target); } } } }
static void Combo() { var buff = AIO_Func.getBuffInstance(Player, "yasuoq3w"); if (AIO_Menu.Champion.Combo.UseQ && Q.IsReady()) { if (!Player.HasBuff2("yasuoq3w")) { var qTarget = TargetSelector.GetTarget(Q.Range, Q.DamageType, true); if (qTarget.Distance(Player.Position) >= Orbwalking.GetRealAutoAttackRange(Player) + 50) { AIO_Func.LCast(Q, qTarget, QD); } } else { var qTarget = TargetSelector.GetTarget(QQ.Range, Q.DamageType, true); AIO_Func.LCast(QQ, qTarget, QD); } } if (AIO_Menu.Champion.Combo.UseE && E.IsReady()) { var ETarget = TargetSelector.GetTarget(E.Range, E.DamageType, true); if (!ETarget.HasBuff2("YasuoDashWrapper") && Player.HasBuff2("yasuoq3w")) { E.Cast(ETarget); } } if (AIO_Menu.Champion.Combo.UseR && R.IsReady()) { var RTarget = TargetSelector.GetTarget(R.Range, R.DamageType, true); if (R.CanCast(RTarget)) { R.Cast(RTarget); } } }
static void KillstealW() { foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health)) { if (W.IsReady() && target != null) { var Buff = (target.HasBuff("tristanaechargesound") ? AIO_Func.getBuffInstance(target, "tristanaecharge") : null); bool EK = (target.HasBuff("tristanaechargesound") && (float)Buff.Count > 0 && AIO_Func.isKillable(target, E.GetDamage2(target) * (((float)Buff.Count - 1) * 0.30f + 1f)) || !target.HasBuff("tristanaechargesound")); if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo && Buff != null && !EK && W.CanCast(target) && R.IsReady() && AIO_Menu.Champion.Misc.getBoolValue("KillstealR") && target.HasBuff("tristanaechargesound") && (AIO_Func.getBuffInstance(target, "tristanaechargesound").EndTime - Game.ClockTime) > 0.6 && (float)Buff.Count > 0 && AIO_Func.isKillable(target, R.GetDamage2(target) + W.GetDamage2(target) * (((float)Buff.Count - 1) * 0.25f + 1f) + E.GetDamage2(target) * (((float)Buff.Count - 1) * 0.25f + 1f) + (float)Player.GetAutoAttackDamage2(target, true))) { AIO_Func.CCast(W, target); } if (W.CanCast(target) && target.HasBuff("tristanaechargesound") && (AIO_Func.getBuffInstance(target, "tristanaechargesound").EndTime - Game.ClockTime) > 0.6 && Buff != null && !EK && (float)Buff.Count > 0 && AIO_Func.isKillable(target, W.GetDamage2(target) * (((float)Buff.Count - 1) * 0.25f + 1f) + E.GetDamage2(target) * (((float)Buff.Count - 1) * 0.30f + 1f) + (float)Player.GetAutoAttackDamage2(target, true))) { AIO_Func.CCast(W, target); } else if (W.CanCast(target) && !EK && AIO_Func.isKillable(target, W.GetDamage2(target) + (float)Player.GetAutoAttackDamage2(target, true))) { AIO_Func.CCast(W, target); } } } }
static void Drawing_OnDraw(EventArgs args) { if (Player.IsDead) { return; } var drawW = AIO_Menu.Champion.Drawings.Wrange; var drawE = AIO_Menu.Champion.Drawings.Erange; if (W.IsReady() && drawW.Active) { Render.Circle.DrawCircle(Player.Position, W.Range, drawW.Color); } if (E.IsReady() && drawW.Active) { Render.Circle.DrawCircle(Player.Position, E.Range, drawW.Color); } if (AIO_Menu.Champion.Drawings.getBoolValue("Stealth Timer")) { var buff = AIO_Func.getBuffInstance(Player, "TwitchHideInShadows"); var mypos = Drawing.WorldToScreen(Player.Position); if (buff != null) { Drawing.DrawText(mypos[0] - 10, mypos[1], Color.SpringGreen, (buff.EndTime - Game.ClockTime).ToString("0.00")); } } if (AIO_Menu.Champion.Misc.getKeyBindValue("Stealth Recall").Active) { var mypos = Drawing.WorldToScreen(Player.Position); if (Q.IsReady() && Recall.IsReady()) { Drawing.DrawText(mypos[0] - 60, mypos[1] - 50, Color.SpringGreen, "Try Stealth recall"); } else if (Player.HasBuff2("TwitchHideInShadows") && Player.HasBuff2("Recall")) { Drawing.DrawText(mypos[0] - 60, mypos[1] - 50, Color.SpringGreen, "Stealth Recall Activated"); } else if (!Player.HasBuff2("recall")) { Drawing.DrawText(mypos[0] - 60, mypos[1] - 50, Color.SpringGreen, "Q is not ready"); } } if (AIO_Menu.Champion.Drawings.getBoolValue("R Pierce Line")) { if (Player.HasBuff2("TwitchFullAutomatic", true)) { var aatarget = TargetSelector.GetTarget(Orbwalking.GetRealAutoAttackRange(Player), TargetSelector.DamageType.Physical); if (aatarget != null) { var from = Drawing.WorldToScreen(Player.Position); var dis = (Orbwalking.GetRealAutoAttackRange(Player) + 300) - Player.Distance(aatarget, false); var to = Drawing.WorldToScreen(dis > 0 ? aatarget.ServerPosition.Extend(Player.Position, -dis) : aatarget.ServerPosition); Drawing.DrawLine(from[0], from[1], to[0], to[1], 10, Color.FromArgb(100, 71, 200, 62)); } } } if (AIO_Menu.Champion.Drawings.getBoolValue("R Timer")) { var buff = AIO_Func.getBuffInstance(Player, "TwitchFullAutomatic"); var mypos = Drawing.WorldToScreen(Player.Position); if (buff != null) { Drawing.DrawText(mypos[0] - 10, mypos[1], Color.SpringGreen, (buff.EndTime - Game.ClockTime).ToString("0.00")); } } }
static void Drawing_OnDraw(EventArgs args) { if (Player.IsDead) { return; } var drawW = AIO_Menu.Champion.Drawings.Wrange; var drawQTimer = AIO_Menu.Champion.Drawings.getCircleValue("Q Timer"); var drawETimer = AIO_Menu.Champion.Drawings.getCircleValue("E Timer"); var pos_temp = Drawing.WorldToScreen(Player.Position); if (W.IsReady() && drawW.Active) { Render.Circle.DrawCircle(Player.Position, W.Range, drawW.Color); } if (drawQTimer.Active && getQBuffDuration > 0) { Drawing.DrawText(pos_temp[0], pos_temp[1], drawQTimer.Color, "Q: " + getQBuffDuration.ToString("0.00")); } foreach (var target in HeroManager.Enemies.Where(x => x.HasBuff2("tristanaechargesound"))) { if (target != null) { float getENuffDuration = (target.HasBuff2("tristanaechargesound") ? AIO_Func.getBuffInstance(target, "tristanaechargesound").EndTime - Game.ClockTime : 0); var pos_temp2 = Drawing.WorldToScreen(target.Position); if (drawETimer.Active && getENuffDuration > 0) { Drawing.DrawText(pos_temp2[0], pos_temp2[1], drawETimer.Color, "E Bomb!! : " + getENuffDuration.ToString("0.00")); } } } }
static int getWBuffStacks(Obj_AI_Base target) { var stacks = AIO_Func.getBuffInstance(Player, "viwproc", Player); return(stacks != null ? stacks.Count : 0); }
static void Game_OnUpdate(EventArgs args) { if (Player.IsDead) { return; } if (Orbwalking.CanMove(35)) { foreach (var target in HeroManager.Enemies.OrderByDescending(x => x.Health)) { if (target.IsValidTarget(Orbwalking.GetRealAutoAttackRange(Player)) && (float)AIO_Func.getBuffInstance(target, "varuswdebuff").Count >= WM) { AIO_Func.SC(Q); AIO_Func.SC(E); } else if (!target.IsValidTarget(Orbwalking.GetRealAutoAttackRange(Player))) { AIO_Func.SC(Q); AIO_Func.SC(E); } if (Q.IsCharging) //차징일 경우 위와 상관없이 되도 { AIO_Func.SC(Q); } } AIO_Func.SC(R); } #region Killsteal if (AIO_Menu.Champion.Misc.getBoolValue("KillstealE")) { KillstealE(); } #endregion ManualR(); }
static void Game_OnUpdate(EventArgs args) { if (Player.IsDead) { return; } E.Range = Orbwalking.GetRealAutoAttackRange(Player); R.Range = Orbwalking.GetRealAutoAttackRange(Player); if (Orbwalking.CanMove(10)) { AIO_Func.SC(E); //평타-e말고 그냥 e } AIO_Func.FleeToPosition(W); foreach (var target in HeroManager.Enemies.Where(x => AIO_Func.CanHit(W, x, 0) && x.HasBuff2("tristanaecharge") && (AIO_Func.getBuffInstance(x, "tristanaechargesound").EndTime - Game.ClockTime) > 0.59 && ((float)AIO_Func.getBuffInstance(x, "tristanaecharge").Count == 3 && (AIO_Func.getBuffInstance(x, "tristanaechargesound").EndTime - Game.ClockTime) < 0.8 || (float)AIO_Func.getBuffInstance(x, "tristanaecharge").Count == 4))) { if (target != null && W.IsReady()) { AIO_Func.SC(W); } } if (AIO_Menu.Champion.Misc.getBoolValue("KillstealW")) { KillstealW(); } if (AIO_Menu.Champion.Misc.getBoolValue("KillstealE")) { KillstealE(); } if (AIO_Menu.Champion.Misc.getBoolValue("KillstealR")) { KillstealR(); } }