コード例 #1
0
        internal static void OnLoad(EventArgs args)
        {
            //            if (Player.ChampionName != ChampName)
            //                return;

            Q = new Spell(SpellSlot.Q, 900);
            W = new Spell(SpellSlot.W, 600);
            E = new Spell(SpellSlot.E, 500);
            R = new Spell(SpellSlot.R, 500);

            MenuConfig.OnLoad();

            Printmsg("Majestic AF Kindred Assembly By Hoes Loaded");
            Printmsg1("Current Version: " + typeof(Program).Assembly.GetName().Version);
            Printmsg2("Don't Forget To " + "<font color='#00ff00'>[Upvote]</font> <font color='#FFFFFF'>" +
                      "The Assembly In The Database");

            Game.OnUpdate            += OnUpdate;
            Orbwalking.AfterAttack   += AfterAttack;
            Orbwalking.BeforeAttack  += BeforeAttack;
            Obj_AI_Base.OnIssueOrder += OnIssueOrder;
            Drawing.OnDraw           += OnDraw;
            CustomEvents.Unit.OnDash += Ondash;
        }