private static void OnUpdate(EventArgs args) { HealManager.Heal(); Killsteal.KillSteal(); Modes.Flee(); if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { Modes.Combo(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { Modes.Harass(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear) || Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear)) { Modes.Lane(); Modes.Jungle(); } }
private static void OnUpdate(EventArgs args) { // var target = TargetSelector.GetSelectedTarget(); // Chat.Print("Buffs: {0}", string.Join(" | ", target.Buffs.Where(b => b.Caster.NetworkId == Player.NetworkId).Select(b => b.DisplayName))); HealManager.Heal(); Killsteal.KillSteal(); Modes.Flee(); switch (Orb.ActiveMode) { case Orbwalking.OrbwalkingMode.Combo: Modes.Combo(); break; case Orbwalking.OrbwalkingMode.LaneClear: Modes.Lane(); Modes.Jungle(); break; case Orbwalking.OrbwalkingMode.Mixed: Modes.Harass(); break; } }