示例#1
0
文件: Program.cs 项目: riwalry1/AIO
        public static void OnLoad()
        {
            if (ObjectManager.Player.ChampionName != "Lucian")
            {
                return;
            }

            LucianSpells.Init();
            LucianMenu.MenuInit();

            Chat.Print(
                "<font color='#99FFFF'>LCS Series - Lucian loaded! </font><font color='#99FF00'> Be Rekkles ! Its Possible. Enjoy GODSPEED Spell + Passive Usage </font>");
            Chat.Print("<font color='##FFCC00'>LCS Series totally improved LCS player style.</font>");

            Game.OnUpdate           += LucianOnUpdate;
            Obj_AI_Base.OnSpellCast += LucianOnDoCast;
            Drawing.OnDraw          += LucianOnDraw;

            Config        = LucianMenu.Config;
            comboMenu     = LucianMenu.comboMenu;
            harassMenu    = LucianMenu.harassMenu;
            clearMenu     = LucianMenu.clearMenu;
            jungleMenu    = LucianMenu.jungleMenu;
            killStealMenu = LucianMenu.killStealMenu;
            miscMenu      = LucianMenu.miscMenu;
            drawMenu      = LucianMenu.drawMenu;
        }
示例#2
0
        private static void OnLoad(EventArgs args)
        {
            if (ObjectManager.Player.ChampionName != "Lucian")
            {
                return;
            }

            LucianMenu.Config =
                new Menu("LCS Series: Lucian", "LCS Series: Lucian", true).SetFontStyle(System.Drawing.FontStyle.Bold,
                                                                                        Color.Gold);
            {
                LucianSpells.Init();
                LucianMenu.OrbwalkerInit();
                LucianMenu.MenuInit();
            }

            Game.PrintChat("<font color='#99FFFF'>LCS Series - Lucian loaded! </font><font color='#99FF00'> Be Rekkles ! Its Possible. Enjoy GODSPEED Spell + Passive Usage </font>");
            Game.PrintChat("<font color='##FFCC00'>LCS Series totally improved LCS player style.</font>");

            Game.OnUpdate         += LucianOnUpdate;
            Spellbook.OnCastSpell += LucianOnCastSpell;
            Obj_AI_Base.OnDoCast  += LucianOnDoCast;
            Drawing.OnDraw        += LucianOnDraw;
        }