コード例 #1
0
ファイル: MyHero.cs プロジェクト: NoShurim/Buddys
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Ashe.Hero != Champion.Ashe)
            {
                return;
            }
            Chat.Print("[Addon] [Champion] [Ashe]", System.Drawing.Color.AliceBlue);

            MenusSetting.Execute();
            SpellManager.Execute();
            ModeManager.Execute();
            SaveMePls.Execute();

            if (Settings.autolevelskills)
            {
                Player.Instance.Spellbook.LevelSpell(SpellSlot.W);
            }

            Drawing.OnDraw                   += OnDraw;
            Obj_AI_Base.OnLevelUp            += Modes.ActiveCast.autoLevelSkills;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Orbwalker.OnPostAttack           += ResetAttack;
            GameObject.OnCreate              += GameObject_OnCreate;
        }
コード例 #2
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Ashe.Hero != Champion.Ashe)
            {
                return;
            }
            Chat.Print("[Addon] [Champion] [Ashe]", System.Drawing.Color.AliceBlue);

            MenusSetting.Execute();
            SpellManager.Execute();
            ModeManager.Execute();
            SaveMePls.Execute();

            if (Settings.autolevelskills)
            {
                Player.Instance.Spellbook.LevelSpell(SpellSlot.W);
            }

            Drawing.OnDraw        += OnDraw;
            Obj_AI_Base.OnLevelUp += Modes.ActiveCast.autoLevelSkills;
        }