Ejemplo n.º 1
0
        public static void LoadAssembly()
        {
            MenuConfig.LoadMenu();
            Spells.Load();

            Obj_AI_Base.OnSpellCast        += AfterAuto.OnDoCast;
            Obj_AI_Base.OnProcessSpellCast += ProcessSpell.OnProcessSpell;
            Obj_AI_Base.OnProcessSpellCast += BackgroundData.OnCast;
            Obj_AI_Base.OnPlayAnimation    += Animation.OnPlay;

            Drawing.OnEndScene += DrawDmg.DmgDraw;
            Drawing.OnDraw     += DrawMisc.RangeDraw;
            Drawing.OnDraw     += DrawWallSpot.WallDraw;

            Game.OnUpdate          += KillSteal.Update;
            Game.OnUpdate          += PermaActive.Update;
            Game.OnUpdate          += Skinchanger.Update;
            Orbwalker.OnPostAttack += ProcessSpell.Orbwalker_OnPostAttack;

            Interrupter.OnInterruptableSpell += Interrupt2.OnInterruptableTarget;
            Gapcloser.OnGapcloser            += Gapclose.Gapcloser;

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Nechrito Riven ( Elobuddy )</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> Loaded!</font></b>");
            Console.WriteLine("Nechrito Riven ( Elobuddy ): Loaded");
        }
Ejemplo n.º 2
0
        public static void OnGameLoad()
        {
            if (Player.ChampionName != "Riven")
            {
                return;
            }

            Timer =
                new Render.Text(
                    "Q Expiry =>  " + ((double)(Logic._lastQ - Utils.GameTimeTickCount + 3800) / 1000).ToString("0.0"),
                    (int)Drawing.WorldToScreen(Player.Position).X - 140,
                    (int)Drawing.WorldToScreen(Player.Position).Y + 10, 30, Color.DodgerBlue, "calibri");
            Timer2 =
                new Render.Text(
                    "R Expiry =>  " + (((double)Logic._lastR - Utils.GameTimeTickCount + 15000) / 1000).ToString("0.0"),
                    (int)Drawing.WorldToScreen(Player.Position).X - 60,
                    (int)Drawing.WorldToScreen(Player.Position).Y + 10, 30, Color.DodgerBlue, "calibri");
            Spells.Ignite = Player.GetSpellSlot("summonerdot");

            MenuConfig.LoadMenu();
            Spells.Initialise();

            Game.OnUpdate  += OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Base.OnProcessSpellCast     += Logic.OnCast;
            Obj_AI_Base.OnProcessSpellCast     += OnCasting;
            Obj_AI_Base.OnSpellCast            += OnDoCast;
            Obj_AI_Base.OnSpellCast            += OnDoCastLc;
            Obj_AI_Base.OnPlayAnimation        += OnPlay;
            Interrupter2.OnInterruptableTarget += Interrupt;
        }
Ejemplo n.º 3
0
        public static void LoadAssembly()
        {
            MenuConfig.LoadMenu();
            Spells.Load();

            Obj_AI_Base.OnSpellCast        += AfterAuto.OnSpellCast;
            Obj_AI_Base.OnProcessSpellCast += ProcessSpell.OnProcessSpell;
            Obj_AI_Base.OnProcessSpellCast += BackgroundData.OnCast;
            Obj_AI_Base.OnPlayAnimation    += Animation.OnPlay;

            Drawing.OnEndScene += DrawDmg.DmgDraw;
            Drawing.OnDraw     += DrawMisc.RangeDraw;
            Drawing.OnDraw     += DrawWallSpot.WallDraw;

            Game.OnUpdate += KillSteal.Update;
            Game.OnUpdate += PermaActive.Update;
            Game.OnUpdate += Skinchanger.Update;

            Interrupter2.OnInterruptableTarget += Interrupt2.OnInterruptableTarget;
            AntiGapcloser.OnEnemyGapcloser     += Gapclose.Gapcloser;

            Chat.Print(OnInjection);
        }