Exemple #1
0
 static void Game_OnGameStart(EventArgs args)
 {
     if (ObjectManager.Player.ChampionName != "Riven")
     {
         return;
     }
     MenuHandler.initMenu();
     CheckHandler.init();
     Player             = ObjectManager.Player;
     Game.OnGameUpdate += Game_OnGameUpdate;
     Obj_AI_Hero.OnProcessSpellCast += CheckHandler.Obj_AI_Hero_OnProcessSpellCast;
     Drawing.OnDraw += DrawHandler.Draw;
 }
Exemple #2
0
 static void Game_OnGameStart(EventArgs args)
 {
     if (ObjectManager.Player.ChampionName != "Riven")
     {
         return;
     }
     MenuHandler.initMenu();
     CheckHandler.init();
     Player             = ObjectManager.Player;
     Game.OnGameUpdate += Game_OnGameUpdate;
     Game.OnGameUpdate += eventArgs => StateHandler.tick();
     Obj_AI_Hero.OnProcessSpellCast += CheckHandler.Obj_AI_Hero_OnProcessSpellCast;
     Obj_AI_Hero.OnProcessSpellCast += EvadeUtils.AutoE.autoE;
     Drawing.OnDraw += DrawHandler.Draw;
     JumpHandler.load();
 }