Exemplo n.º 1
0
        public static void Load()
        {
            Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnSpellCast;
            Game.OnUpdate           += Game_OnUpdate;
            Logic.Mechanics.LoadFlash();
            Traps.Load();

            foreach (var module in Variables.moduleList)
            {
                module.OnLoad();
            }
        }
Exemplo n.º 2
0
        public static void Load()
        {
            Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnSpellCast;
            Orbwalker.OnPostAttack  += Orbwalker_OnPostAttack;
            Orbwalker.OnPreAttack   += Orbwalker_OnPreAttack;
            Game.OnPostTick         += delegate { Variables.IsAfterAttack = false; Variables.IsBeforeAttack = false; };
            Game.OnUpdate           += Game_OnUpdate;
            Logic.Mechanics.LoadFlash();
            Traps.Load();

            foreach (var module in Variables.moduleList)
            {
                module.OnLoad();
            }
        }