private void Flee() { OrbwalkManager.Orbwalk(null, Game.CursorPos); var useQ = menu.Item("UseQFlee", true).GetValue <bool>(); var useW = menu.Item("UseWFlee", true).GetValue <bool>(); var useE = menu.Item("UseEFlee", true).GetValue <bool>(); if (!useQ && !useW) { return; } if (useE) { var vec = Player.ServerPosition.Extend(Game.CursorPos, E.Range); E.Cast(vec); } foreach (var target in HeroManager.Enemies.Where(x => x.IsValidTarget(Q.Range))) { if (Q.IsReady() && useQ) { Q.Cast(target); } if (W.IsReady() && useW) { Player.ServerPosition.Extend(Game.CursorPos, 400); } } }
private void CastFlashR(Obj_AI_Hero target) { Game.PrintChat("flashing"); if (SummonerManager.Flash_Ready()) { SummonerManager.UseFlash(target.ServerPosition); } var dmg = GetComboDamage(target); ItemManager.Target = target; //see if killable if (dmg > target.Health - 50) { ItemManager.KillableTarget = true; } ItemManager.UseTargetted = true; OrbwalkManager.Orbwalk(target, target.ServerPosition); Utility.DelayAction.Add(25, () => R.Cast(target)); if (R.IsReady()) { R.Cast(target); } }
protected override void Game_OnGameUpdate(EventArgs args) { SmartKs(); if (Player.IsChannelingImportantSpell() || Player.HasBuff("KatarinaR")) { OrbwalkManager.SetAttack(false); OrbwalkManager.SetMovement(false); ShouldCancel(); return; } OrbwalkManager.SetAttack(true); OrbwalkManager.SetMovement(true); if (menu.Item("Wardjump", true).GetValue <KeyBind>().Active) { OrbwalkManager.Orbwalk(null, Game.CursorPos); WardJumper.WardJump(); } else if (menu.Item("ComboActive", true).GetValue <KeyBind>().Active) { Combo(); } else { if (menu.Item("lastHit", true).GetValue <KeyBind>().Active) { LastHit(); } if (menu.Item("LaneClearActive", true).GetValue <KeyBind>().Active) { Farm(); } if (menu.Item("jFarm", true).GetValue <KeyBind>().Active) { JungleFarm(); } if (menu.Item("HarassActive", true).GetValue <KeyBind>().Active) { Harass(); } if (menu.Item("HarassActiveT", true).GetValue <KeyBind>().Active) { Harass(); } } if (menu.Item("autoWz", true).GetValue <bool>()) { AutoW(); } }
private void Escape() { OrbwalkManager.Orbwalk(null, Game.CursorPos); if (_ballStatus == 0 && W.IsReady()) { W.Cast(); } else if (E.IsReady() && _ballStatus != 0) { E.CastOnUnit(Player); } }
protected override void Game_OnGameUpdate(EventArgs args) { //check if player is dead if (Player.IsDead) { return; } //adjust range if (R.IsReady()) { R.Range = menu.Item("R_Max_Range", true).GetValue <Slider>().Value; } if (menu.Item("smartKS", true).GetValue <bool>()) { CheckKs(); } if (menu.Item("Force_R", true).GetValue <KeyBind>().Active) { OrbwalkManager.Orbwalk(null, Game.CursorPos); ForceR(); } if (menu.Item("ComboActive", true).GetValue <KeyBind>().Active) { Combo(); } else { if (menu.Item("LaneClearActive", true).GetValue <KeyBind>().Active) { Farm(); } if (menu.Item("HarassActiveT", true).GetValue <KeyBind>().Active) { Harass(); } if (menu.Item("HarassActive", true).GetValue <KeyBind>().Active) { Harass(); } } }
private void AttackTarget(Obj_AI_Hero target) { if (soilderCount() < 1) { return; } var tar = getNearestSoilderToEnemy(target); if (tar != null && Player.Distance(tar.Position) < 800) { if (target != null && target.Distance(tar.Position) <= 350) { OrbwalkManager.Orbwalk(target, Game.CursorPos); } } }
protected override void Game_OnGameUpdate(EventArgs args) { if (menu.Item("smartKS", true).GetValue <bool>()) { CheckKs(); } if (menu.Item("flashR", true).GetValue <KeyBind>().Active || Utils.TickCount - _lastFlash < 2500) { OrbwalkManager.Orbwalk(null, Game.CursorPos); var target = TargetSelector.GetSelectedTarget(); if (target != null) { if (target.IsValidTarget(R.Range + 425 + target.BoundingRadius)) { CastFlashR(TargetSelector.GetSelectedTarget()); } } } if (menu.Item("ComboActive", true).GetValue <KeyBind>().Active) { Combo(); } else { if (menu.Item("LaneClearActive", true).GetValue <KeyBind>().Active) { Farm(); } if (menu.Item("HarassActive", true).GetValue <KeyBind>().Active) { Harass(); } if (menu.Item("HarassActiveT", true).GetValue <KeyBind>().Active) { Harass(); } } }
protected override void Game_OnGameUpdate(EventArgs args) { //check if player is dead if (Player.IsDead) { return; } SmartKs(); if (menu.Item("escape", true).GetValue <KeyBind>().Active) { OrbwalkManager.Orbwalk(null, Game.CursorPos); Escape(); } else if (menu.Item("ComboActive", true).GetValue <KeyBind>().Active) { Combo(); } else if (menu.Item("insec", true).GetValue <KeyBind>().Active) { OrbwalkManager.Orbwalk(null, Game.CursorPos); _insecTarget = TargetSelector.GetSelectedTarget(); if (_insecTarget != null) { if (_insecTarget.HasBuffOfType(BuffType.Knockup) || _insecTarget.HasBuffOfType(BuffType.Knockback)) { if (Player.Distance(_insecTarget) < 200) { R2.Cast(_rVec); } } Insec(); } } else if (menu.Item("qeCombo", true).GetValue <KeyBind>().Active) { var soilderTarget = TargetSelector.GetTarget(900, TargetSelector.DamageType.Magical); OrbwalkManager.Orbwalk(null, Game.CursorPos); CastQe(soilderTarget, "Null"); } else { if (menu.Item("LaneClearActive", true).GetValue <KeyBind>().Active) { Farm(); } if (menu.Item("HarassActive", true).GetValue <KeyBind>().Active) { Harass(); } if (menu.Item("HarassActiveT", true).GetValue <KeyBind>().Active) { Harass(); } if (menu.Item("wAtk", true).GetValue <bool>()) { AutoAtk(); } } }
protected override void Game_OnGameUpdate(EventArgs args) { //check if player is dead if (Player.IsDead) { return; } if (menu.Item("smartKS", true).GetValue <bool>()) { CheckKs(); } AoeStun(); if (menu.Item("forceUlt", true).GetValue <KeyBind>().Active) { OrbwalkManager.Orbwalk(null, Game.CursorPos); ForceUlt(); } else if (menu.Item("flashUlt", true).GetValue <KeyBind>().Active) { OrbwalkManager.Orbwalk(null, Game.CursorPos); FlashUlt(); } else if (menu.Item("ComboActive", true).GetValue <KeyBind>().Active) { Combo(); } else { if (menu.Item("E_Poison", true).GetValue <bool>()) { AutoEPoisonTargets(); } if (menu.Item("LastHitE", true).GetValue <KeyBind>().Active) { LastHit(); } if (menu.Item("LaneClearActive", true).GetValue <KeyBind>().Active) { Farm(); } if (menu.Item("Jungle", true).GetValue <KeyBind>().Active) { Jungle(); } if (menu.Item("HarassActive", true).GetValue <KeyBind>().Active) { Harass(); } if (menu.Item("HarassActiveT", true).GetValue <KeyBind>().Active) { Harass(); } } ImmobileCast(); }
protected override void Game_OnGameUpdate(EventArgs args) { if (Player.IsDead) { return; } if (Player.IsZombie) { var target = TargetSelector.GetTarget(P.Range, TargetSelector.DamageType.True); if (target == null) { return; } var pred = P.GetPrediction(target); if (pred.Hitchance >= HitChance.High) { Q.Cast(target); } } if (menu.Item("smartKS", true).GetValue <bool>()) { CheckKs(); } AutoBloom(); if (menu.Item("Escape", true).GetValue <KeyBind>().Active&& E.IsReady()) { OrbwalkManager.Orbwalk(null, Game.CursorPos); foreach (Obj_AI_Hero target in ObjectManager.Get <Obj_AI_Hero>().Where(x => Player.IsValidTarget(E.Range)).OrderBy(x => x.Distance(Player.Position))) { E.Cast(target); return; } } if (menu.Item("ComboActive", true).GetValue <KeyBind>().Active) { Combo(); } else { if (menu.Item("LaneClearActive", true).GetValue <KeyBind>().Active) { Farm(); } if (menu.Item("HarassActive", true).GetValue <KeyBind>().Active) { Harass(); } if (menu.Item("HarassActiveT", true).GetValue <KeyBind>().Active) { Harass(); } } }