Ejemplo n.º 1
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Riven)
            {
                return;
            }

            Spells.Initialize();
            ModeController.Initialize();
            MenuDesigner.Initialize();
            Variables.Initialize();
            Logic.IniInitialize();
            AutoLevel.Initialize();

            Obj_AI_Base.OnPlayAnimation      += OnPlayAnimation;
            Orbwalker.OnPostAttack           += OnPostAttack;
            Obj_AI_Base.OnProcessSpellCast   += OnProcessSpellCast;
            Obj_AI_Base.OnBuffGain           += OnBuffGain;
            Obj_AI_Base.OnBuffLose           += OnBuffLose;
            Interrupter.OnInterruptableSpell += OnInterruptableSpell;
            Gapcloser.OnGapcloser            += OnGapcloser;
            Drawing.OnDraw += OnDraw;

            Chat.Print("Ex1L Riven made by Enelx !");
        }
Ejemplo n.º 2
0
        internal static void Initialize()
        {
            MenuDesigner.Initialize();
            ModeController.Initialize();

            Drawing.OnDraw                   += OnDraw;
            Orbwalker.OnPreAttack            += OnPreAttack;
            Interrupter.OnInterruptableSpell += OnInterruptableSpell;
            Gapcloser.OnGapcloser            += OnGapcloser;
        }
        internal static void Initialize()
        {
            MenuDesigner.Initialize();
            ModeController.Initialize();

            Drawing.OnDraw += OnDraw;
            Obj_AI_Base.OnProcessSpellCast   += OnProcessSpellCast;
            Obj_AI_Base.OnBuffLose           += OnBuffLose;
            Gapcloser.OnGapcloser            += OnGapcloser;
            Interrupter.OnInterruptableSpell += OnInterruptableSpell;
        }