示例#1
0
        public static void OnLoad()
        {
            if (Player.CharData.BaseSkinName != "Sejuani")
            {
                return;
            }

            Console.WriteLine("Injected");

            spells[Spells.Q].SetSkillshot(0, 70, 1600, true, SkillshotType.SkillshotLine);
            spells[Spells.R].SetSkillshot(250, 110, 1600, false, SkillshotType.SkillshotLine);

            _ignite = Player.GetSpellSlot("summonerdot");

            ElSejuaniMenu.Initialize();
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += Drawings.OnDraw;

            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
            AntiGapcloser.OnEnemyGapcloser     += AntiGapcloser_OnEnemyGapcloser;
        }
示例#2
0
        public static void OnLoad(EventArgs args)
        {
            if (ObjectManager.Player.BaseSkinName != "Sejuani")
            {
                return;
            }

            Console.WriteLine("Injected");
            Notifications.AddNotification("ElSejuani by jQuery v1.0.0.0", 1000);

            spells[Spells.Q].SetSkillshot(0, 70, 1600, true, SkillshotType.SkillshotLine);
            spells[Spells.R].SetSkillshot(250, 110, 1600, false, SkillshotType.SkillshotLine);

            _ignite = Player.GetSpellSlot("summonerdot");

            ElSejuaniMenu.Initialize();
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += Drawings.OnDraw;

            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
            AntiGapcloser.OnEnemyGapcloser     += AntiGapcloser_OnEnemyGapcloser;
        }