private static void OnGameLoad(EventArgs args) { _loaded = (Bot.Level == 1) ? Environment.TickCount:Environment.TickCount - 140000; _stepTime = Environment.TickCount; var map = Utility.Map.GetMap(); if (map.Type == Utility.Map.MapType.SummonersRift) { //Initialize var condition = Bot.Team == GameObjectTeam.Order; _chosen = condition ? Blue : Purple; _safe = condition ? Purple : Blue; BotLanePos = condition ? new Vector2(11376, 1062).To3D() : new Vector2(13496, 4218).To3D(); TopLanePos = condition ? new Vector2(1302, 10249).To3D() : new Vector2(4849, 13535).To3D(); //Randomize: _chosen += Rand.Next(-100, 100); _safe += Rand.Next(-100, 100); TopLanePos = TopLanePos.Randomize(-150, 150); BotLanePos = BotLanePos.Randomize(-150, 150); } else { _byPassLoadedCheck = true; var condition = Bot.Team == GameObjectTeam.Order; _chosen = condition ? Blue : Purple; _safe = condition ? Purple : Blue; //Randomize: _chosen += Rand.Next(-100, 100); _safe += Rand.Next(-100, 100); } var _autoLevel = new AutoSharpporting.AutoLevel(AutoSharpporting.AutoLevel.GetSequenceFromDb()); _autoLevel.Enable(); MetaHandler.LoadObjects(); }