Пример #1
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();
 }
Пример #2
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();
 }