private static void Game_OnTick(EventArgs args) { Killsteal(); SkinChange(); if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo(); } var target = TargetSelector.GetTarget(1200f, DamageType.Magical); if (target == null) { return; } if (ComboMenu["usecomboq"].Cast <CheckBox>().CurrentValue && Q.IsReady()) { CastQ(target); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass)) { Harass(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear)) { LaneJungleClearA.LaneClear(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit)) { LastHitA.LastHitB(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee)) { Flee(); } { { if (!ComboMenu["useignite"].Cast <CheckBox>().CurrentValue || !Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { return; } foreach ( var source in ObjectManager.Get <AIHeroClient>() .Where( a => a.IsEnemy && a.IsValidTarget(_ignite.Range) && a.Health < 50 + 20 * Ziggs.Level - a.HPRegenRate / 5 * 3)) { _ignite.Cast(source); return; } } } }
private static void Game_OnTick(EventArgs args) { Killsteal(); SkinChange(); if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo(); } var target = TargetSelector.GetTarget(1200f, DamageType.Magical); if (target == null) { return; } if (ComboMenu["usecomboq"].Cast <CheckBox>().CurrentValue && Q.IsReady()) { CastQ(target); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass)) { Harass(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear)) { LaneJungleClearA.LaneClear(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit)) { LastHitA.LastHitB(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee)) { Flee(); } }