private static void Game_OnGameUpdate(EventArgs args) { if (SkarnerR) { orbwalker.SetAttack(false); orbwalker.SetMovement(false); player.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPos); } else { orbwalker.SetAttack(true); orbwalker.SetMovement(true); } KS(); switch (orbwalker.ActiveMode) { case Orbwalking.OrbwalkingMode.Combo: Combo(); break; case Orbwalking.OrbwalkingMode.Mixed: Harass(); break; case Orbwalking.OrbwalkingMode.LaneClear: Clear(); break; case Orbwalking.OrbwalkingMode.LastHit: break; default: break; } }
/* * public static int RRange() * { * if (Player.GetSpell(SpellSlot.R).Level == 1) * return 500; * * if (Player.GetSpell(SpellSlot.R).Level == 2) * return 1000; * * if (Player.GetSpell(SpellSlot.R).Level == 3) * return 1500; * * return 0; * } */ private static void OnUpdate(EventArgs args) { // foreach (var buff in Player.Buffs) // { // Chat.Print(buff.DisplayName); // } // RRange(); R.Range = GlobalManager.RRange; ScrybingOrb(); UltLeveler(); UseR(); Orbwalker.SetMovement(true); if (GlobalManager.RCasted() && Config.Item("comboMenu.userblock").GetValue <bool>()) { Orbwalker.SetMovement(false); } switch (Orbwalker.ActiveMode) { case Orbwalking.OrbwalkingMode.Combo: Combo(); break; case Orbwalking.OrbwalkingMode.LaneClear: Laneclear(); // Jungleclear(); break; case Orbwalking.OrbwalkingMode.Mixed: Harras(); break; } }
void Game_OnUpdate(EventArgs args) { if (Player.IsChannelingImportantSpell() || Player.IsCastingInterruptableSpell()) { Orbwalker.SetMovement(false); Orbwalker.SetAttack(false); } else { Orbwalker.SetMovement(true); Orbwalker.SetAttack(true); } if (Config.Item("combobind").GetValue <KeyBind>().Active) { Combo(); } else if (Config.Item("harassbind").GetValue <KeyBind>().Active) { Harass(); } else if (Config.Item("farmbind").GetValue <KeyBind>().Active) { Farm(); } if (Config.Item("ignite").GetValue <bool>() && Infernus.IsReady()) { Ignite(); } }
private static void Obj_AI_Base_OnProcessSpellCast(Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args) { if (!sender.IsMe) { return; } var spell = args.SData; //Chat.Say(spell.Name); if (spell.Name == "FizzPiercingStrike" && (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo || Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed)) { if (W.IsReady()) { W.Cast(); } } if (spell.Name == "FizzSeastonePassive") { } if (spell.Name == "FizzJump") { blockmovecount = Utils.GameTimeTickCount; blockmovebool = true; Orbwalker.SetMovement(false); } if (spell.Name == "fizzjumptwo") { blockmovebool = false; Orbwalker.SetMovement(true); } if (spell.Name == "FizzMarinerDoom") { } }
private static void Game_OnGameUpdate(EventArgs args) { if (Player.HasBuff("MissFortuneBulletTime")) { Orbwalker.SetAttack(false); Orbwalker.SetMovement(false); } else { Orbwalker.SetAttack(true); Orbwalker.SetMovement(true); } switch (Orbwalker.ActiveMode) { case Orbwalking.OrbwalkingMode.Combo: Combo(); break; case Orbwalking.OrbwalkingMode.LaneClear: LaneClear(); break; case Orbwalking.OrbwalkingMode.LastHit: break; case Orbwalking.OrbwalkingMode.Mixed: Harass(); break; case Orbwalking.OrbwalkingMode.None: break; } }
private static void Combo() { var target = SimpleTs.GetTarget(Q.Range, SimpleTs.DamageType.Magical); if (!Player.HasBuff("GalioIdolOfDurand")) { Orbwalker.SetMovement(true); } if (target != null) { if (Q.IsReady() && Player.Distance(target) <= Q.Range && Config.Item("UseQCombo").GetValue <bool>()) { Q.Cast(target); } else if (E.IsReady() && Player.Distance(target) <= E.Range && Config.Item("UseECombo").GetValue <bool>()) { E.Cast(target); } else if (R.IsReady() && GetEnemys(target) >= Config.Item("MinEnemys").GetValue <Slider>().Value&& Config.Item("UseRCombo").GetValue <bool>()) { Orbwalker.SetMovement(false); R.Cast(target, false, true); if (Config.Item("UseWCombo").GetValue <bool>()) { W.Cast(Player); } } } }
private static void Game_OnGameUpdate(EventArgs args) { if (Player.IsDead) { return; } _orbwalker.SetAttacks(true); _orbwalker.SetMovement(true); // calls of combos etc~ if (_config.Item("JActive").GetValue <KeyBind>().Active) { JungleFarm(); } if (_config.Item("HarrasActive").GetValue <KeyBind>().Active) { Harass(); } var useRks = _config.Item("KSActive").GetValue <bool>() && _e.IsReady(); if (_config.Item("ComboActive").GetValue <KeyBind>().Active) { Combo(); } if (useRks) { Killsteal(); } }
private static void Combo(Obj_AI_Hero target) { if (!Player.HasBuff("GalioIdolOfDurand")) { Orbwalker.SetMovement(true); } if (target.IsValidTarget()) { if (Q.IsReady() && Player.Distance(target) <= Q.Range && Config.Item("UseQCombo").GetValue <bool>()) { Q.Cast(target, PacketCast); } if (E.IsReady() && Player.Distance(target) <= E.Range && Config.Item("UseECombo").GetValue <bool>()) { E.Cast(target, PacketCast); } if (Config.Item("UseWCombo").GetValue <bool>() && Config.Item("WMode").GetValue <StringList>().SelectedIndex == 0 && W.IsReady()) { W.Cast(Player); } if (R.IsReady() && GetEnemys(target) >= Config.Item("MinEnemys").GetValue <Slider>().Value&& Config.Item("UseRCombo").GetValue <bool>()) { Orbwalker.SetMovement(false); R.Cast(target, PacketCast, true); if (Config.Item("UseWCombo").GetValue <bool>() && Config.Item("WMode").GetValue <StringList>().SelectedIndex == 1 && W.IsReady()) { W.Cast(Player); } } } }
static void Obj_AI_Hero_OnProcessSpellCast(Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args) { if (args.SData.Name.ToUpperInvariant() == "KATARINAR" && sender.IsMe) { Orbwalker.SetMovement(false); Orbwalker.SetAttack(false); } }
private static void Game_OnGameUpdate(EventArgs args) { // Select default target var target = TargetSelector.GetTarget(E.Range, TargetSelector.DamageType.Magical); //Main features with Orbwalker switch (Orbwalker.ActiveMode) { case Orbwalking.OrbwalkingMode.Combo: Combo(); break; case Orbwalking.OrbwalkingMode.Mixed: Harass(target); Farm(); break; case Orbwalking.OrbwalkingMode.LaneClear: Farm(); break; case Orbwalking.OrbwalkingMode.LastHit: Farm(); break; default: break; } AutoPot(); KillSteal(); Harass(target); //Ultimate fix if (ObjectManager.Player.IsDead) { return; } if (InUlt) { Orbwalker.SetAttack(false); Orbwalker.SetMovement(false); return; } else { Orbwalker.SetAttack(true); Orbwalker.SetMovement(true); } // WardJump //if (wardjumpKey != null) //{ //wardjump(); //} }
private void Game_OnGameUpdate(EventArgs args) { if (Q.IsCharging || activatedR) { orbwalker.SetAttack(false); orbwalker.SetMovement(false); } else { orbwalker.SetAttack(true); orbwalker.SetMovement(true); } if (FpsBalancer.CheckCounter()) { return; } switch (orbwalker.ActiveMode) { case Orbwalking.OrbwalkingMode.Combo: Combo(); break; case Orbwalking.OrbwalkingMode.Mixed: Harass(); break; case Orbwalking.OrbwalkingMode.LaneClear: Clear(); break; case Orbwalking.OrbwalkingMode.LastHit: break; default: break; } var data = Program.IncDamages.GetAllyData(player.NetworkId); if (data != null && !activatedW && config.Item("AshieldB", true).GetValue <bool>() && data.DamageCount >= config.Item("wMinAggro", true).GetValue <Slider>().Value&& player.ManaPercent > config.Item("minmanaAgg", true).GetValue <Slider>().Value) { W.Cast(); } if (data != null && !activatedW && config.Item("AshieldB", true).GetValue <bool>() && W.IsReady() && (data.DamageTaken > player.Health || data.DamageTaken > getWShield() / 100f * config.Item("AshieldDmg", true).GetValue <Slider>().Value)) { W.Cast(); } if (data != null && activatedW && data.DamageTaken > player.GetBuff("sionwshieldstacks").Count&& data.DamageTaken < player.Health) { W.Cast(); } }
static void Game_OnUpdate(EventArgs args) { Demark(); Utility.HpBarDamageIndicator.Enabled = _menu.Item("motion.katarina.drawings.dmg").GetValue <bool>(); if (Player.IsDead || Player.IsRecalling()) { return; } if (HasRBuff()) { _orbwalker.SetAttack(false); _orbwalker.SetMovement(false); if (_menu.Item("motion.katarina.misc.cancelR").GetValue <bool>() && Player.GetEnemiesInRange(R.Range + 50).Count == 0) { Player.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPos); } if (_menu.Item("motion.katarina.misc.kswhileult").GetValue <bool>()) { Killsteal(); } return; } if (ShallJumpNow) { WardJump(JumpPosition, false, false); if (!E.IsReady()) { ShallJumpNow = false; } } _orbwalker.SetAttack(true); _orbwalker.SetMovement(true); Killsteal(); //Combo if (_orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo) { Combo(Q.IsReady() && _menu.Item("motion.katarina.combo.useq").GetValue <bool>(), W.IsReady() && _menu.Item("motion.katarina.combo.usew").GetValue <bool>(), E.IsReady() && _menu.Item("motion.katarina.combo.usee").GetValue <bool>(), R.IsReady() && _menu.Item("motion.katarina.combo.user").GetValue <bool>()); } //Harass if (_orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed) { Combo(Q.IsReady() && _menu.Item("motion.katarina.harass.useq").GetValue <bool>(), W.IsReady() && _menu.Item("motion.katarina.harass.usew").GetValue <bool>(), false, false, true); } //Autoharass if (_menu.Item("motion.katarina.harass.autoharass.toggle").GetValue <bool>() && _menu.Item("motion.katarina.harass.autoharass.key").GetValue <KeyBind>().Active) { Combo(Q.IsReady() && _menu.Item("motion.katarina.harass.autoharass.useq").GetValue <bool>(), W.IsReady() && _menu.Item("motion.katarina.harass.autoharass.usew").GetValue <bool>(), false, false, true); } Lasthit(); LaneClear(); JungleClear(); if (_menu.Item("motion.katarina.misc.wardjumpkey").GetValue <KeyBind>().Active&& _menu.Item("motion.katarina.misc.wardjump").GetValue <bool>()) { WardJump(Game.CursorPos); } }
private void Rmovement() { if (rActive && Game.CursorPos.CountEnemiesInRange(300) > 1) { AIHeroClient target = DrawHelper.GetBetterTarget( E.Range, TargetSelector.DamageType.Physical, true, HeroManager.Enemies.Where(h => h.IsInvulnerable)); if (target != null && target.CountEnemiesInRange(R.Range) > 1) { if (System.Environment.TickCount - UltiCheck > 250 || UltiCheck == 0f) { var enemies = HeroManager.Enemies.Where(e => e.IsValidTarget() && e.Distance(player) < 600) .Select(e => Prediction.GetPrediction(e, 0.35f)); switch (config.Item("rType", true).GetValue <StringList>().SelectedIndex) { case 0: point = CombatHelper.PointsAroundTheTarget(player.Position, R.Range) .Where(p => p.CountEnemiesInRange(R.Range + 100) > 0) .OrderByDescending( p => enemies.Count(e => e.UnitPosition.Distance(p) <= R.Range)) .ThenBy(p => p.Distance(Game.CursorPos)) .FirstOrDefault(); break; case 1: point = CombatHelper.PointsAroundTheTarget(target.Position, R.Range) .Where(p => p.CountEnemiesInRange(R.Range + 100) > 0) .OrderByDescending( p => enemies.Count(e => e.UnitPosition.Distance(p) <= R.Range)) .ThenBy(p => p.Distance(Game.CursorPos)) .FirstOrDefault(); break; case 2: point = Game.CursorPos; break; } } if (point.IsValid() && player.Distance(point) > 10 && point.CountEnemiesInRange(R.Range) > player.CountEnemiesInRange(R.Range)) { orbwalker.SetMovement(false); EloBuddy.Player.IssueOrder(GameObjectOrder.MoveTo, point); UltiCheck = System.Environment.TickCount; } } } else { orbwalker.SetMovement(true); } }
private void Obj_AI_Base_OnProcessSpellCast(Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args) { if (!sender.IsMe || args.SData.Name != "KatarinaR" || !this.Player.HasBuff("katarinarsound")) { return; } isChanneling = true; Orbwalker.SetMovement(false); Orbwalker.SetAttack(false); Utility.DelayAction.Add(1, () => isChanneling = false); }
void Game_OnUpdate(EventArgs args) { if (_menu.Item("ultKS").GetValue <bool>()) { UltKs(); } switch (_orbwalker.ActiveMode) { case Orbwalking.OrbwalkingMode.Combo: _orbwalker.SetAttack(_menu.Item("comboAA").GetValue <bool>() || ObjectManager.Player.Mana < 100); //if no mana, allow auto attacks! _orbwalker.SetMovement(_menu.Item("comboMove").GetValue <bool>()); Combo(); break; case Orbwalking.OrbwalkingMode.Mixed: _orbwalker.SetAttack(true); _orbwalker.SetMovement(_menu.Item("harassMove").GetValue <bool>()); Harass(); break; case Orbwalking.OrbwalkingMode.LaneClear: _orbwalker.SetAttack(_menu.Item("farmAA").GetValue <bool>() || ObjectManager.Player.Mana < 100); _orbwalker.SetMovement(_menu.Item("farmMove").GetValue <bool>()); LaneClear(); break; case Orbwalking.OrbwalkingMode.LastHit: _orbwalker.SetAttack(true); _orbwalker.SetMovement(_menu.Item("farmMove").GetValue <bool>()); LastHit(); break; default: _orbwalker.SetAttack(true); _orbwalker.SetMovement(true); RegulateEState(); if (_menu.Item("autoCast").GetValue <bool>()) { if (IsInPassiveForm()) { if (!Combo()) { LaneClear(true); } } } break; } }
private static void Game_OnGameUpdate(EventArgs args) { if (Player.IsDead) { return; } Orbwalker.SetMovement(true); //Update the R range R.Range = 2000 + R.Level * 1200; if (IsCastingR) { Orbwalker.SetMovement(false); WhileCastingR(); return; } if (R.IsReady() && Config.Item("PingRKillable").GetValue <bool>()) { foreach (var enemy in ObjectManager.Get <Obj_AI_Hero>().Where(h => h.IsValidTarget() && (float)Player.GetSpellDamage(h, SpellSlot.R) * 3 > h.Health)) { Ping(enemy.Position.To2D()); } } if (Config.Item("ComboActive").GetValue <KeyBind>().Active) { Combo(); } else { if (Config.Item("HarassActive").GetValue <KeyBind>().Active || Config.Item("HarassActiveT").GetValue <KeyBind>().Active) { Harass(); } var lc = Config.Item("LaneClearActive").GetValue <KeyBind>().Active; if (lc || Config.Item("FreezeActive").GetValue <KeyBind>().Active) { Farm(lc); } if (Config.Item("JungleFarmActive").GetValue <KeyBind>().Active) { JungleFarm(); } } }
private static void Combo() { var target = SimpleTs.GetTarget(Q.Range, SimpleTs.DamageType.Magical); { Orbwalker.SetMovement(true); } if (target != null) { if (R.IsReady() && Player.Distance(target) <= R.Range && DM.Item("UseRCombo").GetValue <bool>()) { R.Cast(target); } else if (W.IsReady() && Player.Distance(target) <= W.Range && DM.Item("UseWCombo").GetValue <bool>()) { W.Cast(target); } else if (Q.IsReady() && Player.Distance(target) <= Q.Range && DM.Item("UseQCombo").GetValue <bool>()) { Q.Cast(target); } else if (E.IsReady() && Player.Distance(target) <= E.Range && DM.Item("UseECombo").GetValue <bool>()) { E.Cast(target); } } }
private static void Game_OnGameUpdate(EventArgs args) { if (Player.IsDead) { return; } Orbwalker.SetMovement(true); Orbwalker.SetAttack(true); if (Menu.Item("ComboActive").GetValue <KeyBind>().Active) { Combo(); } if (Menu.Item("LaneClearActive").GetValue <KeyBind>().Active) { LaneClear(); } if (Menu.Item("JungleFarmActive").GetValue <KeyBind>().Active) { JungleFarm(); } if (Menu.Item("ActiveQSS").GetValue <bool>() && QuickS.IsReady() || Scimitar.IsReady()) { SmartQuickS(); } if (ObjectManager.Player.HasBuffOfType(BuffType.Slow) && Menu.Item("SmartW").GetValue <bool>() && W.IsReady()) { W.Cast(); } }
private static void OnGameUpdate(EventArgs args) { _player = ObjectManager.Player; if (_config.Item("ActiveCombo").GetValue <KeyBind>().Active) { Combo(); } if (_config.Item("StunCycle").GetValue <KeyBind>().Active) { StunCycle(); } if (_config.Item("ActiveLane").GetValue <KeyBind>().Active&& (100 * (_player.Mana / _player.MaxMana)) > _config.Item("Farm-Mana").GetValue <Slider>().Value) { Farm(); } if (_config.Item("ActiveJungle").GetValue <KeyBind>().Active&& (100 * (_player.Mana / _player.MaxMana)) > _config.Item("Jungle-Mana").GetValue <Slider>().Value) { JungleClear(); } if (_config.Item("AutoShield").GetValue <bool>() && !_config.Item("ActiveCombo").GetValue <KeyBind>().Active) { AutoW(); } if (_config.Item("Forest").GetValue <KeyBind>().Active&& (100 * (_player.Mana / _player.MaxMana)) > _config.Item("Forest-Mana").GetValue <Slider>().Value) { Forest(); } _orbwalker.SetAttack(true); _orbwalker.SetMovement(true); }
private static void Game_OnGameUpdate(EventArgs args) { if (Player.IsDead) { return; } Orbwalker.SetAttack(true); Orbwalker.SetMovement(true); if (Config.Item("HarassActive").GetValue <KeyBind>().Active) { Harass(); } if (Config.Item("LaneClear").GetValue <KeyBind>().Active) { LaneClear(); } if (Config.Item("ComboActive").GetValue <KeyBind>().Active) { Combo(); } if (Config.Item("KillstealR").GetValue <bool>()) { Killsteal(); } }
private static void Game_OnGameUpdate(EventArgs args) { //foreach (var buff in ObjectManager.Player.Buffs) { Game.PrintChat(buff.DisplayName); } CheckWHealing(); if (Player.IsDead) { return; } Orbwalker.SetAttacks(true); Orbwalker.SetMovement(true); var useEKS = Config.Item("KillstealE").GetValue <bool>() && E.IsReady(); var useRKS = Config.Item("KillstealR").GetValue <bool>() && R.IsReady(); if (Config.Item("ComboActive").GetValue <KeyBind>().Active) { Combo(); } if (Config.Item("HarassActive").GetValue <KeyBind>().Active) { Harass(); } if (useRKS && !Config.Item("ComboActive").GetValue <KeyBind>().Active) { KillstealR(); } if (useEKS) { KillstealE(); } }
private static void OnGameUpdate(EventArgs args) { if (E.IsCharging) { Orbwalker.SetMovement(false); } switch (Orbwalker.ActiveMode) { case Orbwalking.OrbwalkingMode.Combo: Combo(); break; case Orbwalking.OrbwalkingMode.LaneClear: JungleClear(); break; case Orbwalking.OrbwalkingMode.Mixed: Harass(); break; } }
private static void Game_OnGameUpdate(EventArgs args) { if (Player.IsDead) { return; } Orbwalker.SetAttack(true); Orbwalker.SetMovement(true); var useQks = Config.Item("KillstealQ").GetValue <bool>() && Q.IsReady(); var useEks = Config.Item("KillstealE").GetValue <bool>() && E.IsReady(); if (Config.Item("ComboActive").GetValue <KeyBind>().Active) { Combo(); } if (Config.Item("LaneClearActive").GetValue <KeyBind>().Active) { LaneClear(); } if (useQks) { KillstealQ(); } if (useEks) { KillstealE(); } if (Config.Item("JungleClearActive").GetValue <KeyBind>().Active) { JungleClear(); } }
private static void Game_OnGameUpdate(EventArgs args) { if (Player.IsDead) { return; } Orbwalker.SetAttack(true); Orbwalker.SetMovement(true); var useRks = Config.Item("KillstealR").GetValue <bool>() && R.IsReady(); if (Config.Item("ComboActive").GetValue <KeyBind>().Active) { Combo(); } if (Config.Item("LaneClearActive").GetValue <KeyBind>().Active) { LaneClear(); } if (useRks) { Killsteal(); } if (Config.Item("JungleClearActive").GetValue <KeyBind>().Active) { JungleClear(); } if (R.IsReady() && Config.Item("HPForR").GetValue <Slider>().Value >= ((Player.Health / Player.MaxHealth) * 100)) { R.Cast(); } }
private void Game_OnGameUpdate(EventArgs args) { if (rActive || justR) { orbwalker.SetAttack(false); orbwalker.SetMovement(false); return; } else { orbwalker.SetAttack(true); orbwalker.SetMovement(true); } if (FpsBalancer.CheckCounter()) { return; } if (config.Item("manualRflash", true).GetValue <KeyBind>().Active) { FlashCombo(); } if (config.Item("AutoW", true).GetValue <bool>() && W.IsReady()) { CastW(false); } switch (orbwalker.ActiveMode) { case Orbwalking.OrbwalkingMode.Combo: Combo(); break; case Orbwalking.OrbwalkingMode.Mixed: Harass(); break; case Orbwalking.OrbwalkingMode.LaneClear: Clear(); break; case Orbwalking.OrbwalkingMode.LastHit: break; default: break; } }
private static void Game_OnGameUpdate(EventArgs args) { if (Player.IsDead) { return; } Orbwalker.SetAttacks(!Q.IsCharging); Orbwalker.SetMovement(true); //Update the R range R.Range = 2000 + R.Level * 1200; if (IsCastingR) { Orbwalker.SetMovement(false); Orbwalker.SetAttacks(false); WhileCastingR(); return; } if (Config.Item("ComboActive").GetValue <KeyBind>().Active) { Combo(); } else { if (Config.Item("HarassActive").GetValue <KeyBind>().Active || Config.Item("HarassActiveT").GetValue <KeyBind>().Active) { Harass(); } var lc = Config.Item("LaneClearActive").GetValue <KeyBind>().Active; if (lc || Config.Item("FreezeActive").GetValue <KeyBind>().Active) { Farm(lc); } if (Config.Item("JungleFarmActive").GetValue <KeyBind>().Active) { JungleFarm(); } } }
private static void Combo(Obj_AI_Hero target) { var comboQ = Menu.ConfigMenu.Item("Evelynn.Combo.Q").GetValue <bool>(); var comboW = Menu.ConfigMenu.Item("Evelynn.Combo.W").GetValue <bool>(); var comboR = Menu.ConfigMenu.Item("Evelynn.Combo.R").GetValue <bool>(); var comboSmite = Menu.ConfigMenu.Item("Evelynn.Combo.Smite").GetValue <bool>(); var useIgnite = Menu.ConfigMenu.Item("Evelynn.Combo.Ignite").GetValue <bool>(); var targets = Menu.ConfigMenu.Item("Evelynn.Combo.R.Setting").GetValue <Slider>().Value; var healthW = Menu.ConfigMenu.Item("Evelynn.Combo.W.Setting").GetValue <Slider>().Value; Orbwalker.SetMovement(true); if (comboR && SpellDirectory[Spells.R].IsReady() && _currentTarget.Distance(Player) <= SpellDirectory[Spells.R].Range) { var bestposition = AutomatedLybrary.BestPosition(SpellDirectory[Spells.R], 250f, TargetSelector.DamageType.Magical); if (bestposition.CountEnemiesInRange(250f) >= targets) { SpellDirectory[Spells.R].Cast(bestposition); } } if (comboSmite && !_currentTarget.HasBuffOfType(BuffType.Stun) && !_currentTarget.HasBuffOfType(BuffType.Slow) && _currentTarget.Distance(Player) <= 475f) { Player.Spellbook.CastSpell(_smite, _currentTarget); } Items(target); if (comboQ && SpellDirectory[Spells.Q].IsReady()) { SpellDirectory[Spells.Q].Cast(); } if (comboW && SpellDirectory[Spells.W].IsReady() && healthW <= Player.HealthPercent) { SpellDirectory[Spells.W].Cast(); } if (Player.Distance(target) <= 600f && IgniteDamage(target) >= target.Health && useIgnite) { Player.Spellbook.CastSpell(_ignite, target); } }
private static void Game_OnGameUpdate(EventArgs args) { if (ObjectManager.Player.HasBuff("missfortunebulletsound")) { return; } if (_config.Item("skinMF").GetValue <bool>() && SkinChanged()) { GenModelPacket(_player.ChampionName, _config.Item("skinMiss").GetValue <Slider>().Value); _lastSkin = _config.Item("skinMiss").GetValue <Slider>().Value; } _orbwalker.SetAttack(true); _orbwalker.SetMovement(true); if (_config.Item("ActiveCombo").GetValue <KeyBind>().Active) { Combo(); } if ((_config.Item("ActiveHarass").GetValue <KeyBind>().Active || _config.Item("harasstoggle").GetValue <KeyBind>().Active) && (100 * (_player.Mana / _player.MaxMana)) > _config.Item("Harrasmana").GetValue <Slider>().Value) { Harass(); } if (_config.Item("Activelane").GetValue <KeyBind>().Active&& (100 * (_player.Mana / _player.MaxMana)) > _config.Item("lanemana").GetValue <Slider>().Value) { Laneclear(); } if (_config.Item("ActiveJungle").GetValue <KeyBind>().Active&& (100 * (_player.Mana / _player.MaxMana)) > _config.Item("junglemana").GetValue <Slider>().Value) { JungleClear(); } if (_config.Item("ActiveLast").GetValue <KeyBind>().Active&& (100 * (_player.Mana / _player.MaxMana)) > _config.Item("lastmana").GetValue <Slider>().Value) { LastHit(); } _player = ObjectManager.Player; KillSteal(); Usepotion(); }
/// <summary> /// Wall Tumble in mid /// </summary> private static void MidWallTumble() { if (Player.Distance(_midPreV3) < 115) { Player.IssueOrder(GameObjectOrder.MoveTo, _midPreV3.Randomize(0, 1)); } if (Player.Distance(_midPreV3) < 5) { Orbwalker.SetMovement(false); TumbleOrder = _midAftV3; Q.Cast(TumbleOrder); Utility.DelayAction.Add(100 + Game.Ping / 2, () => { Player.IssueOrder(GameObjectOrder.MoveTo, _midAftV3.Randomize(0, 1)); Orbwalker.SetMovement(true); }); } }
} // done working private static void OnUpdate(EventArgs args) { switch (Orbwalker.ActiveMode) { case Orbwalking.OrbwalkingMode.Combo: Combo(); break; case Orbwalking.OrbwalkingMode.Mixed: Harass(); break; case Orbwalking.OrbwalkingMode.LaneClear: JungleClear(); LaneClear(); break; case Orbwalking.OrbwalkingMode.None: ImmobileE(); /* KillSteal();*/ break; } if (Config.Item("semi.manual.ult").GetValue <KeyBind>().Active) { SemiManual(); } if (!Config.Item("semi.manual.ult").GetValue <KeyBind>().Active&& Config.Item("auto.shoot.bullets").GetValue <bool>()) { AutoShoot(); } if (!Helper.IsRActive) { Orbwalker.SetAttack(true); Orbwalker.SetMovement(true); } else { Orbwalker.SetAttack(false); Orbwalker.SetMovement(false); } }