Ejemplo n.º 1
0
        private static void OnUpdate(EventArgs args)
        {
            if (Player.IsDead || Player.LSIsRecalling())
            {
                return;
            }
            //  Console.WriteLine("Buffs: {0}", string.Join(" | ", Player.Buffs.Where(b => b.Caster.NetworkId == Player.NetworkId).Select(b => b.DisplayName)));


            // Useless Code.

            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
            {
                Combo.ComboLogic();
            }
            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
            {
                Harass.HarassLogic();
            }
            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear) || Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
            {
                Jungle.JungleLogic();
                Lane.LaneLogic();
            }
            if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit))
            {
                LastHit.LastHitLogic();
            }

            KillSteal.Killsteal();
        }
Ejemplo n.º 2
0
        private static void OnUpdate(EventArgs args)
        {
            if (Player.IsDead || Player.IsRecalling())
            {
                return;
            }
            //  Console.WriteLine("Buffs: {0}", string.Join(" | ", Player.Buffs.Where(b => b.Caster.NetworkId == Player.NetworkId).Select(b => b.DisplayName)));


            // Useless Code.
            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkingMode.Combo:
                Combo.ComboLogic();
                break;

            case OrbwalkingMode.Hybrid:
                Harass.HarassLogic();
                break;

            case OrbwalkingMode.LaneClear:
                Jungle.JungleLogic();
                Lane.LaneLogic();
                break;

            case OrbwalkingMode.LastHit:
                LastHit.LastHitLogic();
                break;
            }
            KillSteal.Killsteal();
        }