コード例 #1
0
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Shaco")
     {
         return;
     }
     Chat.Print("Have Fun with Playing ! by TaaZ");
     AbilitySequence = new int[] { 2, 3, 1, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
     SpellsManager.InitializeSpells();
     DrawingsManager.InitializeDrawings();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     Game.OnUpdate += OnGameUpdate;
     Game.OnTick   += GameOnTick;
     SpellManager.Initialize();
     Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
     Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCaster;
     if (!SpellManager.HasSmite())
     {
         Chat.Print("No smite detected - unloading Smite.", System.Drawing.Color.Red);
         return;
     }
     Config.Initialize();
     ModeManagerSmite.Initialize();
     Events.Initialize();
     if (Igniter.ignt.Slot == SpellSlot.Unknown)
     {
         return;
     }
     Chat.Print("IgniteHelper by T7");
     Igniter.Menu();
     Game.OnUpdate  += Igniter.OnUpdate;
     Drawing.OnDraw += Igniter.OnDraw;
 }
コード例 #2
0
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Camille")
     {
         return;
     }
     Chat.Print("Have Fun with Playing ! by TaaZ");
     Core.DelayAction(() =>
     {
         introImg        = new Sprite(TextureLoader.BitmapToTexture(Resources.anime));
         Drawing.OnDraw += DrawingOnOnDraw;
         Core.DelayAction(() =>
         {
             Drawing.OnDraw -= DrawingOnOnDraw;
         }, 7000);
     }, 2000);
     AbilitySequence = new int[] { 1, 3, 2, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     Drawing.OnDraw        += Drawing_OnDraw;
     Obj_AI_Base.OnNewPath += Obj_AI_Base_OnNewPath;
     FpsBooster.Initialize();
 }
コード例 #3
0
ファイル: Program.cs プロジェクト: Taazuma/Yaddons
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            //Put the name of the champion here
            if (Player.Instance.ChampionName != "Rumble")
            {
                return;
            }
            Chat.Print("Have Fun with Playing ! by TaaZ");
            AbilitySequence = new int[] { 3, 2, 3, 1, 3, 4, 3, 2, 3, 2, 4, 2, 2, 1, 1, 4, 1, 1 };
            SpellsManager.InitializeSpells();
            DrawingsManager.InitializeDrawings();
            Menus.CreateMenu();
            ModeManager.InitializeModes();
            Game.OnUpdate += OnGameUpdate;
            Game.OnTick   += GameOnTick;
            SpellManager.Initialize();
            Gapcloser.OnGapcloser += AntiGapCloser;

            DMGHandler.DamageHandler.Initialize();
            if (!SpellManager.HasSmite())
            {
                Chat.Print("No smite detected - unloading Smite.", System.Drawing.Color.Red);
                return;
            }
            Config.Initialize();
            ModeManagerSmite.Initialize();
            Events.Initialize();
        }
コード例 #4
0
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     if (Player.Instance.ChampionName != "Olaf")
     {
         return;
     }
     Chat.Print("Ronin Olaf Loaded");
     Core.DelayAction(() =>
     {
         introImg        = new Sprite(TextureLoader.BitmapToTexture(Resources.anime));
         Drawing.OnDraw += DrawingOnOnDraw;
         Core.DelayAction(() =>
         {
             Drawing.OnDraw -= DrawingOnOnDraw;
         }, 7000);
     }, 2000);
     AbilitySequence = new int[] { 3, 2, 3, 1, 3, 4, 3, 2, 3, 2, 4, 2, 2, 1, 1, 4, 1, 1 };
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     Drawing.OnDraw        += Drawing_OnDraw;
     Obj_AI_Base.OnNewPath += Obj_AI_Base_OnNewPath;
     FpsBooster.Initialize();
     //Orbwalker.OnPostAttack += ResetAttack; // Credits Mercedes im to lazy
     Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
     Drawing.OnDraw        += Drawing_OnDrawSpells;
 }
