protected override void LaneClear() { var q = Menu.Item(Menu.Name + ".lane-clear.q").GetValue <bool>() && Q.IsReady(); var e = Menu.Item(Menu.Name + ".lane-clear.e").GetValue <bool>() && E.IsReady() && HealthManager.Check("lane-clear-e"); var eMin = Menu.Item(Menu.Name + ".lane-clear.e-min").GetValue <Slider>().Value; if (q) { Casting.Farm(Q, 1); } if (e) { Casting.FarmSelfAoe(E, eMin); } }
protected override void Harass() { var q = Menu.Item(Menu.Name + ".harass.q").GetValue <bool>() && Q.IsReady(); var e = Menu.Item(Menu.Name + ".harass.e").GetValue <bool>() && E.IsReady() && HealthManager.Check("harass-e"); if (q) { Casting.TargetSkill(Q); } if (e) { if (GetEHits().Item1 > 0) { E.Cast(); } } }
protected override void Combo() { var q = Menu.Item(Menu.Name + ".combo.q").GetValue <bool>() && Q.IsReady(); var e = Menu.Item(Menu.Name + ".combo.e").GetValue <bool>() && E.IsReady() && HealthManager.Check("combo-e"); var r = UltimateManager.Combo() && R.IsReady(); var rTarget = TargetSelector.GetTarget(R); if (r) { if (!RLogic(rTarget, Menu.Item(Menu.Name + ".ultimate.combo.min").GetValue <Slider>().Value, q, e)) { if (Menu.Item(Menu.Name + ".ultimate.combo.single").GetValue <bool>()) { RLogicSingle(q, e); } } } if (q) { Casting.TargetSkill(Q); } if (e) { if (GetEHits().Item1 > 0) { E.Cast(); } } if (rTarget != null && CalcComboDamage(rTarget, q, e, r) > rTarget.Health) { ItemManager.UseComboItems(rTarget); SummonerManager.UseComboSummoners(rTarget); } }
protected override void OnPostUpdate() { if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.LastHit && Menu.Item(Menu.Name + ".lasthit.q").GetValue <bool>() && Q.IsReady()) { var m = MinionManager.GetMinions(Q.Range, MinionTypes.All, MinionTeam.NotAlly) .FirstOrDefault(e => Q.IsKillable(e)); if (m != null) { Casting.TargetSkill(m, Q); } } if (UltimateManager.Assisted() && R.IsReady()) { if (Menu.Item(Menu.Name + ".ultimate.assisted.move-cursor").GetValue <bool>()) { Orbwalking.MoveTo(Game.CursorPos, Orbwalker.HoldAreaRadius); } var target = TargetSelector.GetTarget(R); if (target != null && !RLogic( target, Menu.Item(Menu.Name + ".ultimate.assisted.min").GetValue <Slider>().Value, Menu.Item(Menu.Name + ".combo.q").GetValue <bool>() && Q.IsReady(), Menu.Item(Menu.Name + ".combo.e").GetValue <bool>() && E.IsReady())) { if (Menu.Item(Menu.Name + ".ultimate.assisted.single").GetValue <bool>()) { RLogicSingle( Menu.Item(Menu.Name + ".combo.q").GetValue <bool>() && Q.IsReady(), Menu.Item(Menu.Name + ".combo.e").GetValue <bool>() && E.IsReady()); } } } if (UltimateManager.Auto() && R.IsReady()) { var target = TargetSelector.GetTarget(R); if (target != null && !RLogic( target, Menu.Item(Menu.Name + ".ultimate.auto.min").GetValue <Slider>().Value, Menu.Item(Menu.Name + ".combo.q").GetValue <bool>() && Q.IsReady(), Menu.Item(Menu.Name + ".combo.e").GetValue <bool>() && E.IsReady(), UltimateModeType.Auto)) { if (Menu.Item(Menu.Name + ".ultimate.auto.single").GetValue <bool>()) { RLogicSingle( Menu.Item(Menu.Name + ".combo.q").GetValue <bool>() && Q.IsReady(), Menu.Item(Menu.Name + ".combo.e").GetValue <bool>() && E.IsReady()); } } } if (Menu.Item(Menu.Name + ".miscellaneous.e-auto").GetValue <bool>() && E.IsReady() && HealthManager.Check("auto-e") && !Player.IsRecalling() && !Player.InFountain()) { var buff = GetEBuff(); if (buff == null || (buff.EndTime - Game.Time) <= Game.Ping / 2000f + 0.5f) { E.Cast(); } } }