private static void Game_OnTick(EventArgs args) { Indicator.Update("Combo", new SpellData((int)Damage.AvailableComboDamage(), DamageType.Physical, Color.Lime)); OrbManager.KillSteal(); if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { OrbManager.Combo(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass)) { OrbManager.Harass(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear)) { OrbManager.LaneClear(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit)) { OrbManager.LastHit(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee)) { OrbManager.Flee(); } if (ManaMenu["useManaPotion"].Cast <Slider>().CurrentValue >= _Player.Mana) { if (_manapot.IsOwned() && _Player.HasBuff("mana_potion") && _manapot.IsReady()) { _manapot.Cast(); } } }
private static void Game_OnTick(EventArgs args) { //Core.DelayAction(() => Game_OnTick(args), Menu["mGobalDelay"].Cast<Slider>().CurrentValue); var _Target = TargetSelector.GetTarget(1500, DamageType.Magical); if (DrawMenu["dDrawComboIndicator"].Cast <CheckBox>().CurrentValue) { Indicator.Update("Combo", new SpellData((int)Damage.GetComboDamage(_Target), DamageType.Magical, Color.Lime)); } OrbManager.ItemManager(); OrbManager.KillSteal(); OrbManager.AutoIgnite(); Mana.ManaManager(); if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { OrbManager.Combo(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass)) { OrbManager.Harass(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear)) { OrbManager.LaneClear(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit)) { OrbManager.LastHit(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee)) { OrbManager.Flee(); } }