コード例 #5
0
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Karma")
     {
         return;
     }
     Core.DelayAction(() =>
     {
         introImg = new Sprite(TextureLoader.BitmapToTexture(Resources.anime));
         Chat.Print("<b><font size='20' color='#4B0082'>Ronin Karma</font><font size='20' color='#FFA07A'> Loaded</font></b>");
         Drawing.OnDraw += DrawingOnOnDraw;
         Core.DelayAction(() =>
         {
             Drawing.OnDraw -= DrawingOnOnDraw;
         }, 7000);
     }, 2000);
     AbilitySequence = new int[] { 1, 3, 2, 1, 1, 4, 1, 3, 1, 2, 4, 3, 3, 2, 2, 4, 2, 2 };
     SpellsManager.InitializeSpells();
     DrawingsManager.InitializeDrawings();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     Game.OnUpdate                  += GameOnUpdate;
     Gapcloser.OnGapcloser          += OnGapcloser;
     Drawing.OnDraw                 += Drawing_OnDraw;
     Obj_AI_Base.OnNewPath          += Obj_AI_Base_OnNewPath;
     Obj_AI_Base.OnBasicAttack      += OnBasicAttack;
     Obj_AI_Base.OnProcessSpellCast += onSpellCast;
     FpsBooster.Initialize();
 }
コード例 #6
0
        /// <summary>
        /// This event is triggered when the game loads
        /// </summary>
        /// <param name="args"></param>
        public static void Execute()
        {
            try
            {
                //Put the name of the champion here
                if (Player.Instance.Hero != Champion.Azir)
                {
                    return;
                }

                SpellsManager.InitializeSpells();
                Menus.CreateMenu();
                ModeManager.InitializeModes();
                DrawingsManager.InitializeDrawings();
                Jumper.OnLoad();
            }
            catch (Exception e)
            {
                if (e.ToString().Contains("Mario"))
                {
                    Chat.Print("[KappAzir ERROR] Failed to Load addon Please Make sure you have Mario's Lib installed");
                    Console.Write("[KappAzir ERROR] Failed to Load addon Please Make sure you have Mario's Lib installed");
                }
            }
        }
コード例 #7
0
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Nocturne")
     {
         return;
     }
     Chat.Print("Welcome to the Ronin´s BETA ;)");
     Chat.Print("By Taazuma ;)");
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     _W.Initialize();
     _W_Advance.Initialize();
     ModeManager.InitializeModes();
     DrawingsManager.InitializeDrawings();
     Game.OnUpdate += OnGameUpdate;
     Interrupter.OnInterruptableSpell += Program.Interrupter2_OnInterruptableTarget;
     if (!SpellManager.HasSmite())
     {
         Chat.Print("No smite detected - unloading Smite.", System.Drawing.Color.Red);
         return;
     }
     Config.Initialize();
     ModeManagerSmite.Initialize();
     Events.Initialize();
 }
コード例 #8
0
ファイル: Program.cs プロジェクト: Taazuma/EB-T
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Shaco")
     {
         return;
     }
     Core.DelayAction(() =>
     {
         introImg = new Sprite(TextureLoader.BitmapToTexture(Resources.anime));
         Chat.Print("<b><font size='20' color='#4B0082'>Joker Shaco</font><font size='20' color='#FFA07A'> Loaded</font></b>");
         Drawing.OnDraw += DrawingOnOnDraw;
         Core.DelayAction(() =>
         {
             Drawing.OnDraw -= DrawingOnOnDraw;
         }, 7000);
     }, 2000);
     Chat.Print("Have Fun with Playing ! by TaaZ");
     AbilitySequence = new int[] { 2, 3, 1, 3, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
     Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCaster;
     Drawing.OnDraw        += Drawing_OnDraw;
     Obj_AI_Base.OnNewPath += Obj_AI_Base_OnNewPath;
     FpsBooster.Initialize();
 }
コード例 #9
0
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Nocturne")
     {
         return;
     }
     Core.DelayAction(() =>
     {
         introImg = new Sprite(TextureLoader.BitmapToTexture(Resources.anime));
         Chat.Print("<b><font size='20' color='#4B0082'>Ronin Tune</font><font size='20' color='#FFA07A'> Loaded</font></b>");
         Drawing.OnDraw += DrawingOnOnDraw;
         Core.DelayAction(() =>
         {
             Drawing.OnDraw -= DrawingOnOnDraw;
         }, 7000);
     }, 2000);
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     _W.Initialize();
     _W_Advance.Initialize();
     ModeManager.InitializeModes();
     DrawingsManager.InitializeDrawings();
     Interrupter.OnInterruptableSpell += Program.Interrupter2_OnInterruptableTarget;
     Drawing.OnDraw        += Drawing_OnDraw;
     Obj_AI_Base.OnNewPath += Obj_AI_Base_OnNewPath;
     if (!SpellManager.HasSmite())
     {
         Chat.Print("No smite detected - unloading Smite.", System.Drawing.Color.Red);
         return;
     }
     Config.Initialize();
     ModeManagerSmite.Initialize();
     Events.Initialize();
 }
