static void Orbwalking_AfterAttack(AttackableUnit unit, AttackableUnit target) { if (orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo | orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed) { var useW = GetValueMenuBool("Combo.W"); var useWh = GetValueMenuBool("Harass.W"); if ((useW || useWh) && W.IsReady() && target.IsEnemy && target.IsValidTarget(W.Range)) { W.Cast(); lastW = Environment.TickCount; player.IssueOrder(GameObjectOrder.AttackTo, target); } if (Tiamat.IsInRange(target.Position) && Tiamat.IsReady() && Tiamat.IsOwned()) { Tiamat.Cast(); } if (Hydra.IsInRange(target.Position) && Hydra.IsReady() && Hydra.IsOwned()) { Hydra.Cast(); } } }
static void Orbwalking_AfterAttack(AttackableUnit unit, AttackableUnit target) { if (!unit.IsMe) { return; } if (orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo || orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed) { if (Q.IsReady() && (GetValueMenuBool("Combo.Q") || GetValueMenuBool("Harass.Q"))) { Q.Cast(player); } if (Tiamat.IsOwned() && Tiamat.IsReady() && Utils.TickCount - lastQ >= 2000) { Tiamat.Cast(); } if (Hydra.IsOwned() && Hydra.IsReady() && Utils.TickCount - lastQ >= 2300) { Hydra.Cast(); } } }
public static bool CanUseHydra() { if (!Tiamat.IsOwned() && !Hydra.IsOwned()) { return(false); } return(Tiamat.IsReady() || Hydra.IsReady()); }
public static void UseHydra(AttackableUnit target) { if (Tiamat.IsOwned() || Hydra.IsOwned()) { if ((Tiamat.IsReady() || Hydra.IsReady()) && Player.Instance.Distance(target) <= Hydra.Range) { Tiamat.Cast(); Hydra.Cast(); } } }
public static void useHydraNot() { if (Tiamat.IsOwned() || Hydra.IsOwned()) { if (Tiamat.IsReady() || Hydra.IsReady()) { Tiamat.Cast(); Hydra.Cast(); } } }
public static void useHydra(Obj_AI_Base target) { if (Tiamat.IsOwned() || Hydra.IsOwned()) { if ((Tiamat.IsReady() || Hydra.IsReady()) && Player.Instance.Distance(target) <= Hydra.Range) { Tiamat.Cast(); Hydra.Cast(); } } }
public static void useHydraNot(Obj_AI_Base target) { if (Tiamat.IsOwned() || RavenousHydra.IsOwned() || TitanicHydra.IsOwned()) { if (Tiamat.IsReady() || RavenousHydra.IsReady() || TitanicHydra.IsReady()) { Tiamat.Cast(); TitanicHydra.IsReady(); RavenousHydra.Cast(); } } }
public static void UseHydraNot(AttackableUnit target) { if (!Tiamat.IsOwned() && !Hydra.IsOwned()) { return; } if (!Tiamat.IsReady() && !Hydra.IsReady()) { return; } Tiamat.Cast(); Hydra.Cast(); }
public static void useHydraNot() { var useH = Misc.isChecked(ItemsMenu, "useHydra"); if (Tiamat.IsOwned() || Hydra.IsOwned() && useH) { if ((Tiamat.IsReady() || Hydra.IsReady())) { Tiamat.Cast(); Hydra.Cast(); } } }
public static void useHydra(Obj_AI_Base target) { var useH = Misc.isChecked(ItemsMenu, "useHydra"); if (Tiamat.IsOwned() || Hydra.IsOwned() && useH) { if ((Tiamat.IsReady() || Hydra.IsReady()) && _Player.Distance(target) <= Hydra.Range) { Tiamat.Cast(); Hydra.Cast(); } } }
public static void useHydra(Obj_AI_Base target) { if (Tiamat.IsOwned() || RavenousHydra.IsOwned() || TitanicHydra.IsOwned()) { if ((Tiamat.IsReady() && Player.Instance.Distance(target) <= RavenousHydra.Range || RavenousHydra.IsReady()) && Player.Instance.Distance(target) <= RavenousHydra.Range || TitanicHydra.IsReady()) { Tiamat.Cast(); TitanicHydra.Cast(); RavenousHydra.Cast(); } } }
private static void GameOnOnUpdate(EventArgs args) { if (forceQ) { Q.Cast(QTo?.To3D() ?? Player.Instance.Position); } if (forceW) { W.Cast(); } if (forceE) { E.Cast(ETo.To3D()); } if (forceR1 && Player.Instance.Spellbook.GetSpell(SpellSlot.R).Name == "RivenFengShuiEngine") { R1.Cast(); } if (forceR2 && Player.Instance.Spellbook.GetSpell(SpellSlot.R).Name == "RivenIzunaBlade") { R2.Cast(R2To.To3D()); } if (forceItem && RivenMenu.Combo["H"].Cast <CheckBox>().CurrentValue) { if (forceItem && Hydra.IsOwned() && Hydra.IsReady()) { Hydra.Cast(); } if (forceItem && Tiamat.IsOwned() && Tiamat.IsReady()) { Tiamat.Cast(); } } if (forceFlash) { Flash.Cast(FlashTo.To3D()); } }
public static void Execute() { var target = TargetSelector.GetTarget(1000, DamageType.Mixed); if (target == null) { var manamune = Player.Instance.Spellbook.Spells.FirstOrDefault(s => s.Name.ToLower().Contains("manamune")); if (manamune != null && manamune.ToggleState == 2) { Manamune.Cast(); } } if (Activator.lastUsed > Environment.TickCount) { return; } if (target != null && !Player.Instance.IsRecalling() && (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo) || Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear))) { if (Settings.Bilgewater && BilgewaterCutlass.IsOwned() && BilgewaterCutlass.IsReady() && target.IsValidTarget(BilgewaterCutlass.Range)) { if (target.HealthPercent < Settings.BilgewaterTargetHp) { BilgewaterCutlass.Cast(target); Activator.lastUsed = Environment.TickCount + Misc.DelayBetweenOff; } } if (Settings.Blade && BladeOfTheRuinedKing.IsOwned() && BladeOfTheRuinedKing.IsReady() && target.IsValidTarget(BladeOfTheRuinedKing.Range)) { if (Settings.BladeMyHp > Player.Instance.HealthPercent && target.HealthPercent < Settings.BladeTargetHp) { BladeOfTheRuinedKing.Cast(target); Activator.lastUsed = Environment.TickCount + Misc.DelayBetweenOff; } } var minions = EntityManager.MinionsAndMonsters.EnemyMinions.Count(m => m.IsValidTarget(Tiamat.Range)); if (Settings.Tiamat && Tiamat.IsOwned() && Tiamat.IsReady() && target.IsValidTarget(Tiamat.Range) || minions > 2) { if (target.HealthPercent < Settings.TiamatTargetHp && Misc.AACancel ? EventsManager.CanAACancel : Tiamat.IsReady()) { Tiamat.Cast(); Activator.lastUsed = Environment.TickCount + Misc.DelayBetweenOff; } } if (Settings.Hydra && Hydra.IsOwned() && Hydra.IsReady() && target.IsValidTarget(Hydra.Range) || minions > 2) { if (target.HealthPercent < Settings.HydraTargetHp && Misc.AACancel ? EventsManager.CanAACancel : Hydra.IsReady()) { Hydra.Cast(); Activator.lastUsed = Environment.TickCount + Misc.DelayBetweenOff; } } if (Settings.Titanic && TitanicHydra.IsOwned() && TitanicHydra.IsReady() && target.IsValidTarget(TitanicHydra.Range) || minions > 2) { if (target.HealthPercent < Settings.TitanicTargetHp && Misc.AACancel ? EventsManager.CanAACancel : TitanicHydra.IsReady()) { TitanicHydra.Cast(); Activator.lastUsed = Environment.TickCount + Misc.DelayBetweenOff; } } if (Settings.Youmuu && Youmuu.IsOwned() && Youmuu.IsReady() && target.IsValidTarget(Youmuu.Range)) { if (target.HealthPercent < Settings.YoumuuTargetHp) { Youmuu.Cast(); Activator.lastUsed = Environment.TickCount + Misc.DelayBetweenOff; } } if (Settings.Hextech && Hextech.IsOwned() && Hextech.IsReady() && target.IsValidTarget(Hextech.Range)) { if (target.HealthPercent < Settings.HextechTargetHp) { Hextech.Cast(target); Activator.lastUsed = Environment.TickCount + Misc.DelayBetweenOff; } } if (Settings.Manamune && Manamune.IsOwned() && Manamune.IsReady() && target.IsValidTarget(Manamune.Range)) { if (target.HealthPercent < Settings.ManamuneTargetHP && Player.Instance.ManaPercent > Settings.ManamuneMana) { var manamune = Player.Instance.Spellbook.Spells.FirstOrDefault(s => s.Name.ToLower().Contains("manamune")); if (manamune != null && manamune.ToggleState == 1) { Manamune.Cast(); } } } } }
private static void Combo() { foreach (var Enemy in EntityManager.Heroes.Enemies) { if (Enemy.IsValidTarget()) { if (Smite != null && Smite.IsReady() && ComboSmite.CurrentValue) { var target = TargetSelector.SelectedTarget == null ? TargetSelector.GetTarget(700, DamageType.Physical) : TargetSelector.SelectedTarget; if (target != null && target.IsValidTarget() && !target.IsDead && (target.Position - Player.Position).Length() < 500) { Smite.Cast(target); } else { Smite.Cast(target); } } if (Cutlass.IsOwned() && Cutlass.IsReady() && ComboItems.CurrentValue && !Player.IsDead) { var target = TargetSelector.SelectedTarget == null ? TargetSelector.GetTarget(550, DamageType.Physical) : TargetSelector.SelectedTarget; if (target != null && target.IsValidTarget() && !target.IsDead && Cutlass.IsInRange(target)) { Cutlass.Cast(target); } else { Cutlass.Cast(target); } } if (Botrk.IsOwned() && Botrk.IsReady() && ComboItems.CurrentValue && !Player.IsDead) { var target = TargetSelector.SelectedTarget == null ? TargetSelector.GetTarget(550, DamageType.Physical) : TargetSelector.SelectedTarget; if (target != null && target.IsValidTarget() && !target.IsDead && Botrk.IsInRange(target)) { Botrk.Cast(target); } else { Botrk.Cast(target); } } if (Youmuu.IsOwned() && Youmuu.IsReady() && ComboItems.CurrentValue && !Player.IsDead) { if (Player.CountEnemyChampionsInRange(500) > 0) { Youmuu.Cast(); } } if (Ravenous_Hydra.IsOwned() && Ravenous_Hydra.IsReady() && ComboItems.CurrentValue && !Player.IsDead) { if (Player.CountEnemyChampionsInRange(385) > 0) { Ravenous_Hydra.Cast(); } } if (Tiamat.IsOwned() && Tiamat.IsReady() && ComboItems.CurrentValue && !Player.IsDead) { if (Player.CountEnemyChampionsInRange(385) > 0) { Tiamat.Cast(); } } if (Titanic_Hydra.IsOwned() && Titanic_Hydra.IsReady() && ComboItems.CurrentValue && !Player.IsDead) { if (Player.CountEnemyChampionsInRange(385) > 0) { Titanic_Hydra.Cast(); } } if (!ComboQAA.CurrentValue && ComboQ.CurrentValue && Q.IsReady() && Enemy.IsValidTarget(E.Range)) { Q.Cast(); } if (!Enemy.IsDead && Enemy != null && Enemy.IsValidTarget(E.Range) && ComboE.CurrentValue) { if ((Enemy.Position - Player.Position).Length() > ComboEmin.CurrentValue) { E.Cast(Enemy); } if (E.GetSpellDamage(Enemy) >= Enemy.TotalShieldHealth()) { E.Cast(Enemy); } if (Enemy.IsDashing()) { E.Cast(Enemy); } if (Enemy.HealthPercent < 15) { E.Cast(Enemy); } } if (ComboW.CurrentValue && W.IsReady()) { var target = TargetSelector.GetTarget(250, DamageType.Physical); if (target != null) { W.Cast(); } } if (ComboR.CurrentValue && R.IsReady()) { var RDamage = R.GetSpellDamage(Enemy); if (Player.CountEnemyChampionsInRange(R.Range) >= ComboRmin.CurrentValue) { if (Enemy.HasBuff("xenzhaointimidate")) { R.Cast(); } } if (Enemy.TotalShieldHealth() < RDamage) { R.Cast(); } } } } }
public static void Execute() { if (LastRun > Environment.TickCount) { return; } var target = EntityManager.Heroes.Enemies.FirstOrDefault(e => !e.IsDead && e.IsInRange(Player.Instance, 1000)); if (Player.Instance.IsRecalling() || Player.Instance.IsInShopRange() || target == null || !Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { return; } if (Settings.Bilgewater && BilgewaterCutlass.IsOwned() && BilgewaterCutlass.IsReady()) { if (Settings.BilgewaterMyHp >= Player.Instance.HealthPercent && target.HealthPercent <= Settings.BilgewaterTargetHp) { BilgewaterCutlass.Cast(target); } } if (Settings.Blade && BladeOfTheRuinedKing.IsOwned() && BladeOfTheRuinedKing.IsReady()) { if (Settings.BladeMyHp >= Player.Instance.HealthPercent && target.HealthPercent <= Settings.BladeTargetHp) { BladeOfTheRuinedKing.Cast(target); } } if (Settings.Tiamat && Tiamat.IsOwned() && Tiamat.IsReady()) { if (Settings.TiamatMyHp >= Player.Instance.HealthPercent && target.HealthPercent <= Settings.TiamatTargetHp) { Tiamat.Cast(); } } if (Settings.Hydra && Hydra.IsOwned() && Hydra.IsReady()) { if (Settings.HydraMyHp >= Player.Instance.HealthPercent && target.HealthPercent <= Settings.HydraTargetHp) { Hydra.Cast(); } } if (Settings.Titanic && TitanicHydra.IsOwned() && TitanicHydra.IsReady()) { if (Settings.TitanicMyHp >= Player.Instance.HealthPercent && target.HealthPercent <= Settings.TitanicTargetHp) { TitanicHydra.Cast(); } } if (Settings.Youmuu && Youmuu.IsOwned() && Youmuu.IsReady()) { if (Settings.YoumuuMyHp >= Player.Instance.HealthPercent && target.HealthPercent <= Settings.YoumuuTargetHp) { Youmuu.Cast(); } } LastRun = Environment.TickCount + 200; }