Exemplo n.º 1
0
Arquivo: Jinx.cs Projeto: eox/Aimtec-1
        public Jinx()
        {
            var spellConfig = new SpellConfig();

            spellConfig.Load();

            var menuConfig = new MenuConfig();

            menuConfig.Attach();

            var combo       = new Combo(spellConfig, menuConfig);
            var harass      = new Harass(spellConfig, menuConfig);
            var laneclear   = new LaneClear(menuConfig, spellConfig);
            var jungleclear = new JungleClear(menuConfig, spellConfig);

            var misc      = new Misc(spellConfig, menuConfig);
            var gapcloser = new AntiGapcloser(spellConfig);

            var manager = new Manager(combo, harass, laneclear, jungleclear, spellConfig);

            var drawManager = new DrawManager(menuConfig, new Dmg(), spellConfig);

            Game.OnUpdate += manager.OnUpdate;
            Game.OnUpdate += misc.OnUpdate;

            Render.OnPresent += drawManager.OnPresent;
            Render.OnRender  += drawManager.OnRender;

            Gapcloser.OnGapcloser += gapcloser.OnGapcloser;
        }
Exemplo n.º 2
0
        public static void Init()
        {
            MenuConfig.Attach();
            SpellConfig.Load();

            Game.OnUpdate += Manager.OnUpdate;
            Global.Orbwalker.PostAttack += Manager.PostAttack;
            Render.OnRender             += DrawManager.OnRender;
            Render.OnPresent            += DrawManager.RenderDamage;
        }
Exemplo n.º 3
0
        public static void Init()
        {
            MenuConfig.Attach();
            SpellConfig.Load();

            Game.OnUpdate         += Manager.OnUpdate;
            Game.OnUpdate         += Killsteal.OnUpdate;
            Render.OnRender       += DrawManager.OnRender;
            Render.OnPresent      += DrawManager.OnPresent;
            Gapcloser.OnGapcloser += AntiGapcloser.OnGapcloser;
        }
Exemplo n.º 4
0
        public static void Init()
        {
            MenuConfig.Attach();
            SpellConfig.Load();

            Game.OnUpdate += Manager.OnUpdate;
            Game.OnUpdate += Killsteal.OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += Manager.OnProcessSpellCast;
            Global.Orbwalker.PostAttack    += Manager.PostAttack;
            Global.Orbwalker.PreAttack     += Manager.OnPreAttack;
            Render.OnRender  += DrawManager.OnRender;
            Render.OnPresent += DrawManager.RenderDamage;
        }
Exemplo n.º 5
0
        public static void Init()
        {
            MenuConfig.Attach();
            SpellConfig.Load();

            Game.OnUpdate += Manager.OnUpdate;
            Game.OnUpdate += SpellManager.OnUpdate;
            Game.OnUpdate += Killsteal.OnUpdate;
            Global.Orbwalker.PostAttack    += Manager.PostAttack;
            Obj_AI_Base.OnPlayAnimation    += Animation.OnPlayAnimation;
            Obj_AI_Base.OnProcessSpellCast += SpellManager.OnProcessSpellCast;
            Render.OnRender  += DrawManager.OnRender;
            Render.OnPresent += DrawManager.OnPresent;
        }
Exemplo n.º 6
0
        public static void Init()
        {
            MenuConfig.Attach();
            SpellConfig.Load();
            SoldierManager.Soldiers = new List <Obj_AI_Minion>();

            Game.OnUpdate += Manager.OnUpdate;
            Game.OnUpdate += Killsteal.OnUpdate;

            Render.OnPresent += DrawManager.OnPresent;
            Render.OnRender  += DrawManager.OnRender;

            GameObject.OnCreate            += SoldierManager.OnCreate;
            GameObject.OnDestroy           += SoldierManager.OnDelete;
            Obj_AI_Base.OnProcessSpellCast += AzirHelper.OnProcessSpellCast;
            Gapcloser.OnGapcloser          += AntiGapcloser.OnGapcloser;
        }
Exemplo n.º 7
0
        public static void Init()
        {
            MenuConfig.Attach();
            SpellConfig.Load();

            Game.OnUpdate += Manager.OnUpdate;
            Obj_AI_Base.OnPlayAnimation    += Manager.OnPlayAnimation;
            Obj_AI_Base.OnProcessSpellCast += Evade.OnProcessSpellCast;
            Obj_AI_Base.OnProcessSpellCast += Cast;
            Global.Orbwalker.PostAttack    += Manager.PostAttack;

            Render.OnRender          += DrawManager.OnRender;
            Render.OnPresent         += DrawManager.OnPresent;
            BuffManager.OnAddBuff    += Manager.BuffManagerOnOnAddBuff;
            BuffManager.OnRemoveBuff += Manager.BuffManagerOnOnRemoveBuff;

            Gapcloser.OnGapcloser += AntiGapcloser.OnGapcloser;
        }
Exemplo n.º 8
0
        public Zed()
        {
            MenuConfig.Attach();
            SpellManager.Load();

            Game.OnUpdate += Killsteal.OnUpdate;
            Game.OnUpdate += Manager.OnUpdate;

            Render.OnPresent += DrawManager.OnPresent;
            Render.OnRender  += DrawManager.OnRender;

            Gapcloser.OnGapcloser += AntiGapcloser.OnGapcloser;

            Obj_AI_Base.OnProcessSpellCast += SpellManager.OnProcessSpellCast;
            Obj_AI_Base.OnProcessSpellCast += LaneClear.OnProcessSpellCast;

            ShadowManager.Shadows = new List <Obj_AI_Minion>();
            GameObject.OnCreate  += ShadowManager.OnCreate;
            GameObject.OnDestroy += ShadowManager.OnDelete;
        }