コード例 #10
0
ファイル: Program.cs プロジェクト: Taazuma/EB-T
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     if (Player.Instance.ChampionName != "RekSai")
     {
         return;
     }
     Core.DelayAction(() =>
     {
         introImg = new Sprite(TextureLoader.BitmapToTexture(Resources.anime));
         Chat.Print("<b><font size='20' color='#4B0082'>RekSai Master</font><font size='20' color='#FFA07A'> Loaded</font></b>");
         Drawing.OnDraw += DrawingOnOnDraw;
         Core.DelayAction(() =>
         {
             Drawing.OnDraw -= DrawingOnOnDraw;
         }, 7000);
     }, 2000);
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     Interrupter.OnInterruptableSpell += Program.Interrupter2_OnInterruptableTarget;
     Orbwalker.OnPostAttack           += OnAfterAttack;
     Drawing.OnDraw        += Drawing_OnDraw;
     Obj_AI_Base.OnNewPath += Obj_AI_Base_OnNewPath;
     FpsBooster.Initialize();
 }
コード例 #11
0
ファイル: Program.cs プロジェクト: Taazuma/EB-T
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Rumble")
     {
         return;
     }
     Core.DelayAction(() =>
     {
         introImg = new Sprite(TextureLoader.BitmapToTexture(Resources.anime));
         Chat.Print("<b><font size='20' color='#4B0082'>Rumble Jungle</font><font size='20' color='#FFA07A'> Loaded</font></b>");
         Drawing.OnDraw += DrawingOnOnDraw;
         Core.DelayAction(() =>
         {
             Drawing.OnDraw -= DrawingOnOnDraw;
         }, 7000);
     }, 2000);
     AbilitySequence = new int[] { 3, 2, 3, 1, 3, 4, 3, 2, 3, 2, 4, 2, 2, 1, 1, 4, 1, 1 };
     SpellsManager.InitializeSpells();
     DrawingsManager.InitializeDrawings();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     Gapcloser.OnGapcloser += AntiGapCloser;
     DMGHandler.DamageHandler.Initialize();
     FpsBooster.Initialize();
 }
コード例 #12
0
ファイル: Program.cs プロジェクト: elosupport/EB-Addons
        /// <summary>
        /// This event is triggered when the game loads
        /// </summary>
        /// <param name="args"></param>
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            //Put the name of the champion here
            //if (Player.Instance.ChampionName != "NameOfTheChampion") return;

            SpellsManager.InitializeSpells();
            Menus.CreateMenu();
            ModeManager.InitializeModes();
            DrawingsManager.InitializeDrawings();
        }
コード例 #13
0
 /// <summary>
 /// This event is triggered when the game loads
 /// </summary>
 /// <param name="args"></param>
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     // if (Player.Instance.ChampionName != "Fiddlesticks") return;
     Chat.Print("Ronin Loaded - Fiddle the Sticks");
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     DrawingsManager.InitializeDrawings();
     //Gapcloser.OnGapcloser();
 }
コード例 #14
0
ファイル: Program.cs プロジェクト: jhonx21/ItsMeMario
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     if (Player.Instance.ChampionName != "Lux")
     {
         return;
     }
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     DrawingsManager.InitializeDrawings();
     EManager.InitializeEManager();
 }
コード例 #15
0
 /// <summary>
 /// This event is triggered when the game loads
 /// </summary>
 /// <param name="args"></param>
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Kassadin")
     {
         return;
     }
     Chat.Print("Welcome to the Ronin´s BETA ;)");
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     DrawingsManager.InitializeDrawings();
 }
コード例 #16
0
ファイル: Program.cs プロジェクト: alieeeg/Justice-Talon
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Talon")
            {
                return;
            }

            SpellsManager.InitializeSpells();
            Menus.CreateMenu();
            ModeManager.InitializeModes();
            DrawingsManager.InitializeDrawings();
            Orbwalker.OnPostAttack  += Orbwalker_OnPostAttack;
            Obj_AI_Base.OnSpellCast += Obj_AI_Base_OnSpellCast;
        }
