Пример #1
0
        public static void Game_OnGameLoad()
        {
            if (Player.ChampionName != "Trundle")
            {
                return;
            }

            spells[Spells.E].SetSkillshot(0.5f, 188f, 1600f, false, SkillshotType.SkillshotCircle);
            ignite = Player.GetSpellSlot("summonerdot");

            FastTrundleMenu.Initialize();
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += OnDraw;
            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
            AntiGapcloser.OnEnemyGapcloser     += AntiGapcloser_OnEnemyGapcloser;
            Obj_AI_Base.OnSpellCast            += ObjAIBase_OnDoCast;

            comboMenu       = FastTrundleMenu.comboMenu;
            harassMenu      = FastTrundleMenu.harassMenu;
            lastHitMenu     = FastTrundleMenu.lastHitMenu;
            laneClearMenu   = FastTrundleMenu.laneClearMenu;
            jungleClearMenu = FastTrundleMenu.jungleClearMenu;
            itemMenu        = FastTrundleMenu.itemMenu;
            miscMenu        = FastTrundleMenu.miscMenu;
        }
Пример #2
0
        public static void Game_OnGameLoad()
        {
            if (Player.ChampionName != "Trundle")
            {
                return;
            }

            spells[Spells.E].SetSkillshot(0.5f, 188f, 1600f, false, SkillshotType.SkillshotCircle);
            ignite = Player.GetSpellSlot("summonerdot");

            Notifications.AddNotification(string.Format("FastTrundle v{0}", ScriptVersion), 8000);
            FastTrundleMenu.Initialize();
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += OnDraw;
            Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
            AntiGapcloser.OnEnemyGapcloser     += AntiGapcloser_OnEnemyGapcloser;
            Obj_AI_Base.OnSpellCast            += ObjAIBase_OnSpellCast;
        }