Exemplo n.º 1
0
        private void OnPostAttack(object sender, PostAttackEventArgs args)
        {
            try
            {
                switch (Global.Orbwalker.Mode)
                {
                case OrbwalkingMode.Combo:
                    Combo.PostAttack(sender, args);
                    break;

                case OrbwalkingMode.Mixed:
                    Harass.PostAttack(sender, args);
                    break;

                case OrbwalkingMode.Laneclear:
                    LaneClear.PostAttack(sender, args);
                    JungleClear.PostAttack(sender, args);
                    break;
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                throw;
            }
        }
Exemplo n.º 2
0
        public static void PostAttack(object sender, PostAttackEventArgs args)
        {
            switch (Global.Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo:
                Combo.PostAttack(sender, args);
                break;

            case OrbwalkingMode.Mixed:
                Harass.PostAttack(sender, args);
                break;

            case OrbwalkingMode.Laneclear:
                LaneClear.PostAttack(sender, args);
                JungleClear.PostAttack(sender, args);
                break;
            }
        }