コード例 #17
0
ファイル: Loader.cs プロジェクト: spall9/T2N1
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            //Teemo
            if (Player.Instance.Hero == Champion.Teemo)
            {
                SpellsManager.InitializeSpells();
                Menus.CreateMenu();
                ModeManager.InitializeModes();
                DrawingsManager.InitializeDrawings();

                Chat.Print("T2IN1 Teemo Loaded!");
                Chat.Print("Credits to MarioGK for his Template & Lib also Credits to Joker for Parts of his Lib");
            }
        }
コード例 #18
0
ファイル: Program.cs プロジェクト: Taazuma/RoninOldAddons
 /// <summary>
 /// This event is triggered when the game loads
 /// </summary>
 /// <param name="args"></param>
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     //if (Player.Instance.ChampionName != "NameOfTheChampion") return;
     Chat.Print("Welcome to the Ronin´s BETA ;)");
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     DrawingsManager.InitializeDrawings();
     //_W.Initialize();
     //_W_Advance.Initialize();
     Interrupter.OnInterruptableSpell += ModeManager.Interrupter_OnInterruptableSpell;
     Gapcloser.OnGapcloser            += ModeManager.AntiGapCloser;
     //Obj_AI_Base.OnProcessSpellCast += ModeManager.OnProcessSpellCast;
 }
コード例 #19
0
ファイル: Program.cs プロジェクト: Taazuma/RoninOldAddons
 /// <summary>
 /// This event is triggered when the game loads
 /// </summary>
 /// <param name="args"></param>
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Nasus")
     {
         return;
     }
     Chat.Print("Welcome to the Ronin´s BETA ;)");
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     DrawingsManager.InitializeDrawings();
     Interrupter.OnInterruptableSpell += Program.Interrupter2_OnInterruptableTarget;
     Interrupter.OnInterruptableSpell += Program.Interrupter3_OnInterruptableTarget;
 }
コード例 #20
0
 /// <summary>
 /// This event is triggered when the game loads
 /// </summary>
 /// <param name="args"></param>
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Karma")
     {
         return;
     }
     Chat.Print("Welcome to the Ronin´s BETA ;)");
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     DrawingsManager.InitializeDrawings();
     _E.Initialize();
     _E_Advance.Initialize();
     Obj_AI_Base.OnProcessSpellCast += ModeManager.OnProcessSpellCast;
 }
コード例 #21
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != Champion)
            {
                return;
            }

            SpellsManager.InitializeSpells();
            Menus.CreateMenu();
            ModeManager.InitializeModes();
            DrawingsManager.InitializeDrawings();
            States.InitializeStates();
            Events.InitializeEvents();

            Chat.Print("S-Class Lucian loaded.");
        }
コード例 #22
0
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Rengar")
     {
         return;
     }
     SpellsManager.InitializeSpells();
     DrawingsManager.InitializeDrawings();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     Interrupter.OnInterruptableSpell += Program.Interrupter2_OnInterruptableTarget;
     Orbwalker.OnPreAttack            += OnBeforeAttack;
     Orbwalker.OnPostAttack           += OnAfterAttack;
     Obj_AI_Base.OnProcessSpellCast   += OnProcessSpellCast;
 }
コード例 #23
0
 /// <summary>
 /// This event is triggered when the game loads
 /// </summary>
 /// <param name="args"></param>
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Skarner")
     {
         return;
     }
     Chat.Print("Welcome to the Ronin´s BETA ;)");
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     _W.Initialize();
     _W_Advance.Initialize();
     DrawingsManager.InitializeDrawings();
     Interrupter.OnInterruptableSpell += ModeManager.Interrupter_OnInterruptableSpell;
     Gapcloser.OnGapcloser            += ModeManager.AntiGapCloser;
 }
コード例 #24
0
ファイル: Program.cs プロジェクト: Taazuma/EB-T
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Aatrox")
     {
         return;
     }
     Chat.Print("Have Fun with Playing ! by TaaZ");
     AbilitySequence = new int[] { 3, 2, 3, 1, 3, 4, 3, 2, 3, 2, 4, 2, 2, 1, 1, 4, 1, 1 };
     SpellsManager.InitializeSpells();
     ModeManager.InitializeModes();
     Menus.CreateMenu();
     Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
     Gapcloser.OnGapcloser            += AntiGapCloser;
     Drawing.OnDraw += OnDraw;
     FpsBooster.Initialize();
 }
