示例#1
0
文件: Program.cs 项目: riwalry1/AIO
        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();
            }
        }
示例#2
0
        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;
            }
        }