Exemple #1
0
        public static void Game_OnGameLoad()
        {
            if (ObjectManager.Player.ChampionName != "Corki")
            {
                return;
            }

            Console.WriteLine("Injected");
            Notifications.AddNotification(string.Format("ElCorki by jQuery v{0}", ScriptVersion), 8000);

            spells[Spells.Q].SetSkillshot(0.35f, 250f, 1000f, false, SkillshotType.SkillshotCircle);
            spells[Spells.E].SetSkillshot(0f, (float)(45 * Math.PI / 180), 1500, false, SkillshotType.SkillshotCone);
            spells[Spells.R1].SetSkillshot(0.2f, 40f, 2000f, true, SkillshotType.SkillshotLine);
            spells[Spells.R2].SetSkillshot(0.2f, 40f, 2000f, true, SkillshotType.SkillshotLine);
            _ignite = Player.GetSpellSlot("summonerdot");

            ElCorkiMenu.Initialize();
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += Drawings.Drawing_OnDraw;
        }
Exemple #2
0
        public static void Game_OnGameLoad(EventArgs args)
        {
            if (ObjectManager.Player.ChampionName != "Corki")
            {
                return;
            }

            Console.WriteLine("Injected");

            Game.PrintChat("[00:01] <font color='#CC0000'>BATTLERITE!</font> Join http://aimtec.io for Battlerite scripts! SUPER FUN");

            spells[Spells.Q].SetSkillshot(0.35f, 250f, 1000f, false, SkillshotType.SkillshotCircle);
            spells[Spells.E].SetSkillshot(0f, (float)(45 * Math.PI / 180), 1500, false, SkillshotType.SkillshotCone);
            spells[Spells.R1].SetSkillshot(0.2f, 40f, 2000f, true, SkillshotType.SkillshotLine);
            spells[Spells.R2].SetSkillshot(0.2f, 40f, 2000f, true, SkillshotType.SkillshotLine);
            _ignite = Player.GetSpellSlot("summonerdot");

            ElCorkiMenu.Initialize();
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += Drawings.Drawing_OnDraw;
        }