コード例 #25
0
 /// <summary>
 /// This event is triggered when the game loads
 /// </summary>
 /// <param name="args"></param>
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Champion.ChampionName != "Velkoz")
     {
         return;
     }
     Chat.Print("Welcome to the Ronin´s BETA ;)");
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     DrawingsManager.InitializeDrawings();
     Interrupter.OnInterruptableSpell += InterruptMode;
     Gapcloser.OnGapcloser            += GapCloserMode;
     Game.OnUpdate       += QSplitter;
     GameObject.OnCreate += OnCreate;
     GameObject.OnCreate += Obj_AI_Base_OnCreate;
     GameObject.OnCreate += SpellsManager.OnCreate;
 }
コード例 #26
0
        /// <summary>
        /// This event is triggered when the game loads
        /// </summary>
        /// <param name="args"></param>
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            //Put the name of the champion here
            if (Player.Instance.ChampionName != "LeeSin")
            {
                return;
            }

            SpellsManager.InitializeSpells();
            Menus.CreateMenu();
            ModeManager.InitializeModes();
            DrawingsManager.InitializeDrawings();
            Combo.OnLoad();
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
            GameObject.OnCreate    += OnCreate;
            GameObject.OnDelete    += GameObject_OnDelete;
            Smiter.Init();
            Game.OnWndProc += Game_OnWndProc;
        }
コード例 #27
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            //Wukong
            if (Player.Instance.Hero == Champion.Blitzcrank)
            {
                SpellsManager.InitializeSpells();
                Menus.CreateMenu();
                ModeManager.InitializeModes();
                DrawingsManager.InitializeDrawings();
                JungleSteal.Execute();

                Combo.Initialize_E_AA_Reset();

                Chat.Print("[T2IN1] Blitzcrank Loaded!", TextColor.LimeGreen);
            }
            else
            {
                Chat.Print("[T2IN1] " + ObjectManager.Player.ChampionName + " is not Supported!",
                           TextColor.PaleVioletRed);
            }
        }
コード例 #28
0
ファイル: Program.cs プロジェクト: Taazuma/EB-T
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     Core.DelayAction(() =>
     {
         introImg = new Sprite(TextureLoader.BitmapToTexture(Resources.anime));
         Chat.Print("<b><font size='20' color='#4B0082'>Ronin Nasus</font><font size='20' color='#FFA07A'> Loaded</font></b>");
         Drawing.OnDraw += DrawingOnOnDraw;
         Core.DelayAction(() =>
         {
             Drawing.OnDraw -= DrawingOnOnDraw;
         }, 7000);
     }, 2000);
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     Drawing.OnDraw        += Drawing_OnDraw;
     Obj_AI_Base.OnNewPath += Obj_AI_Base_OnNewPath;
     Game.OnUpdate         += OnGameUpdate;
     ModeManager.InitializeModes();
     Interrupter.OnInterruptableSpell += Program.Interrupter2_OnInterruptableTarget;
     Interrupter.OnInterruptableSpell += Program.Interrupter3_OnInterruptableTarget;
 }
コード例 #29
0
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "RekSai")
     {
         return;
     }
     SpellsManager.InitializeSpells();
     DrawingsManager.InitializeDrawings();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     Interrupter.OnInterruptableSpell += Program.Interrupter2_OnInterruptableTarget;
     Orbwalker.OnPostAttack           += OnAfterAttack;
     if (!SpellManager.HasSmite())
     {
         Chat.Print("No smite detected - unloading Smite.", System.Drawing.Color.Red);
         return;
     }
     Config.Initialize();
     ModeManagerSmite.Initialize();
     Events.Initialize();
 }
コード例 #30
0
 private static void Loading_OnLoadingComplete(EventArgs args)
 {
     //Put the name of the champion here
     if (Player.Instance.ChampionName != "Lux")
     {
         return;
     }
     Chat.Print("Ronin Lux Loaded");
     Core.DelayAction(() =>
     {
         introImg        = new Sprite(TextureLoader.BitmapToTexture(Resources.anime));
         Drawing.OnDraw += DrawingOnOnDraw;
         Core.DelayAction(() =>
         {
             Drawing.OnDraw -= DrawingOnOnDraw;
         }, 7000);
     }, 2000);
     AbilitySequence = new int[] { 3, 1, 3, 2, 3, 4, 3, 1, 3, 1, 4, 1, 1, 2, 2, 4, 2, 2 };
     SpellsManager.InitializeSpells();
     Menus.CreateMenu();
     ModeManager.InitializeModes();
     Interrupter.OnInterruptableSpell += Program.Interrupter_OnInterruptableSpell;
 }