Advertisement
Melli565

Untitled

Dec 11th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 139.00 KB | None | 0 0
  1. using com.stirante.lolclient;
  2. using generated;
  3. using Newtonsoft.Json;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Diagnostics;
  7. using System.IO;
  8. using System.Linq;
  9. using System.Net;
  10. using System.Text;
  11. using System.Threading.Tasks;
  12. using System.Web.Script.Serialization;
  13.  
  14. namespace UltimateLeagueBot
  15. {
  16. public class Champselect
  17. {
  18. public Champselect(){ }
  19.  
  20. public bool isInChampselection(ClientApi api, int championID, ref int pickChampID, string gamemode, string leagueOfLegendsPath){
  21. while (true){
  22.  
  23. System.Threading.Thread.Sleep(1000);
  24. LolGameflowGameflowSession lolGameflowGameflowSession = new LolGameflowGameflowSession();
  25. LolGameflowGameflowSession lolGameFlow = (LolGameflowGameflowSession)api.executeGet("/lol-gameflow/v1/session", lolGameflowGameflowSession.getClass());
  26. if (lolGameFlow.phase == LolGameflowGameflowPhase.CHAMPSELECT){
  27.  
  28. if (gamemode == "5v5Aram")
  29. return true;
  30.  
  31. try
  32. {
  33.  
  34.  
  35. Console.WriteLine("[" + DateTime.Now + "]" + " In champselect!" + Environment.NewLine);
  36.  
  37. LolChampSelectChampSelectSession lolChampSelectChampSelectSession = new LolChampSelectChampSelectSession();
  38. LolChampSelectChampSelectSession session = (LolChampSelectChampSelectSession)api.executeGet("/lol-champ-select/v1/session", lolChampSelectChampSelectSession.getClass());
  39. LolChampSelectChampSelectPickableChampions lolChampSelectChampSelectPickableChampions = new LolChampSelectChampSelectPickableChampions();
  40. //LolChampSelectChampSelectPickableChampions champIDs = (LolChampSelectChampSelectPickableChampions)api.executeGet("/lol-champ-select/v1/pickable-champions", lolChampSelectChampSelectPickableChampions.getClass());
  41.  
  42.  
  43. LolChampSelectChampSelectAction infos = new LolChampSelectChampSelectAction();
  44. infos.championId = new java.lang.Integer(championID);
  45. infos.type = "pick";
  46. infos.completed = new java.lang.Boolean(false);
  47. infos.actorCellId = new java.lang.Long(0);
  48. infos.id = new java.lang.Long(0);
  49.  
  50. int localPlayerCellID = session.localPlayerCellId.intValue() + 1;
  51.  
  52. for (int i = 0; i < 5; i++)
  53. {
  54. try
  55. {
  56. api.executePatch("/lol-champ-select/v1/session/actions/" + i, infos);
  57. api.executePost("/lol-champ-select/v1/session/actions/" + i + "/complete");
  58. }
  59. catch (Exception ex)
  60. {
  61.  
  62. }
  63. }
  64.  
  65. System.Threading.Thread.Sleep(1000);
  66.  
  67. // Current champion
  68. File.Copy(leagueOfLegendsPath + @"\lockfile", leagueOfLegendsPath + @"\lockfile1");
  69.  
  70. string lockfileline = File.ReadLines(leagueOfLegendsPath + @"\lockfile1").Skip(0).First();
  71. string port = lockfileline.Split(':')[2];
  72.  
  73. File.Delete(leagueOfLegendsPath + @"\lockfile1");
  74.  
  75. java.lang.reflect.Field fieldToken = api.getClass().getDeclaredField("token");
  76. fieldToken.setAccessible(true);
  77. var token = (String)fieldToken.get(api);
  78.  
  79. HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create("https://127.0.0.1:" + port + "/lol-champ-select/v1/current-champion");
  80. webRequest.Headers.Add("Authorization", "Basic " + token);
  81. webRequest.Accept = "application/json";
  82. webRequest.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => true;
  83. webRequest.ContentType = "application/json; charset=utf-8";
  84. webRequest.Method = WebRequestMethods.Http.Get;
  85.  
  86. var response = webRequest.GetResponse();
  87. var responseStream = response.GetResponseStream();
  88. StreamReader reader = new StreamReader(responseStream);
  89. string responseFromServer = reader.ReadToEnd();
  90.  
  91. reader.Close();
  92. responseStream.Close();
  93. response.Close();
  94.  
  95. // Response from Server ist z.B.
  96. JavaScriptSerializer js = new JavaScriptSerializer();
  97. int currentChamp = JsonConvert.DeserializeObject<int>(responseFromServer);
  98.  
  99. if (currentChamp == 0)
  100. {
  101. Console.WriteLine("[" + DateTime.Now + "]" + " No champion selected! Select random champion..." + Environment.NewLine);
  102. webRequest = (HttpWebRequest)WebRequest.Create("https://127.0.0.1:" + port + "/lol-champ-select-legacy/v1/pickable-champion-ids");
  103. webRequest.Headers.Add("Authorization", "Basic " + token);
  104. webRequest.Accept = "application/json";
  105. webRequest.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => true;
  106. webRequest.ContentType = "application/json; charset=utf-8";
  107. webRequest.Method = WebRequestMethods.Http.Get;
  108.  
  109. response = webRequest.GetResponse();
  110. responseStream = response.GetResponseStream();
  111. reader = new StreamReader(responseStream);
  112. responseFromServer = reader.ReadToEnd();
  113.  
  114. reader.Close();
  115. responseStream.Close();
  116. response.Close();
  117.  
  118. // Response from Server ist z.B. [1,3,2,9]
  119. js = new JavaScriptSerializer();
  120. List<int> champIDs = JsonConvert.DeserializeObject<List<int>>(responseFromServer);
  121.  
  122. infos = new LolChampSelectChampSelectAction();
  123.  
  124. int allpickableChamps = champIDs.Count;
  125. Random randomNumber = new Random();
  126. int random = randomNumber.Next(1, allpickableChamps);
  127. var picked = champIDs[random];
  128.  
  129. infos.championId = new java.lang.Integer(picked);
  130. infos.type = "pick";
  131.  
  132. pickChampID = picked;
  133.  
  134. localPlayerCellID = session.localPlayerCellId.intValue() + 1;
  135.  
  136. for (int i = 0; i < 5; i++)
  137. {
  138. try
  139. {
  140. api.executePatch("/lol-champ-select-legacy/v1/session/actions/" + i, infos);
  141. api.executePost("/lol-champ-select-legacy/v1/session/actions/" + i + "/complete");
  142. }
  143. catch
  144. {
  145.  
  146. }
  147. }
  148. Console.WriteLine("[" + DateTime.Now + "]" + " Successfully picked Random!" + Environment.NewLine);
  149.  
  150. string fileName = System.IO.Path.GetDirectoryName(
  151. System.Reflection.Assembly.GetExecutingAssembly().Location) + @"\" + "ChampionPlay" + ".ini";
  152.  
  153. switch (pickChampID)
  154. {
  155. case 266:
  156.  
  157. using (StreamWriter sw = File.CreateText(fileName))
  158. {
  159. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Aatrox");
  160. }
  161.  
  162. break;
  163. case 103:
  164.  
  165. using (StreamWriter sw = File.CreateText(fileName))
  166. {
  167. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Ahri");
  168. }
  169.  
  170. break;
  171. case 84:
  172.  
  173. using (StreamWriter sw = File.CreateText(fileName))
  174. {
  175. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Akali");
  176. }
  177.  
  178. break;
  179. case 12:
  180.  
  181. using (StreamWriter sw = File.CreateText(fileName))
  182. {
  183. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Alistar");
  184. }
  185.  
  186. break;
  187. case 32:
  188.  
  189. using (StreamWriter sw = File.CreateText(fileName))
  190. {
  191. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Amumu");
  192. }
  193.  
  194. break;
  195. case 34:
  196.  
  197. using (StreamWriter sw = File.CreateText(fileName))
  198. {
  199. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Anivia");
  200. }
  201.  
  202. break;
  203. case 1:
  204.  
  205. using (StreamWriter sw = File.CreateText(fileName))
  206. {
  207. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Annie");
  208. }
  209.  
  210. break;
  211. case 22:
  212.  
  213. using (StreamWriter sw = File.CreateText(fileName))
  214. {
  215. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Ashe");
  216. }
  217.  
  218. break;
  219. case 136:
  220.  
  221. using (StreamWriter sw = File.CreateText(fileName))
  222. {
  223. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Aurelion Sol");
  224. }
  225.  
  226. break;
  227. case 268:
  228.  
  229. using (StreamWriter sw = File.CreateText(fileName))
  230. {
  231. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Azir");
  232. }
  233.  
  234. break;
  235. case 432:
  236.  
  237. using (StreamWriter sw = File.CreateText(fileName))
  238. {
  239. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Bard");
  240. }
  241.  
  242. break;
  243. case 53:
  244.  
  245. using (StreamWriter sw = File.CreateText(fileName))
  246. {
  247. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Blitzcrank");
  248. }
  249.  
  250. break;
  251. case 63:
  252.  
  253. using (StreamWriter sw = File.CreateText(fileName))
  254. {
  255. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Brand");
  256. }
  257.  
  258. break;
  259. case 201:
  260.  
  261. using (StreamWriter sw = File.CreateText(fileName))
  262. {
  263. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Braum");
  264. }
  265.  
  266. break;
  267. case 51:
  268.  
  269. using (StreamWriter sw = File.CreateText(fileName))
  270. {
  271. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Caitlyn");
  272. }
  273.  
  274. break;
  275. case 164:
  276.  
  277. using (StreamWriter sw = File.CreateText(fileName))
  278. {
  279. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Camille");
  280. }
  281.  
  282. break;
  283. case 69:
  284.  
  285. using (StreamWriter sw = File.CreateText(fileName))
  286. {
  287. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Cassiopeia");
  288. }
  289.  
  290. break;
  291. case 31:
  292.  
  293. using (StreamWriter sw = File.CreateText(fileName))
  294. {
  295. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Cho'Gath");
  296. }
  297.  
  298. break;
  299. case 42:
  300.  
  301. using (StreamWriter sw = File.CreateText(fileName))
  302. {
  303. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Corki");
  304. }
  305.  
  306. break;
  307. case 122:
  308.  
  309. using (StreamWriter sw = File.CreateText(fileName))
  310. {
  311. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Darius");
  312. }
  313.  
  314. break;
  315. case 131:
  316.  
  317. using (StreamWriter sw = File.CreateText(fileName))
  318. {
  319. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Diana");
  320. }
  321.  
  322. break;
  323. case 36:
  324.  
  325. using (StreamWriter sw = File.CreateText(fileName))
  326. {
  327. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Dr. Mundo");
  328. }
  329.  
  330. break;
  331. case 119:
  332.  
  333. using (StreamWriter sw = File.CreateText(fileName))
  334. {
  335. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Draven");
  336. }
  337.  
  338. break;
  339. case 245:
  340.  
  341. using (StreamWriter sw = File.CreateText(fileName))
  342. {
  343. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Ekko");
  344. }
  345.  
  346. break;
  347. case 60:
  348.  
  349. using (StreamWriter sw = File.CreateText(fileName))
  350. {
  351. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Elise");
  352. }
  353.  
  354. break;
  355. case 28:
  356.  
  357. using (StreamWriter sw = File.CreateText(fileName))
  358. {
  359. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Evelynn");
  360. }
  361.  
  362. break;
  363. case 81:
  364.  
  365. using (StreamWriter sw = File.CreateText(fileName))
  366. {
  367. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Ezreal");
  368. }
  369.  
  370. break;
  371. case 9:
  372.  
  373. using (StreamWriter sw = File.CreateText(fileName))
  374. {
  375. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Fiddlesticks");
  376. }
  377.  
  378. break;
  379. case 114:
  380.  
  381. using (StreamWriter sw = File.CreateText(fileName))
  382. {
  383. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Fioa");
  384. }
  385.  
  386. break;
  387. case 105:
  388.  
  389. using (StreamWriter sw = File.CreateText(fileName))
  390. {
  391. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Fizz");
  392. }
  393.  
  394. break;
  395. case 3:
  396.  
  397. using (StreamWriter sw = File.CreateText(fileName))
  398. {
  399. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Galio");
  400. }
  401.  
  402. break;
  403. case 41:
  404.  
  405. using (StreamWriter sw = File.CreateText(fileName))
  406. {
  407. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Gangplank");
  408. }
  409.  
  410. break;
  411. case 86:
  412.  
  413. using (StreamWriter sw = File.CreateText(fileName))
  414. {
  415. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Garen");
  416. }
  417.  
  418. break;
  419. case 150:
  420.  
  421. using (StreamWriter sw = File.CreateText(fileName))
  422. {
  423. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Gnar");
  424. }
  425.  
  426. break;
  427. case 79:
  428.  
  429. using (StreamWriter sw = File.CreateText(fileName))
  430. {
  431. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Gragas");
  432. }
  433.  
  434. break;
  435. case 104:
  436.  
  437. using (StreamWriter sw = File.CreateText(fileName))
  438. {
  439. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Graves");
  440. }
  441.  
  442. break;
  443. case 120:
  444.  
  445. using (StreamWriter sw = File.CreateText(fileName))
  446. {
  447. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Hecarim");
  448. }
  449.  
  450. break;
  451. case 74:
  452.  
  453. using (StreamWriter sw = File.CreateText(fileName))
  454. {
  455. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Heimerdinger");
  456. }
  457.  
  458. break;
  459. case 420:
  460.  
  461. using (StreamWriter sw = File.CreateText(fileName))
  462. {
  463. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Illaoi");
  464. }
  465.  
  466. break;
  467. case 39:
  468.  
  469. using (StreamWriter sw = File.CreateText(fileName))
  470. {
  471. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Irelia");
  472. }
  473.  
  474. break;
  475. case 427:
  476.  
  477. using (StreamWriter sw = File.CreateText(fileName))
  478. {
  479. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Ivern");
  480. }
  481.  
  482. break;
  483. case 40:
  484.  
  485. using (StreamWriter sw = File.CreateText(fileName))
  486. {
  487. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Janna");
  488. }
  489.  
  490. break;
  491. case 59:
  492.  
  493. using (StreamWriter sw = File.CreateText(fileName))
  494. {
  495. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Jarvan IV");
  496. }
  497.  
  498. break;
  499. case 24:
  500.  
  501. using (StreamWriter sw = File.CreateText(fileName))
  502. {
  503. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Jax");
  504. }
  505.  
  506. break;
  507. case 126:
  508.  
  509. using (StreamWriter sw = File.CreateText(fileName))
  510. {
  511. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Jayce");
  512. }
  513.  
  514. break;
  515. case 202:
  516.  
  517. using (StreamWriter sw = File.CreateText(fileName))
  518. {
  519. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Jhin");
  520. }
  521.  
  522. break;
  523. case 222:
  524.  
  525. using (StreamWriter sw = File.CreateText(fileName))
  526. {
  527. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Jinx");
  528. }
  529.  
  530. break;
  531. case 145:
  532.  
  533. using (StreamWriter sw = File.CreateText(fileName))
  534. {
  535. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Kai'Sa");
  536. }
  537.  
  538. break;
  539. case 429:
  540.  
  541. using (StreamWriter sw = File.CreateText(fileName))
  542. {
  543. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Kalista");
  544. }
  545.  
  546. break;
  547. case 43:
  548.  
  549. using (StreamWriter sw = File.CreateText(fileName))
  550. {
  551. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Karma");
  552. }
  553.  
  554. break;
  555. case 30:
  556.  
  557. using (StreamWriter sw = File.CreateText(fileName))
  558. {
  559. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Karthus");
  560. }
  561.  
  562. break;
  563. case 38:
  564.  
  565. using (StreamWriter sw = File.CreateText(fileName))
  566. {
  567. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Kassadin");
  568. }
  569.  
  570. break;
  571. case 55:
  572.  
  573. using (StreamWriter sw = File.CreateText(fileName))
  574. {
  575. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Katarina");
  576. }
  577.  
  578. break;
  579. case 10:
  580.  
  581. using (StreamWriter sw = File.CreateText(fileName))
  582. {
  583. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Kayle");
  584. }
  585.  
  586. break;
  587. case 141:
  588.  
  589. using (StreamWriter sw = File.CreateText(fileName))
  590. {
  591. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Kayn");
  592. }
  593.  
  594. break;
  595. case 85:
  596.  
  597. using (StreamWriter sw = File.CreateText(fileName))
  598. {
  599. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Kennen");
  600. }
  601.  
  602. break;
  603. case 121:
  604.  
  605. using (StreamWriter sw = File.CreateText(fileName))
  606. {
  607. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Kha'Zix");
  608. }
  609.  
  610. break;
  611. case 203:
  612.  
  613. using (StreamWriter sw = File.CreateText(fileName))
  614. {
  615. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Kindred");
  616. }
  617.  
  618. break;
  619. case 240:
  620.  
  621. using (StreamWriter sw = File.CreateText(fileName))
  622. {
  623. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Kled");
  624. }
  625.  
  626. break;
  627. case 96:
  628.  
  629. using (StreamWriter sw = File.CreateText(fileName))
  630. {
  631. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Kog'Maw");
  632. }
  633.  
  634. break;
  635. case 7:
  636.  
  637. using (StreamWriter sw = File.CreateText(fileName))
  638. {
  639. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "LeBlanc");
  640. }
  641.  
  642. break;
  643. case 64:
  644.  
  645. using (StreamWriter sw = File.CreateText(fileName))
  646. {
  647. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Lee Sin");
  648. }
  649.  
  650. break;
  651. case 89:
  652.  
  653. using (StreamWriter sw = File.CreateText(fileName))
  654. {
  655. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Leona");
  656. }
  657.  
  658. break;
  659. case 127:
  660.  
  661. using (StreamWriter sw = File.CreateText(fileName))
  662. {
  663. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Lissandra");
  664. }
  665.  
  666. break;
  667. case 236:
  668.  
  669. using (StreamWriter sw = File.CreateText(fileName))
  670. {
  671. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Lucian");
  672. }
  673.  
  674. break;
  675. case 117:
  676.  
  677. using (StreamWriter sw = File.CreateText(fileName))
  678. {
  679. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Lulu");
  680. }
  681.  
  682. break;
  683. case 99:
  684.  
  685. using (StreamWriter sw = File.CreateText(fileName))
  686. {
  687. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Lux");
  688. }
  689.  
  690. break;
  691. case 54:
  692.  
  693. using (StreamWriter sw = File.CreateText(fileName))
  694. {
  695. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Malphite");
  696. }
  697.  
  698. break;
  699. case 90:
  700.  
  701. using (StreamWriter sw = File.CreateText(fileName))
  702. {
  703. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Malzahar");
  704. }
  705.  
  706. break;
  707. case 57:
  708.  
  709. using (StreamWriter sw = File.CreateText(fileName))
  710. {
  711. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Maokai");
  712. }
  713.  
  714. break;
  715. case 11:
  716.  
  717. using (StreamWriter sw = File.CreateText(fileName))
  718. {
  719. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Master Yi");
  720. }
  721.  
  722. break;
  723. case 21:
  724.  
  725. using (StreamWriter sw = File.CreateText(fileName))
  726. {
  727. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Miss Fortune");
  728. }
  729.  
  730. break;
  731. case 82:
  732.  
  733. using (StreamWriter sw = File.CreateText(fileName))
  734. {
  735. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Mordekaiser");
  736. }
  737.  
  738. break;
  739. case 25:
  740.  
  741. using (StreamWriter sw = File.CreateText(fileName))
  742. {
  743. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Morgana");
  744. }
  745.  
  746. break;
  747. case 267:
  748.  
  749. using (StreamWriter sw = File.CreateText(fileName))
  750. {
  751. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Nami");
  752. }
  753.  
  754. break;
  755. case 75:
  756.  
  757. using (StreamWriter sw = File.CreateText(fileName))
  758. {
  759. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Nasus");
  760. }
  761.  
  762. break;
  763. case 111:
  764.  
  765. using (StreamWriter sw = File.CreateText(fileName))
  766. {
  767. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Nautilus");
  768. }
  769.  
  770. break;
  771. case 518:
  772.  
  773. using (StreamWriter sw = File.CreateText(fileName))
  774. {
  775. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Neeko");
  776. }
  777.  
  778. break;
  779. case 76:
  780.  
  781. using (StreamWriter sw = File.CreateText(fileName))
  782. {
  783. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Nidalee");
  784. }
  785.  
  786. break;
  787. case 56:
  788.  
  789. using (StreamWriter sw = File.CreateText(fileName))
  790. {
  791. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Nocturne");
  792. }
  793.  
  794. break;
  795. case 20:
  796.  
  797. using (StreamWriter sw = File.CreateText(fileName))
  798. {
  799. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Nunu & Willump");
  800. }
  801.  
  802. break;
  803. case 2:
  804.  
  805. using (StreamWriter sw = File.CreateText(fileName))
  806. {
  807. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Olaf");
  808. }
  809.  
  810. break;
  811. case 61:
  812.  
  813. using (StreamWriter sw = File.CreateText(fileName))
  814. {
  815. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Orianna");
  816. }
  817.  
  818. break;
  819. case 516:
  820.  
  821. using (StreamWriter sw = File.CreateText(fileName))
  822. {
  823. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Ornn");
  824. }
  825.  
  826. break;
  827. case 80:
  828.  
  829. using (StreamWriter sw = File.CreateText(fileName))
  830. {
  831. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Pantheon");
  832. }
  833.  
  834. break;
  835. case 78:
  836.  
  837. using (StreamWriter sw = File.CreateText(fileName))
  838. {
  839. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Poppy");
  840. }
  841.  
  842. break;
  843. case 555:
  844.  
  845. using (StreamWriter sw = File.CreateText(fileName))
  846. {
  847. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Pyke");
  848. }
  849.  
  850. break;
  851. case 246:
  852.  
  853. using (StreamWriter sw = File.CreateText(fileName))
  854. {
  855. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Qiyana");
  856. }
  857.  
  858. break;
  859. case 133:
  860.  
  861. using (StreamWriter sw = File.CreateText(fileName))
  862. {
  863. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Quinn");
  864. }
  865.  
  866. break;
  867. case 497:
  868.  
  869. using (StreamWriter sw = File.CreateText(fileName))
  870. {
  871. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Rakan");
  872. }
  873.  
  874. break;
  875. case 33:
  876.  
  877. using (StreamWriter sw = File.CreateText(fileName))
  878. {
  879. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Rammus");
  880. }
  881.  
  882. break;
  883. case 421:
  884.  
  885. using (StreamWriter sw = File.CreateText(fileName))
  886. {
  887. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Rek'Sai");
  888. }
  889.  
  890. break;
  891. case 58:
  892.  
  893. using (StreamWriter sw = File.CreateText(fileName))
  894. {
  895. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Renekton");
  896. }
  897.  
  898. break;
  899. case 107:
  900.  
  901. using (StreamWriter sw = File.CreateText(fileName))
  902. {
  903. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Rengar");
  904. }
  905.  
  906. break;
  907. case 92:
  908.  
  909. using (StreamWriter sw = File.CreateText(fileName))
  910. {
  911. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Riven");
  912. }
  913.  
  914. break;
  915. case 68:
  916.  
  917. using (StreamWriter sw = File.CreateText(fileName))
  918. {
  919. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Rumble");
  920. }
  921.  
  922. break;
  923. case 13:
  924.  
  925. using (StreamWriter sw = File.CreateText(fileName))
  926. {
  927. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Ryze");
  928. }
  929.  
  930. break;
  931. case 113:
  932.  
  933. using (StreamWriter sw = File.CreateText(fileName))
  934. {
  935. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Sejuani");
  936. }
  937.  
  938. break;
  939. case 35:
  940.  
  941. using (StreamWriter sw = File.CreateText(fileName))
  942. {
  943. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Shaco");
  944. }
  945.  
  946. break;
  947. case 98:
  948.  
  949. using (StreamWriter sw = File.CreateText(fileName))
  950. {
  951. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Shen");
  952. }
  953.  
  954. break;
  955. case 102:
  956.  
  957. using (StreamWriter sw = File.CreateText(fileName))
  958. {
  959. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Syhvana");
  960. }
  961.  
  962. break;
  963. case 27:
  964.  
  965. using (StreamWriter sw = File.CreateText(fileName))
  966. {
  967. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Singed");
  968. }
  969.  
  970. break;
  971. case 14:
  972.  
  973. using (StreamWriter sw = File.CreateText(fileName))
  974. {
  975. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Sion");
  976. }
  977.  
  978. break;
  979. case 15:
  980.  
  981. using (StreamWriter sw = File.CreateText(fileName))
  982. {
  983. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Sivir");
  984. }
  985.  
  986. break;
  987. case 72:
  988.  
  989. using (StreamWriter sw = File.CreateText(fileName))
  990. {
  991. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Skarner");
  992. }
  993.  
  994. break;
  995. case 37:
  996.  
  997. using (StreamWriter sw = File.CreateText(fileName))
  998. {
  999. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Sona");
  1000. }
  1001.  
  1002. break;
  1003. case 16:
  1004.  
  1005. using (StreamWriter sw = File.CreateText(fileName))
  1006. {
  1007. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Soraka");
  1008. }
  1009.  
  1010. break;
  1011. case 50:
  1012.  
  1013. using (StreamWriter sw = File.CreateText(fileName))
  1014. {
  1015. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Swain");
  1016. }
  1017.  
  1018. break;
  1019. case 517:
  1020.  
  1021. using (StreamWriter sw = File.CreateText(fileName))
  1022. {
  1023. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Sylas");
  1024. }
  1025.  
  1026. break;
  1027. case 134:
  1028.  
  1029. using (StreamWriter sw = File.CreateText(fileName))
  1030. {
  1031. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Syndra");
  1032. }
  1033.  
  1034. break;
  1035. case 223:
  1036.  
  1037. using (StreamWriter sw = File.CreateText(fileName))
  1038. {
  1039. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Tahm Kench");
  1040. }
  1041.  
  1042. break;
  1043. case 163:
  1044.  
  1045. using (StreamWriter sw = File.CreateText(fileName))
  1046. {
  1047. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Taliyah");
  1048. }
  1049.  
  1050. break;
  1051. case 91:
  1052.  
  1053. using (StreamWriter sw = File.CreateText(fileName))
  1054. {
  1055. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Talon");
  1056. }
  1057.  
  1058. break;
  1059. case 44:
  1060.  
  1061. using (StreamWriter sw = File.CreateText(fileName))
  1062. {
  1063. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Taric");
  1064. }
  1065.  
  1066. break;
  1067. case 17:
  1068.  
  1069. using (StreamWriter sw = File.CreateText(fileName))
  1070. {
  1071. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Teemo");
  1072. }
  1073.  
  1074. break;
  1075. case 412:
  1076.  
  1077. using (StreamWriter sw = File.CreateText(fileName))
  1078. {
  1079. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Thresh");
  1080. }
  1081.  
  1082. break;
  1083. case 18:
  1084.  
  1085. using (StreamWriter sw = File.CreateText(fileName))
  1086. {
  1087. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Tristana");
  1088. }
  1089.  
  1090. break;
  1091. case 48:
  1092.  
  1093. using (StreamWriter sw = File.CreateText(fileName))
  1094. {
  1095. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Trundle");
  1096. }
  1097.  
  1098. break;
  1099. case 23:
  1100.  
  1101. using (StreamWriter sw = File.CreateText(fileName))
  1102. {
  1103. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Tryndamere");
  1104. }
  1105.  
  1106. break;
  1107. case 4:
  1108.  
  1109. using (StreamWriter sw = File.CreateText(fileName))
  1110. {
  1111. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Twisted Fate");
  1112. }
  1113.  
  1114. break;
  1115. case 29:
  1116.  
  1117. using (StreamWriter sw = File.CreateText(fileName))
  1118. {
  1119. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Twitch");
  1120. }
  1121.  
  1122. break;
  1123. case 77:
  1124.  
  1125. using (StreamWriter sw = File.CreateText(fileName))
  1126. {
  1127. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Udyr");
  1128. }
  1129.  
  1130. break;
  1131. case 6:
  1132.  
  1133. using (StreamWriter sw = File.CreateText(fileName))
  1134. {
  1135. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Urgot");
  1136. }
  1137.  
  1138. break;
  1139. case 110:
  1140.  
  1141. using (StreamWriter sw = File.CreateText(fileName))
  1142. {
  1143. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Varus");
  1144. }
  1145.  
  1146. break;
  1147. case 67:
  1148.  
  1149. using (StreamWriter sw = File.CreateText(fileName))
  1150. {
  1151. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Vayne");
  1152. }
  1153.  
  1154. break;
  1155. case 45:
  1156.  
  1157. using (StreamWriter sw = File.CreateText(fileName))
  1158. {
  1159. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Veigar");
  1160. }
  1161.  
  1162. break;
  1163. case 161:
  1164.  
  1165. using (StreamWriter sw = File.CreateText(fileName))
  1166. {
  1167. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Vel'Koz");
  1168. }
  1169.  
  1170. break;
  1171. case 254:
  1172.  
  1173. using (StreamWriter sw = File.CreateText(fileName))
  1174. {
  1175. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Vi");
  1176. }
  1177.  
  1178. break;
  1179. case 112:
  1180.  
  1181. using (StreamWriter sw = File.CreateText(fileName))
  1182. {
  1183. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Viktor");
  1184. }
  1185.  
  1186. break;
  1187. case 8:
  1188.  
  1189. using (StreamWriter sw = File.CreateText(fileName))
  1190. {
  1191. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Vladimir");
  1192. }
  1193.  
  1194. break;
  1195. case 106:
  1196.  
  1197. using (StreamWriter sw = File.CreateText(fileName))
  1198. {
  1199. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Volibear");
  1200. }
  1201.  
  1202. break;
  1203. case 19:
  1204.  
  1205. using (StreamWriter sw = File.CreateText(fileName))
  1206. {
  1207. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Warwick");
  1208. }
  1209.  
  1210. break;
  1211. case 62:
  1212.  
  1213. using (StreamWriter sw = File.CreateText(fileName))
  1214. {
  1215. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Wukong");
  1216. }
  1217.  
  1218. break;
  1219. case 498:
  1220.  
  1221. using (StreamWriter sw = File.CreateText(fileName))
  1222. {
  1223. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Xayah");
  1224. }
  1225.  
  1226. break;
  1227. case 101:
  1228.  
  1229. using (StreamWriter sw = File.CreateText(fileName))
  1230. {
  1231. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Xerath");
  1232. }
  1233.  
  1234. break;
  1235. case 5:
  1236.  
  1237. using (StreamWriter sw = File.CreateText(fileName))
  1238. {
  1239. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Xin Zhao");
  1240. }
  1241.  
  1242. break;
  1243. case 157:
  1244.  
  1245. using (StreamWriter sw = File.CreateText(fileName))
  1246. {
  1247. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Yasou");
  1248. }
  1249.  
  1250. break;
  1251. case 83:
  1252.  
  1253. using (StreamWriter sw = File.CreateText(fileName))
  1254. {
  1255. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Yorick");
  1256. }
  1257.  
  1258. break;
  1259. case 350:
  1260.  
  1261. using (StreamWriter sw = File.CreateText(fileName))
  1262. {
  1263. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Yuumi");
  1264. }
  1265.  
  1266. break;
  1267. case 154:
  1268.  
  1269. using (StreamWriter sw = File.CreateText(fileName))
  1270. {
  1271. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Zac");
  1272. }
  1273.  
  1274. break;
  1275. case 238:
  1276.  
  1277. using (StreamWriter sw = File.CreateText(fileName))
  1278. {
  1279. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Zed");
  1280. }
  1281.  
  1282. break;
  1283. case 115:
  1284.  
  1285. using (StreamWriter sw = File.CreateText(fileName))
  1286. {
  1287. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Ziggs");
  1288. }
  1289.  
  1290. break;
  1291. case 26:
  1292.  
  1293. using (StreamWriter sw = File.CreateText(fileName))
  1294. {
  1295. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Zilean");
  1296. }
  1297.  
  1298. break;
  1299. case 142:
  1300.  
  1301. using (StreamWriter sw = File.CreateText(fileName))
  1302. {
  1303. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Zoe");
  1304. }
  1305.  
  1306. break;
  1307. case 143:
  1308.  
  1309. using (StreamWriter sw = File.CreateText(fileName))
  1310. {
  1311. sw.WriteLine("[Champion]" + Environment.NewLine + "Championname=" + "Zyra");
  1312. }
  1313.  
  1314. break;
  1315. }
  1316.  
  1317. // jetzt championnamen aus der "ChampionPlay.ini" auslesen
  1318. string champName = File.ReadLines(fileName).Skip(1).Take(1).First();
  1319. string championName = champName.Split('=')[1];
  1320.  
  1321. LolSummonerSummoner lolSummonerSummoner = new LolSummonerSummoner();
  1322. lolSummonerSummoner = (LolSummonerSummoner)api.executeGet("/lol-summoner/v1/current-summoner", lolSummonerSummoner.getClass());
  1323.  
  1324. LolItemSetsItemSets lolItemSetsItemSets = new LolItemSetsItemSets();
  1325. lolItemSetsItemSets = (LolItemSetsItemSets)api.executeGet("/lol-item-sets/v1/item-sets/" + lolSummonerSummoner.summonerId + "/sets", lolItemSetsItemSets.getClass());
  1326.  
  1327. if (lolItemSetsItemSets.itemSets.size() >= 1)
  1328. {
  1329. lolItemSetsItemSets.itemSets = new java.util.ArrayList();
  1330. api.executePut("/lol-item-sets/v1/item-sets/" + lolSummonerSummoner.summonerId + "/sets", lolItemSetsItemSets);
  1331. }
  1332.  
  1333. CreateItemSet(championName, api);
  1334.  
  1335. if (gamemode == "5v5Aram")
  1336. {
  1337. Process[] pname2 = Process.GetProcessesByName("LoL KI Aram");
  1338. foreach (var process in pname2)
  1339. {
  1340. process.Kill();
  1341. }
  1342. }
  1343. else
  1344. {
  1345. Process[] pname2 = Process.GetProcessesByName("LoL KI");
  1346. foreach (var process in pname2)
  1347. {
  1348. process.Kill();
  1349. }
  1350. }
  1351. }
  1352.  
  1353.  
  1354. Console.WriteLine("[" + DateTime.Now + "]" + " Champion picked!" + Environment.NewLine);
  1355. return true;
  1356. }
  1357. catch (Exception ex)
  1358. {
  1359. Console.WriteLine("[" + DateTime.Now + "]" + " Error in Champselect: " + ex.Message + Environment.NewLine);
  1360. }
  1361. }
  1362. else {
  1363. return false;
  1364. }
  1365. }
  1366. }
  1367.  
  1368. public static void CreateItemSet(string championName, ClientApi api)
  1369. {
  1370. try
  1371. {
  1372. string fileNameChampion = System.IO.Path.GetDirectoryName(
  1373. System.Reflection.Assembly.GetExecutingAssembly().Location) + @"\" + @"Champions\" + championName + @"\" + championName + ".ini";
  1374.  
  1375. string item1 = File.ReadLines(fileNameChampion).Skip(1).Take(1).First().Split('=')[1];
  1376. string item2 = File.ReadLines(fileNameChampion).Skip(2).Take(1).First().Split('=')[1];
  1377. string item3 = File.ReadLines(fileNameChampion).Skip(3).Take(1).First().Split('=')[1];
  1378. string item4 = File.ReadLines(fileNameChampion).Skip(4).Take(1).First().Split('=')[1];
  1379. string item5 = File.ReadLines(fileNameChampion).Skip(5).Take(1).First().Split('=')[1];
  1380. string item6 = File.ReadLines(fileNameChampion).Skip(6).Take(1).First().Split('=')[1];
  1381.  
  1382. LolSummonerSummoner lolSummonerSummoner = new LolSummonerSummoner();
  1383. lolSummonerSummoner = (LolSummonerSummoner)api.executeGet("/lol-summoner/v1/current-summoner", lolSummonerSummoner.getClass());
  1384.  
  1385. LolItemSetsItemSets lolItemSetsItemSets = new LolItemSetsItemSets();
  1386. lolItemSetsItemSets = (LolItemSetsItemSets)api.executeGet("/lol-item-sets/v1/item-sets/" + lolSummonerSummoner.summonerId + "/sets", lolItemSetsItemSets.getClass());
  1387.  
  1388. LolItemSetsItemSet newItemSet = new LolItemSetsItemSet();
  1389.  
  1390. java.util.ArrayList itemBlockList = new java.util.ArrayList();
  1391. itemBlockList.add(CreateItemSetBlockForItem(item1));
  1392. itemBlockList.add(CreateItemSetBlockForItem(item2));
  1393. itemBlockList.add(CreateItemSetBlockForItem(item3));
  1394. itemBlockList.add(CreateItemSetBlockForItem(item4));
  1395. itemBlockList.add(CreateItemSetBlockForItem(item5));
  1396. itemBlockList.add(CreateItemSetBlockForItem(item6));
  1397. newItemSet.blocks = itemBlockList;
  1398.  
  1399. newItemSet.title = "Itemset for " + championName;
  1400.  
  1401. int champID = 0;
  1402.  
  1403. switch (championName)
  1404. {
  1405. case "Aatrox":
  1406. champID = 266;
  1407. break;
  1408. case "Ahri":
  1409. champID = 103;
  1410. break;
  1411. case "Akali":
  1412. champID = 84;
  1413. break;
  1414. case "Alistar":
  1415. champID = 12;
  1416. break;
  1417. case "Amumu":
  1418. champID = 32;
  1419. break;
  1420. case "Anivia":
  1421. champID = 34;
  1422. break;
  1423. case "Annie":
  1424. champID = 1;
  1425. break;
  1426. case "Ashe":
  1427. champID = 22;
  1428. break;
  1429. case "Aurelion Sol":
  1430. champID = 136;
  1431. break;
  1432. case "Azir":
  1433. champID = 268;
  1434. break;
  1435. case "Bard":
  1436. champID = 432;
  1437. break;
  1438. case "Blitzcrank":
  1439. champID = 53;
  1440. break;
  1441. case "Brand":
  1442. champID = 63;
  1443. break;
  1444. case "Braum":
  1445. champID = 201;
  1446. break;
  1447. case "Caitlyn":
  1448. champID = 51;
  1449. break;
  1450. case "Camille":
  1451. champID = 164;
  1452. break;
  1453. case "Cassiopeia":
  1454. champID = 69;
  1455. break;
  1456. case "Cho'Gath":
  1457. champID = 31;
  1458. break;
  1459. case "Corki":
  1460. champID = 42;
  1461. break;
  1462. case "Darius":
  1463. champID = 122;
  1464. break;
  1465. case "Diana":
  1466. champID = 131;
  1467. break;
  1468. case "Dr. Mundo":
  1469. champID = 36;
  1470. break;
  1471. case "Draven":
  1472. champID = 119;
  1473. break;
  1474. case "Ekko":
  1475. champID = 245;
  1476. break;
  1477. case "Elise":
  1478. champID = 60;
  1479. break;
  1480. case "Evelynn":
  1481. champID = 28;
  1482. break;
  1483. case "Ezreal":
  1484. champID = 81;
  1485. break;
  1486. case "Fiddlesticks":
  1487. champID = 9;
  1488. break;
  1489. case "Fiora":
  1490. champID = 114;
  1491. break;
  1492. case "Fizz":
  1493. champID = 105;
  1494. break;
  1495. case "Galio":
  1496. champID = 3;
  1497. break;
  1498. case "Gangplank":
  1499. champID = 41;
  1500. break;
  1501. case "Garen":
  1502. champID = 86;
  1503. break;
  1504. case "Gnar":
  1505. champID = 150;
  1506. break;
  1507. case "Gragas":
  1508. champID = 79;
  1509. break;
  1510. case "Graves":
  1511. champID = 104;
  1512. break;
  1513. case "Hecarim":
  1514. champID = 120;
  1515. break;
  1516. case "Heimerdinger":
  1517. champID = 74;
  1518. break;
  1519. case "Illaoi":
  1520. champID = 420;
  1521. break;
  1522. case "Irelia":
  1523. champID = 39;
  1524. break;
  1525. case "Ivern":
  1526. champID = 427;
  1527. break;
  1528. case "Janna":
  1529. champID = 40;
  1530. break;
  1531. case "Jarvan IV":
  1532. champID = 59;
  1533. break;
  1534. case "Jax":
  1535. champID = 24;
  1536. break;
  1537. case "Jayce":
  1538. champID = 126;
  1539. break;
  1540. case "Jhin":
  1541. champID = 202;
  1542. break;
  1543. case "Jinx":
  1544. champID = 222;
  1545. break;
  1546. case "Kai'Sa":
  1547. champID = 145;
  1548. break;
  1549. case "Kalista":
  1550. champID = 429;
  1551. break;
  1552. case "Karma":
  1553. champID = 43;
  1554. break;
  1555. case "Karthus":
  1556. champID = 30;
  1557. break;
  1558. case "Kassadin":
  1559. champID = 38;
  1560. break;
  1561. case "Katarina":
  1562. champID = 55;
  1563. break;
  1564. case "Kayle":
  1565. champID = 10;
  1566. break;
  1567. case "Kayn":
  1568. champID = 141;
  1569. break;
  1570. case "Kennen":
  1571. champID = 85;
  1572. break;
  1573. case "Kha'Zix":
  1574. champID = 121;
  1575. break;
  1576. case "Kindred":
  1577. champID = 203;
  1578. break;
  1579. case "Kled":
  1580. champID = 240;
  1581. break;
  1582. case "Kog'Maw":
  1583. champID = 96;
  1584. break;
  1585. case "LeBlanc":
  1586. champID = 7;
  1587. break;
  1588. case "Lee Sin":
  1589. champID = 64;
  1590. break;
  1591. case "Leona":
  1592. champID = 89;
  1593. break;
  1594. case "Lissandra":
  1595. champID = 127;
  1596. break;
  1597. case "Lucian":
  1598. champID = 236;
  1599. break;
  1600. case "Lulu":
  1601. champID = 117;
  1602. break;
  1603. case "Lux":
  1604. champID = 99;
  1605. break;
  1606. case "Malphite":
  1607. champID = 54;
  1608. break;
  1609. case "Malzahar":
  1610. champID = 90;
  1611. break;
  1612. case "Maokai":
  1613. champID = 57;
  1614. break;
  1615. case "Master Yi":
  1616. champID = 11;
  1617. break;
  1618. case "Miss Fortune":
  1619. champID = 21;
  1620. break;
  1621. case "Mordekaiser":
  1622. champID = 82;
  1623. break;
  1624. case "Morgana":
  1625. champID = 25;
  1626. break;
  1627. case "Nami":
  1628. champID = 267;
  1629. break;
  1630. case "Nasus":
  1631. champID = 75;
  1632. break;
  1633. case "Nautilus":
  1634. champID = 111;
  1635. break;
  1636. case "Neeko":
  1637. champID = 518;
  1638. break;
  1639. case "Nidalee":
  1640. champID = 76;
  1641. break;
  1642. case "Nocturne":
  1643. champID = 56;
  1644. break;
  1645. case "Nunu & Willump":
  1646. champID = 20;
  1647. break;
  1648. case "Olaf":
  1649. champID = 2;
  1650. break;
  1651. case "Orianna":
  1652. champID = 61;
  1653. break;
  1654. case "Ornn":
  1655. champID = 516;
  1656. break;
  1657. case "Pantheon":
  1658. champID = 80;
  1659. break;
  1660. case "Poppy":
  1661. champID = 78;
  1662. break;
  1663. case "Pyke":
  1664. champID = 555;
  1665. break;
  1666. case "Qiyana":
  1667. champID = 246;
  1668. break;
  1669. case "Quinn":
  1670. champID = 133;
  1671. break;
  1672. case "Rakan":
  1673. champID = 497;
  1674. break;
  1675. case "Rammus":
  1676. champID = 33;
  1677. break;
  1678. case "Rek'Sai":
  1679. champID = 421;
  1680. break;
  1681. case "Renekton":
  1682. champID = 58;
  1683. break;
  1684. case "Rengar":
  1685. champID = 107;
  1686. break;
  1687. case "Riven":
  1688. champID = 92;
  1689. break;
  1690. case "Rumble":
  1691. champID = 68;
  1692. break;
  1693. case "Ryze":
  1694. champID = 13;
  1695. break;
  1696. case "Sejuani":
  1697. champID = 113;
  1698. break;
  1699. case "Shaco":
  1700. champID = 35;
  1701. break;
  1702. case "Shen":
  1703. champID = 98;
  1704. break;
  1705. case "Shyvana":
  1706. champID = 102;
  1707. break;
  1708. case "Singed":
  1709. champID = 27;
  1710. break;
  1711. case "Sion":
  1712. champID = 14;
  1713. break;
  1714. case "Sivir":
  1715. champID = 15;
  1716. break;
  1717. case "Skarner":
  1718. champID = 72;
  1719. break;
  1720. case "Sona":
  1721. champID = 37;
  1722. break;
  1723. case "Soraka":
  1724. champID = 16;
  1725. break;
  1726. case "Swain":
  1727. champID = 50;
  1728. break;
  1729.  
  1730. case "Sylas":
  1731. champID = 517;
  1732. break;
  1733. case "Syndra":
  1734. champID = 134;
  1735. break;
  1736. case "Tahm Kench":
  1737. champID = 223;
  1738. break;
  1739. case "Taliyah":
  1740. champID = 163;
  1741. break;
  1742. case "Talon":
  1743. champID = 91;
  1744. break;
  1745. case "Taric":
  1746. champID = 44;
  1747. break;
  1748. case "Teemo":
  1749. champID = 17;
  1750. break;
  1751. case "Thresh":
  1752. champID = 412;
  1753. break;
  1754. case "Tristana":
  1755. champID = 18;
  1756. break;
  1757. case "Trundle":
  1758. champID = 48;
  1759. break;
  1760. case "Tryndamere":
  1761. champID = 23;
  1762. break;
  1763. case "Twisted Fate":
  1764. champID = 4;
  1765. break;
  1766. case "Twitch":
  1767. champID = 29;
  1768. break;
  1769. case "Udyr":
  1770. champID = 77;
  1771. break;
  1772. case "Urgot":
  1773. champID = 6;
  1774. break;
  1775. case "Varus":
  1776. champID = 110;
  1777. break;
  1778. case "Vayne":
  1779. champID = 67;
  1780. break;
  1781. case "Veigar":
  1782. champID = 45;
  1783. break;
  1784. case "Vel'Koz":
  1785. champID = 161;
  1786. break;
  1787. case "Vi":
  1788. champID = 254;
  1789. break;
  1790. case "Viktor":
  1791. champID = 112;
  1792. break;
  1793. case "Vladimir":
  1794. champID = 8;
  1795. break;
  1796. case "Volibear":
  1797. champID = 106;
  1798. break;
  1799. case "Warwick":
  1800. champID = 19;
  1801. break;
  1802. case "Wukong":
  1803. champID = 62;
  1804. break;
  1805. case "Xayah":
  1806. champID = 498;
  1807. break;
  1808. case "Xerath":
  1809. champID = 101;
  1810. break;
  1811. case "Xin Zhao":
  1812. champID = 5;
  1813. break;
  1814. case "Yasuo":
  1815. champID = 157;
  1816. break;
  1817. case "Yorick":
  1818. champID = 83;
  1819. break;
  1820. case "Yuumi":
  1821. champID = 350;
  1822. break;
  1823. case "Zac":
  1824. champID = 154;
  1825. break;
  1826. case "Zed":
  1827. champID = 238;
  1828. break;
  1829. case "Ziggs":
  1830. champID = 115;
  1831. break;
  1832. case "Zilean":
  1833. champID = 26;
  1834. break;
  1835. case "Zoe":
  1836. champID = 142;
  1837. break;
  1838. case "Zyra":
  1839. champID = 143;
  1840. break;
  1841. }
  1842.  
  1843.  
  1844. lolItemSetsItemSets.itemSets.add(newItemSet);
  1845.  
  1846. java.util.ArrayList champList = new java.util.ArrayList();
  1847. champList.add(new java.lang.Integer(champID));
  1848.  
  1849. newItemSet.associatedChampions = champList;
  1850.  
  1851. java.util.ArrayList itemSet = new java.util.ArrayList();
  1852. itemSet.add(newItemSet);
  1853.  
  1854. lolItemSetsItemSets.itemSets = itemSet;
  1855.  
  1856. api.executePut("/lol-item-sets/v1/item-sets/" + lolSummonerSummoner.summonerId + "/sets", lolItemSetsItemSets);
  1857. }
  1858. catch (Exception ex)
  1859. {
  1860. Console.WriteLine("[" + DateTime.Now + "]" + " Error occurred: " + ex.Message);
  1861. }
  1862. }
  1863.  
  1864. public static LolItemSetsItemSetBlock CreateItemSetBlockForItem(string item)
  1865. {
  1866. LolItemSetsItemSetBlock newItemSetBlock = new LolItemSetsItemSetBlock();
  1867. newItemSetBlock.type = "Item " + item;
  1868.  
  1869. java.util.ArrayList itemList = new java.util.ArrayList();
  1870.  
  1871. switch (item)
  1872. {
  1873. case "Rabadon's Deathcap":
  1874. LolItemSetsItemSetItem largeRod = new LolItemSetsItemSetItem();
  1875. largeRod.count = new java.lang.Integer(2);
  1876. largeRod.id = "1058";
  1877. LolItemSetsItemSetItem rabadon = new LolItemSetsItemSetItem();
  1878. rabadon.count = new java.lang.Integer(1);
  1879. rabadon.id = "3089";
  1880.  
  1881. itemList.add(largeRod);
  1882. itemList.add(rabadon);
  1883.  
  1884. newItemSetBlock.items = itemList;
  1885. break;
  1886. case "Death's Dance":
  1887. LolItemSetsItemSetItem vampiricScepter = new LolItemSetsItemSetItem();
  1888. vampiricScepter.count = new java.lang.Integer(1);
  1889. vampiricScepter.id = "1053";
  1890.  
  1891. LolItemSetsItemSetItem pickAxe = new LolItemSetsItemSetItem();
  1892. pickAxe.count = new java.lang.Integer(1);
  1893. pickAxe.id = "1037";
  1894.  
  1895. LolItemSetsItemSetItem caulfieldsWarhammer = new LolItemSetsItemSetItem();
  1896. caulfieldsWarhammer.count = new java.lang.Integer(1);
  1897. caulfieldsWarhammer.id = "3133";
  1898.  
  1899. LolItemSetsItemSetItem deathsDance = new LolItemSetsItemSetItem();
  1900. deathsDance.count = new java.lang.Integer(1);
  1901. deathsDance.id = "3812";
  1902.  
  1903. itemList.add(vampiricScepter);
  1904. itemList.add(pickAxe);
  1905. itemList.add(caulfieldsWarhammer);
  1906. itemList.add(deathsDance);
  1907.  
  1908. newItemSetBlock.items = itemList;
  1909.  
  1910. break;
  1911.  
  1912. case "Ravenous Hydra":
  1913. LolItemSetsItemSetItem tiamat = new LolItemSetsItemSetItem();
  1914. tiamat.count = new java.lang.Integer(1);
  1915. tiamat.id = "3077";
  1916.  
  1917. LolItemSetsItemSetItem vampiricScepter1 = new LolItemSetsItemSetItem();
  1918. vampiricScepter1.count = new java.lang.Integer(1);
  1919. vampiricScepter1.id = "1053";
  1920.  
  1921. LolItemSetsItemSetItem pickAxe1 = new LolItemSetsItemSetItem();
  1922. pickAxe1.count = new java.lang.Integer(1);
  1923. pickAxe1.id = "1037";
  1924.  
  1925. LolItemSetsItemSetItem ravenousHydra = new LolItemSetsItemSetItem();
  1926. ravenousHydra.count = new java.lang.Integer(1);
  1927. ravenousHydra.id = "3074";
  1928.  
  1929. itemList.add(tiamat);
  1930. itemList.add(pickAxe1);
  1931. itemList.add(vampiricScepter1);
  1932. itemList.add(ravenousHydra);
  1933.  
  1934. break;
  1935.  
  1936. case "The Bloodthirster":
  1937. LolItemSetsItemSetItem bfSword = new LolItemSetsItemSetItem();
  1938. bfSword.count = new java.lang.Integer(1);
  1939. bfSword.id = "1038";
  1940.  
  1941. LolItemSetsItemSetItem longSword = new LolItemSetsItemSetItem();
  1942. longSword.count = new java.lang.Integer(1);
  1943. longSword.id = "1036";
  1944.  
  1945. LolItemSetsItemSetItem vampiricScepter2 = new LolItemSetsItemSetItem();
  1946. vampiricScepter2.count = new java.lang.Integer(1);
  1947. vampiricScepter2.id = "1053";
  1948.  
  1949. LolItemSetsItemSetItem bloodThirster = new LolItemSetsItemSetItem();
  1950. bloodThirster.count = new java.lang.Integer(1);
  1951. bloodThirster.id = "3072";
  1952.  
  1953. itemList.add(bfSword);
  1954. itemList.add(longSword);
  1955. itemList.add(vampiricScepter2);
  1956. itemList.add(bloodThirster);
  1957.  
  1958. break;
  1959.  
  1960. case "Spear of Shojin":
  1961. LolItemSetsItemSetItem bfSword1 = new LolItemSetsItemSetItem();
  1962. bfSword1.count = new java.lang.Integer(1);
  1963. bfSword1.id = "1038";
  1964.  
  1965. LolItemSetsItemSetItem kindlegem = new LolItemSetsItemSetItem();
  1966. kindlegem.count = new java.lang.Integer(1);
  1967. kindlegem.id = "3067";
  1968.  
  1969. LolItemSetsItemSetItem longSword2 = new LolItemSetsItemSetItem();
  1970. longSword2.count = new java.lang.Integer(1);
  1971. longSword2.id = "1036";
  1972.  
  1973. LolItemSetsItemSetItem spearOfShojin = new LolItemSetsItemSetItem();
  1974. spearOfShojin.count = new java.lang.Integer(1);
  1975. spearOfShojin.id = "3161";
  1976.  
  1977. itemList.add(bfSword1);
  1978. itemList.add(kindlegem);
  1979. itemList.add(longSword2);
  1980. itemList.add(spearOfShojin);
  1981.  
  1982. break;
  1983.  
  1984. case "Hextech Gunblade":
  1985. LolItemSetsItemSetItem bilgewater = new LolItemSetsItemSetItem();
  1986. bilgewater.count = new java.lang.Integer(1);
  1987. bilgewater.id = "3144";
  1988.  
  1989. LolItemSetsItemSetItem hextechRevolver = new LolItemSetsItemSetItem();
  1990. hextechRevolver.count = new java.lang.Integer(1);
  1991. hextechRevolver.id = "3145";
  1992.  
  1993. LolItemSetsItemSetItem hextechGunblade = new LolItemSetsItemSetItem();
  1994. hextechGunblade.count = new java.lang.Integer(1);
  1995. hextechGunblade.id = "3146";
  1996.  
  1997. itemList.add(bilgewater);
  1998. itemList.add(hextechRevolver);
  1999. itemList.add(hextechGunblade);
  2000.  
  2001. break;
  2002.  
  2003. case "Mercurial Scimitar":
  2004. LolItemSetsItemSetItem quicksilver = new LolItemSetsItemSetItem();
  2005. quicksilver.count = new java.lang.Integer(1);
  2006. quicksilver.id = "3140";
  2007.  
  2008. LolItemSetsItemSetItem pickAxe2 = new LolItemSetsItemSetItem();
  2009. pickAxe2.count = new java.lang.Integer(1);
  2010. pickAxe2.id = "1037";
  2011.  
  2012. LolItemSetsItemSetItem vampiricScepter3 = new LolItemSetsItemSetItem();
  2013. vampiricScepter3.count = new java.lang.Integer(1);
  2014. vampiricScepter3.id = "1053";
  2015.  
  2016. LolItemSetsItemSetItem mercurial = new LolItemSetsItemSetItem();
  2017. mercurial.count = new java.lang.Integer(1);
  2018. mercurial.id = "3139";
  2019.  
  2020. itemList.add(quicksilver);
  2021. itemList.add(pickAxe2);
  2022. itemList.add(vampiricScepter3);
  2023. itemList.add(mercurial);
  2024.  
  2025. break;
  2026. case "Infinity Edge":
  2027. LolItemSetsItemSetItem bfSword2 = new LolItemSetsItemSetItem();
  2028. bfSword2.count = new java.lang.Integer(1);
  2029. bfSword2.id = "1038";
  2030.  
  2031. LolItemSetsItemSetItem pickAxe3 = new LolItemSetsItemSetItem();
  2032. pickAxe3.count = new java.lang.Integer(1);
  2033. pickAxe3.id = "1037";
  2034.  
  2035. LolItemSetsItemSetItem cloakOfAgility = new LolItemSetsItemSetItem();
  2036. cloakOfAgility.count = new java.lang.Integer(1);
  2037. cloakOfAgility.id = "1018";
  2038.  
  2039. LolItemSetsItemSetItem infinityEdge = new LolItemSetsItemSetItem();
  2040. infinityEdge.count = new java.lang.Integer(1);
  2041. infinityEdge.id = "3031";
  2042.  
  2043. itemList.add(bfSword2);
  2044. itemList.add(pickAxe3);
  2045. itemList.add(cloakOfAgility);
  2046. itemList.add(infinityEdge);
  2047. break;
  2048. case "Essence Reaver":
  2049. LolItemSetsItemSetItem bfSword3 = new LolItemSetsItemSetItem();
  2050. bfSword3.count = new java.lang.Integer(1);
  2051. bfSword3.id = "1038";
  2052.  
  2053. LolItemSetsItemSetItem caulfieldsWarhammer1 = new LolItemSetsItemSetItem();
  2054. caulfieldsWarhammer1.count = new java.lang.Integer(1);
  2055. caulfieldsWarhammer1.id = "3133";
  2056.  
  2057. LolItemSetsItemSetItem cloakOfAgility1 = new LolItemSetsItemSetItem();
  2058. cloakOfAgility1.count = new java.lang.Integer(1);
  2059. cloakOfAgility1.id = "1018";
  2060.  
  2061. LolItemSetsItemSetItem essenceReaver = new LolItemSetsItemSetItem();
  2062. essenceReaver.count = new java.lang.Integer(1);
  2063. essenceReaver.id = "3508";
  2064.  
  2065. itemList.add(bfSword3);
  2066. itemList.add(caulfieldsWarhammer1);
  2067. itemList.add(cloakOfAgility1);
  2068. itemList.add(essenceReaver);
  2069. break;
  2070. case "Blade of the Ruined King":
  2071. LolItemSetsItemSetItem bilgewater1 = new LolItemSetsItemSetItem();
  2072. bilgewater1.count = new java.lang.Integer(1);
  2073. bilgewater1.id = "3144";
  2074.  
  2075. LolItemSetsItemSetItem recurveBow = new LolItemSetsItemSetItem();
  2076. recurveBow.count = new java.lang.Integer(1);
  2077. recurveBow.id = "1043";
  2078.  
  2079. LolItemSetsItemSetItem bladeOfRuinedKing = new LolItemSetsItemSetItem();
  2080. bladeOfRuinedKing.count = new java.lang.Integer(1);
  2081. bladeOfRuinedKing.id = "3153";
  2082.  
  2083. itemList.add(bilgewater1);
  2084. itemList.add(recurveBow);
  2085. itemList.add(bladeOfRuinedKing);
  2086. break;
  2087. case "Maw of Malmortius":
  2088. LolItemSetsItemSetItem hexDrinker = new LolItemSetsItemSetItem();
  2089. hexDrinker.count = new java.lang.Integer(1);
  2090. hexDrinker.id = "3155";
  2091.  
  2092. LolItemSetsItemSetItem caulfieldsWarhammer2 = new LolItemSetsItemSetItem();
  2093. caulfieldsWarhammer2.count = new java.lang.Integer(1);
  2094. caulfieldsWarhammer2.id = "3133";
  2095.  
  2096. LolItemSetsItemSetItem mawOfMalmortius = new LolItemSetsItemSetItem();
  2097. mawOfMalmortius.count = new java.lang.Integer(1);
  2098. mawOfMalmortius.id = "3156";
  2099.  
  2100. itemList.add(hexDrinker);
  2101. itemList.add(caulfieldsWarhammer2);
  2102. itemList.add(mawOfMalmortius);
  2103. break;
  2104. case "Luden's Echo":
  2105. LolItemSetsItemSetItem lostChapter = new LolItemSetsItemSetItem();
  2106. lostChapter.count = new java.lang.Integer(1);
  2107. lostChapter.id = "3802";
  2108.  
  2109. LolItemSetsItemSetItem blastingWand = new LolItemSetsItemSetItem();
  2110. blastingWand.count = new java.lang.Integer(1);
  2111. blastingWand.id = "1026";
  2112.  
  2113. LolItemSetsItemSetItem ludensEcho = new LolItemSetsItemSetItem();
  2114. ludensEcho.count = new java.lang.Integer(1);
  2115. ludensEcho.id = "3285";
  2116.  
  2117. itemList.add(lostChapter);
  2118. itemList.add(blastingWand);
  2119. itemList.add(ludensEcho);
  2120. break;
  2121. case "Lich Bane":
  2122. LolItemSetsItemSetItem sheen = new LolItemSetsItemSetItem();
  2123. sheen.count = new java.lang.Integer(1);
  2124. sheen.id = "3057";
  2125.  
  2126. LolItemSetsItemSetItem aetherWisp = new LolItemSetsItemSetItem();
  2127. aetherWisp.count = new java.lang.Integer(1);
  2128. aetherWisp.id = "3113";
  2129.  
  2130. LolItemSetsItemSetItem blastingWand1 = new LolItemSetsItemSetItem();
  2131. blastingWand1.count = new java.lang.Integer(1);
  2132. blastingWand1.id = "1026";
  2133.  
  2134. LolItemSetsItemSetItem lichBane = new LolItemSetsItemSetItem();
  2135. lichBane.count = new java.lang.Integer(1);
  2136. lichBane.id = "3100";
  2137.  
  2138. itemList.add(sheen);
  2139. itemList.add(aetherWisp);
  2140. itemList.add(blastingWand1);
  2141. itemList.add(lichBane);
  2142. break;
  2143. case "Sterak's Gage":
  2144. LolItemSetsItemSetItem jaurimsFist = new LolItemSetsItemSetItem();
  2145. jaurimsFist.count = new java.lang.Integer(1);
  2146. jaurimsFist.id = "3052";
  2147.  
  2148. LolItemSetsItemSetItem pickAxe4 = new LolItemSetsItemSetItem();
  2149. pickAxe4.count = new java.lang.Integer(1);
  2150. pickAxe4.id = "1037";
  2151.  
  2152. LolItemSetsItemSetItem rubyCrystal = new LolItemSetsItemSetItem();
  2153. rubyCrystal.count = new java.lang.Integer(1);
  2154. rubyCrystal.id = "1028";
  2155.  
  2156. LolItemSetsItemSetItem steraksGage = new LolItemSetsItemSetItem();
  2157. steraksGage.count = new java.lang.Integer(1);
  2158. steraksGage.id = "3053";
  2159.  
  2160. itemList.add(jaurimsFist);
  2161. itemList.add(pickAxe4);
  2162. itemList.add(rubyCrystal);
  2163. itemList.add(steraksGage);
  2164. break;
  2165. case "Archangel's Staff":
  2166. LolItemSetsItemSetItem tearOfTheGoddess = new LolItemSetsItemSetItem();
  2167. tearOfTheGoddess.count = new java.lang.Integer(1);
  2168. tearOfTheGoddess.id = "3070";
  2169.  
  2170. LolItemSetsItemSetItem lostChapter1 = new LolItemSetsItemSetItem();
  2171. lostChapter1.count = new java.lang.Integer(1);
  2172. lostChapter1.id = "3802";
  2173.  
  2174. LolItemSetsItemSetItem archangelStaff = new LolItemSetsItemSetItem();
  2175. archangelStaff.count = new java.lang.Integer(1);
  2176. archangelStaff.id = "3003";
  2177.  
  2178. itemList.add(tearOfTheGoddess);
  2179. itemList.add(lostChapter1);
  2180. itemList.add(archangelStaff);
  2181. break;
  2182. case "Liandry's Torment":
  2183. LolItemSetsItemSetItem hauntingGuise = new LolItemSetsItemSetItem();
  2184. hauntingGuise.count = new java.lang.Integer(1);
  2185. hauntingGuise.id = "3136";
  2186.  
  2187. LolItemSetsItemSetItem blastingWand2 = new LolItemSetsItemSetItem();
  2188. blastingWand2.count = new java.lang.Integer(1);
  2189. blastingWand2.id = "1026";
  2190.  
  2191. LolItemSetsItemSetItem liandrysTorment = new LolItemSetsItemSetItem();
  2192. liandrysTorment.count = new java.lang.Integer(1);
  2193. liandrysTorment.id = "3151";
  2194.  
  2195. itemList.add(hauntingGuise);
  2196. itemList.add(blastingWand2);
  2197. itemList.add(liandrysTorment);
  2198. break;
  2199. case "Guinsoo's Rageblade":
  2200. LolItemSetsItemSetItem amplyfingTome = new LolItemSetsItemSetItem();
  2201. amplyfingTome.count = new java.lang.Integer(1);
  2202. amplyfingTome.id = "1052";
  2203.  
  2204. LolItemSetsItemSetItem recurveBow1 = new LolItemSetsItemSetItem();
  2205. recurveBow1.count = new java.lang.Integer(1);
  2206. recurveBow1.id = "1043";
  2207.  
  2208. LolItemSetsItemSetItem pickAxe5 = new LolItemSetsItemSetItem();
  2209. pickAxe5.count = new java.lang.Integer(1);
  2210. pickAxe5.id = "1037";
  2211.  
  2212. LolItemSetsItemSetItem guinsoosRageblade = new LolItemSetsItemSetItem();
  2213. guinsoosRageblade.count = new java.lang.Integer(1);
  2214. guinsoosRageblade.id = "3124";
  2215.  
  2216. itemList.add(amplyfingTome);
  2217. itemList.add(recurveBow1);
  2218. itemList.add(pickAxe5);
  2219. itemList.add(guinsoosRageblade);
  2220. break;
  2221. case "Stormrazor":
  2222. LolItemSetsItemSetItem bfSword4 = new LolItemSetsItemSetItem();
  2223. bfSword4.count = new java.lang.Integer(1);
  2224. bfSword4.id = "1038";
  2225.  
  2226. LolItemSetsItemSetItem longSword3 = new LolItemSetsItemSetItem();
  2227. longSword3.count = new java.lang.Integer(1);
  2228. longSword3.id = "1036";
  2229.  
  2230. LolItemSetsItemSetItem kircheisShard = new LolItemSetsItemSetItem();
  2231. kircheisShard.count = new java.lang.Integer(1);
  2232. kircheisShard.id = "2015";
  2233.  
  2234. LolItemSetsItemSetItem stormRazor = new LolItemSetsItemSetItem();
  2235. stormRazor.count = new java.lang.Integer(1);
  2236. stormRazor.id = "3095";
  2237.  
  2238. itemList.add(bfSword4);
  2239. itemList.add(longSword3);
  2240. itemList.add(kircheisShard);
  2241. itemList.add(stormRazor);
  2242. break;
  2243. case "Frozen Mallet":
  2244. LolItemSetsItemSetItem jaurimsFist1 = new LolItemSetsItemSetItem();
  2245. jaurimsFist1.count = new java.lang.Integer(1);
  2246. jaurimsFist1.id = "3052";
  2247.  
  2248. LolItemSetsItemSetItem giantsBelt = new LolItemSetsItemSetItem();
  2249. giantsBelt.count = new java.lang.Integer(1);
  2250. giantsBelt.id = "1011";
  2251.  
  2252. LolItemSetsItemSetItem frozenMallet = new LolItemSetsItemSetItem();
  2253. frozenMallet.count = new java.lang.Integer(1);
  2254. frozenMallet.id = "3022";
  2255.  
  2256. itemList.add(jaurimsFist1);
  2257. itemList.add(giantsBelt);
  2258. itemList.add(frozenMallet);
  2259. break;
  2260. case "Edge of Night":
  2261. LolItemSetsItemSetItem pickAxe6 = new LolItemSetsItemSetItem();
  2262. pickAxe6.count = new java.lang.Integer(1);
  2263. pickAxe6.id = "1037";
  2264.  
  2265. LolItemSetsItemSetItem serratedDirk = new LolItemSetsItemSetItem();
  2266. serratedDirk.count = new java.lang.Integer(1);
  2267. serratedDirk.id = "3134";
  2268.  
  2269. LolItemSetsItemSetItem rubyCrystal1 = new LolItemSetsItemSetItem();
  2270. rubyCrystal1.count = new java.lang.Integer(1);
  2271. rubyCrystal1.id = "1028";
  2272.  
  2273. LolItemSetsItemSetItem edgeOfNight = new LolItemSetsItemSetItem();
  2274. edgeOfNight.count = new java.lang.Integer(1);
  2275. edgeOfNight.id = "3814";
  2276.  
  2277. itemList.add(pickAxe6);
  2278. itemList.add(serratedDirk);
  2279. itemList.add(rubyCrystal1);
  2280. itemList.add(edgeOfNight);
  2281. break;
  2282. case "Morellonomicon":
  2283. LolItemSetsItemSetItem oblivionOrb = new LolItemSetsItemSetItem();
  2284. oblivionOrb.count = new java.lang.Integer(1);
  2285. oblivionOrb.id = "3916";
  2286.  
  2287. LolItemSetsItemSetItem blastingWand3 = new LolItemSetsItemSetItem();
  2288. blastingWand3.count = new java.lang.Integer(1);
  2289. blastingWand3.id = "1026";
  2290.  
  2291. LolItemSetsItemSetItem morellonomicon = new LolItemSetsItemSetItem();
  2292. morellonomicon.count = new java.lang.Integer(1);
  2293. morellonomicon.id = "3165";
  2294.  
  2295. itemList.add(oblivionOrb);
  2296. itemList.add(blastingWand3);
  2297. itemList.add(morellonomicon);
  2298. break;
  2299. case "Nashor's Tooth":
  2300. LolItemSetsItemSetItem stinger = new LolItemSetsItemSetItem();
  2301. stinger.count = new java.lang.Integer(1);
  2302. stinger.id = "3101";
  2303.  
  2304. LolItemSetsItemSetItem fiendishCodex = new LolItemSetsItemSetItem();
  2305. fiendishCodex.count = new java.lang.Integer(1);
  2306. fiendishCodex.id = "3108";
  2307.  
  2308. LolItemSetsItemSetItem nashorsTooth = new LolItemSetsItemSetItem();
  2309. nashorsTooth.count = new java.lang.Integer(1);
  2310. nashorsTooth.id = "3115";
  2311.  
  2312. itemList.add(stinger);
  2313. itemList.add(fiendishCodex);
  2314. itemList.add(nashorsTooth);
  2315. break;
  2316. case "Banshee's Veil":
  2317. LolItemSetsItemSetItem fiendishCodex1 = new LolItemSetsItemSetItem();
  2318. fiendishCodex1.count = new java.lang.Integer(1);
  2319. fiendishCodex1.id = "3108";
  2320.  
  2321. LolItemSetsItemSetItem nullMagicMantle = new LolItemSetsItemSetItem();
  2322. nullMagicMantle.count = new java.lang.Integer(1);
  2323. nullMagicMantle.id = "1033";
  2324.  
  2325. LolItemSetsItemSetItem blastingWand4 = new LolItemSetsItemSetItem();
  2326. blastingWand4.count = new java.lang.Integer(1);
  2327. blastingWand4.id = "1026";
  2328.  
  2329. LolItemSetsItemSetItem bansheesVeil = new LolItemSetsItemSetItem();
  2330. bansheesVeil.count = new java.lang.Integer(1);
  2331. bansheesVeil.id = "3102";
  2332.  
  2333. itemList.add(fiendishCodex1);
  2334. itemList.add(nullMagicMantle);
  2335. itemList.add(blastingWand4);
  2336. itemList.add(bansheesVeil);
  2337. break;
  2338. case "The Black Cleaver":
  2339. LolItemSetsItemSetItem phage = new LolItemSetsItemSetItem();
  2340. phage.count = new java.lang.Integer(1);
  2341. phage.id = "3044";
  2342.  
  2343. LolItemSetsItemSetItem kindlegem1 = new LolItemSetsItemSetItem();
  2344. kindlegem1.count = new java.lang.Integer(1);
  2345. kindlegem1.id = "3067";
  2346.  
  2347. LolItemSetsItemSetItem blackCleaver = new LolItemSetsItemSetItem();
  2348. blackCleaver.count = new java.lang.Integer(1);
  2349. blackCleaver.id = "3071";
  2350.  
  2351. itemList.add(phage);
  2352. itemList.add(kindlegem1);
  2353. itemList.add(blackCleaver);
  2354. break;
  2355. case "Abyssal Mask":
  2356. LolItemSetsItemSetItem catalystOfAeons = new LolItemSetsItemSetItem();
  2357. catalystOfAeons.count = new java.lang.Integer(1);
  2358. catalystOfAeons.id = "3010";
  2359.  
  2360. LolItemSetsItemSetItem negatronCloak = new LolItemSetsItemSetItem();
  2361. negatronCloak.count = new java.lang.Integer(1);
  2362. negatronCloak.id = "1057";
  2363.  
  2364. LolItemSetsItemSetItem abyssalMask = new LolItemSetsItemSetItem();
  2365. abyssalMask.count = new java.lang.Integer(1);
  2366. abyssalMask.id = "3001";
  2367.  
  2368. itemList.add(catalystOfAeons);
  2369. itemList.add(negatronCloak);
  2370. itemList.add(abyssalMask);
  2371. break;
  2372. case "Spellbinder":
  2373. LolItemSetsItemSetItem largeRod1 = new LolItemSetsItemSetItem();
  2374. largeRod1.count = new java.lang.Integer(1);
  2375. largeRod1.id = "1058";
  2376.  
  2377. LolItemSetsItemSetItem aetherWisp1 = new LolItemSetsItemSetItem();
  2378. aetherWisp1.count = new java.lang.Integer(1);
  2379. aetherWisp1.id = "3113";
  2380.  
  2381. LolItemSetsItemSetItem spellbinder = new LolItemSetsItemSetItem();
  2382. spellbinder.count = new java.lang.Integer(1);
  2383. spellbinder.id = "3907";
  2384.  
  2385. itemList.add(largeRod1);
  2386. itemList.add(aetherWisp1);
  2387. itemList.add(spellbinder);
  2388. break;
  2389. case "Dead Man's Plate":
  2390. LolItemSetsItemSetItem chainVest = new LolItemSetsItemSetItem();
  2391. chainVest.count = new java.lang.Integer(1);
  2392. chainVest.id = "1031";
  2393.  
  2394. LolItemSetsItemSetItem giantsBelt1 = new LolItemSetsItemSetItem();
  2395. giantsBelt1.count = new java.lang.Integer(1);
  2396. giantsBelt1.id = "1011";
  2397.  
  2398. LolItemSetsItemSetItem deadMansPlate = new LolItemSetsItemSetItem();
  2399. deadMansPlate.count = new java.lang.Integer(1);
  2400. deadMansPlate.id = "3742";
  2401.  
  2402. itemList.add(chainVest);
  2403. itemList.add(giantsBelt1);
  2404. itemList.add(deadMansPlate);
  2405. break;
  2406. case "Zhonya's Hourglass":
  2407. LolItemSetsItemSetItem seekersArmguard = new LolItemSetsItemSetItem();
  2408. seekersArmguard.count = new java.lang.Integer(1);
  2409. seekersArmguard.id = "3191";
  2410.  
  2411. LolItemSetsItemSetItem fiendishCodex2 = new LolItemSetsItemSetItem();
  2412. fiendishCodex2.count = new java.lang.Integer(1);
  2413. fiendishCodex2.id = "3108";
  2414.  
  2415. LolItemSetsItemSetItem stopwatch = new LolItemSetsItemSetItem();
  2416. stopwatch.count = new java.lang.Integer(1);
  2417. stopwatch.id = "2420";
  2418.  
  2419. LolItemSetsItemSetItem zhonyasHourglass = new LolItemSetsItemSetItem();
  2420. zhonyasHourglass.count = new java.lang.Integer(1);
  2421. zhonyasHourglass.id = "3157";
  2422.  
  2423. itemList.add(seekersArmguard);
  2424. itemList.add(fiendishCodex2);
  2425. itemList.add(stopwatch);
  2426. itemList.add(zhonyasHourglass);
  2427. break;
  2428. case "Duskblade of Draktharr":
  2429. LolItemSetsItemSetItem serratedDirk1 = new LolItemSetsItemSetItem();
  2430. serratedDirk1.count = new java.lang.Integer(1);
  2431. serratedDirk1.id = "3134";
  2432.  
  2433. LolItemSetsItemSetItem caulfieldsWarhammer3 = new LolItemSetsItemSetItem();
  2434. caulfieldsWarhammer3.count = new java.lang.Integer(1);
  2435. caulfieldsWarhammer3.id = "3133";
  2436.  
  2437. LolItemSetsItemSetItem duskblade = new LolItemSetsItemSetItem();
  2438. duskblade.count = new java.lang.Integer(1);
  2439. duskblade.id = "3147";
  2440.  
  2441. itemList.add(serratedDirk1);
  2442. itemList.add(caulfieldsWarhammer3);
  2443. itemList.add(duskblade);
  2444. break;
  2445. case "Randuin's Omen":
  2446. LolItemSetsItemSetItem wardensMail = new LolItemSetsItemSetItem();
  2447. wardensMail.count = new java.lang.Integer(1);
  2448. wardensMail.id = "3082";
  2449.  
  2450. LolItemSetsItemSetItem giantsBelt2 = new LolItemSetsItemSetItem();
  2451. giantsBelt2.count = new java.lang.Integer(1);
  2452. giantsBelt2.id = "1011";
  2453.  
  2454. LolItemSetsItemSetItem randuinsOmen = new LolItemSetsItemSetItem();
  2455. randuinsOmen.count = new java.lang.Integer(1);
  2456. randuinsOmen.id = "3143";
  2457.  
  2458. itemList.add(wardensMail);
  2459. itemList.add(giantsBelt2);
  2460. itemList.add(randuinsOmen);
  2461. break;
  2462. case "Youmuu's Ghostblade":
  2463. LolItemSetsItemSetItem caulfieldsWarhammer4 = new LolItemSetsItemSetItem();
  2464. caulfieldsWarhammer4.count = new java.lang.Integer(1);
  2465. caulfieldsWarhammer4.id = "3133";
  2466.  
  2467. LolItemSetsItemSetItem serratedDirk2 = new LolItemSetsItemSetItem();
  2468. serratedDirk2.count = new java.lang.Integer(1);
  2469. serratedDirk2.id = "3134";
  2470.  
  2471. LolItemSetsItemSetItem youmuusGhostblade = new LolItemSetsItemSetItem();
  2472. youmuusGhostblade.count = new java.lang.Integer(1);
  2473. youmuusGhostblade.id = "3142";
  2474.  
  2475. itemList.add(caulfieldsWarhammer4);
  2476. itemList.add(serratedDirk2);
  2477. itemList.add(youmuusGhostblade);
  2478. break;
  2479. case "Wit's End":
  2480. LolItemSetsItemSetItem recurveBow2 = new LolItemSetsItemSetItem();
  2481. recurveBow2.count = new java.lang.Integer(1);
  2482. recurveBow2.id = "1043";
  2483.  
  2484. LolItemSetsItemSetItem negatronCloak1 = new LolItemSetsItemSetItem();
  2485. negatronCloak1.count = new java.lang.Integer(1);
  2486. negatronCloak1.id = "1057";
  2487.  
  2488. LolItemSetsItemSetItem dagger = new LolItemSetsItemSetItem();
  2489. dagger.count = new java.lang.Integer(1);
  2490. dagger.id = "1042";
  2491.  
  2492. LolItemSetsItemSetItem witsEnd = new LolItemSetsItemSetItem();
  2493. witsEnd.count = new java.lang.Integer(1);
  2494. witsEnd.id = "3091";
  2495.  
  2496. itemList.add(recurveBow2);
  2497. itemList.add(negatronCloak1);
  2498. itemList.add(dagger);
  2499. itemList.add(witsEnd);
  2500. break;
  2501. case "Thornmail":
  2502. LolItemSetsItemSetItem brambleVest = new LolItemSetsItemSetItem();
  2503. brambleVest.count = new java.lang.Integer(1);
  2504. brambleVest.id = "3076";
  2505.  
  2506. LolItemSetsItemSetItem rubyCrystal2 = new LolItemSetsItemSetItem();
  2507. rubyCrystal2.count = new java.lang.Integer(1);
  2508. rubyCrystal2.id = "1028";
  2509.  
  2510. LolItemSetsItemSetItem wardensMail1 = new LolItemSetsItemSetItem();
  2511. wardensMail1.count = new java.lang.Integer(1);
  2512. wardensMail1.id = "3082";
  2513.  
  2514. LolItemSetsItemSetItem thornmail = new LolItemSetsItemSetItem();
  2515. thornmail.count = new java.lang.Integer(1);
  2516. thornmail.id = "3075";
  2517.  
  2518. itemList.add(brambleVest);
  2519. itemList.add(rubyCrystal2);
  2520. itemList.add(wardensMail1);
  2521. itemList.add(thornmail);
  2522. break;
  2523. case "Warmog's Armor":
  2524. LolItemSetsItemSetItem giantsBelt3 = new LolItemSetsItemSetItem();
  2525. giantsBelt3.count = new java.lang.Integer(1);
  2526. giantsBelt3.id = "1011";
  2527.  
  2528. LolItemSetsItemSetItem kindlegem2 = new LolItemSetsItemSetItem();
  2529. kindlegem2.count = new java.lang.Integer(1);
  2530. kindlegem2.id = "3067";
  2531.  
  2532. LolItemSetsItemSetItem crystallineBracer = new LolItemSetsItemSetItem();
  2533. crystallineBracer.count = new java.lang.Integer(1);
  2534. crystallineBracer.id = "3801";
  2535.  
  2536. LolItemSetsItemSetItem warmogsArmor = new LolItemSetsItemSetItem();
  2537. warmogsArmor.count = new java.lang.Integer(1);
  2538. warmogsArmor.id = "3083";
  2539.  
  2540. itemList.add(giantsBelt3);
  2541. itemList.add(kindlegem2);
  2542. itemList.add(crystallineBracer);
  2543. itemList.add(warmogsArmor);
  2544. break;
  2545. case "Adaptive Helm":
  2546. LolItemSetsItemSetItem nullMagicMantle1 = new LolItemSetsItemSetItem();
  2547. nullMagicMantle1.count = new java.lang.Integer(1);
  2548. nullMagicMantle1.id = "1033";
  2549.  
  2550. LolItemSetsItemSetItem spectresCowl = new LolItemSetsItemSetItem();
  2551. spectresCowl.count = new java.lang.Integer(1);
  2552. spectresCowl.id = "3211";
  2553.  
  2554. LolItemSetsItemSetItem rejuvenationBead = new LolItemSetsItemSetItem();
  2555. rejuvenationBead.count = new java.lang.Integer(1);
  2556. rejuvenationBead.id = "1006";
  2557.  
  2558. LolItemSetsItemSetItem adaptiveHelm = new LolItemSetsItemSetItem();
  2559. adaptiveHelm.count = new java.lang.Integer(1);
  2560. adaptiveHelm.id = "3194";
  2561.  
  2562. itemList.add(nullMagicMantle1);
  2563. itemList.add(spectresCowl);
  2564. itemList.add(rejuvenationBead);
  2565. itemList.add(adaptiveHelm);
  2566. break;
  2567. case "Spirit Visage":
  2568. LolItemSetsItemSetItem spectresCowl1 = new LolItemSetsItemSetItem();
  2569. spectresCowl1.count = new java.lang.Integer(1);
  2570. spectresCowl1.id = "3211";
  2571.  
  2572. LolItemSetsItemSetItem kindlegem3 = new LolItemSetsItemSetItem();
  2573. kindlegem3.count = new java.lang.Integer(1);
  2574. kindlegem3.id = "3067";
  2575.  
  2576. LolItemSetsItemSetItem spiritVisage = new LolItemSetsItemSetItem();
  2577. spiritVisage.count = new java.lang.Integer(1);
  2578. spiritVisage.id = "3065";
  2579.  
  2580. itemList.add(spectresCowl1);
  2581. itemList.add(kindlegem3);
  2582. itemList.add(spiritVisage);
  2583. break;
  2584. case "Sunfire Cape":
  2585. LolItemSetsItemSetItem chainVest1 = new LolItemSetsItemSetItem();
  2586. chainVest1.count = new java.lang.Integer(1);
  2587. chainVest1.id = "1031";
  2588.  
  2589. LolItemSetsItemSetItem rubyCrystal3 = new LolItemSetsItemSetItem();
  2590. rubyCrystal3.count = new java.lang.Integer(1);
  2591. rubyCrystal3.id = "1028";
  2592.  
  2593. LolItemSetsItemSetItem bamisCinder = new LolItemSetsItemSetItem();
  2594. bamisCinder.count = new java.lang.Integer(1);
  2595. bamisCinder.id = "3751";
  2596.  
  2597. LolItemSetsItemSetItem sunfireCape = new LolItemSetsItemSetItem();
  2598. sunfireCape.count = new java.lang.Integer(1);
  2599. sunfireCape.id = "3068";
  2600.  
  2601. itemList.add(chainVest1);
  2602. itemList.add(rubyCrystal3);
  2603. itemList.add(bamisCinder);
  2604. itemList.add(sunfireCape);
  2605. break;
  2606. case "Frozen Heart":
  2607. LolItemSetsItemSetItem wardensMail2 = new LolItemSetsItemSetItem();
  2608. wardensMail2.count = new java.lang.Integer(1);
  2609. wardensMail2.id = "3082";
  2610.  
  2611. LolItemSetsItemSetItem glacialShroud = new LolItemSetsItemSetItem();
  2612. glacialShroud.count = new java.lang.Integer(1);
  2613. glacialShroud.id = "3024";
  2614.  
  2615. LolItemSetsItemSetItem frozenHeart = new LolItemSetsItemSetItem();
  2616. frozenHeart.count = new java.lang.Integer(1);
  2617. frozenHeart.id = "3110";
  2618.  
  2619. itemList.add(wardensMail2);
  2620. itemList.add(glacialShroud);
  2621. itemList.add(frozenHeart);
  2622. break;
  2623. case "Iceborn Gauntlet":
  2624. LolItemSetsItemSetItem sheen1 = new LolItemSetsItemSetItem();
  2625. sheen1.count = new java.lang.Integer(1);
  2626. sheen1.id = "3057";
  2627.  
  2628. LolItemSetsItemSetItem glacialShroud1 = new LolItemSetsItemSetItem();
  2629. glacialShroud1.count = new java.lang.Integer(1);
  2630. glacialShroud1.id = "3024";
  2631.  
  2632. LolItemSetsItemSetItem icebornGauntlet = new LolItemSetsItemSetItem();
  2633. icebornGauntlet.count = new java.lang.Integer(1);
  2634. icebornGauntlet.id = "3025";
  2635.  
  2636. itemList.add(sheen1);
  2637. itemList.add(glacialShroud1);
  2638. itemList.add(icebornGauntlet);
  2639. break;
  2640. case "Righteous Glory":
  2641. LolItemSetsItemSetItem glacialShroud2 = new LolItemSetsItemSetItem();
  2642. glacialShroud2.count = new java.lang.Integer(1);
  2643. glacialShroud2.id = "3024";
  2644.  
  2645. LolItemSetsItemSetItem crystallineBracer1 = new LolItemSetsItemSetItem();
  2646. crystallineBracer1.count = new java.lang.Integer(1);
  2647. crystallineBracer1.id = "3801";
  2648.  
  2649. LolItemSetsItemSetItem righetousGlory = new LolItemSetsItemSetItem();
  2650. righetousGlory.count = new java.lang.Integer(1);
  2651. righetousGlory.id = "3800";
  2652.  
  2653. itemList.add(glacialShroud2);
  2654. itemList.add(crystallineBracer1);
  2655. itemList.add(righetousGlory);
  2656. break;
  2657. case "Void Staff":
  2658. LolItemSetsItemSetItem blastingWand5 = new LolItemSetsItemSetItem();
  2659. blastingWand5.count = new java.lang.Integer(1);
  2660. blastingWand5.id = "1026";
  2661.  
  2662. LolItemSetsItemSetItem amplifyingTome2 = new LolItemSetsItemSetItem();
  2663. amplifyingTome2.count = new java.lang.Integer(1);
  2664. amplifyingTome2.id = "1052";
  2665.  
  2666. LolItemSetsItemSetItem voidStaff = new LolItemSetsItemSetItem();
  2667. voidStaff.count = new java.lang.Integer(1);
  2668. voidStaff.id = "3135";
  2669.  
  2670. itemList.add(blastingWand5);
  2671. itemList.add(amplifyingTome2);
  2672. itemList.add(voidStaff);
  2673. break;
  2674. case "Rylai's Crystal Scepter":
  2675. LolItemSetsItemSetItem blastingWand6 = new LolItemSetsItemSetItem();
  2676. blastingWand6.count = new java.lang.Integer(1);
  2677. blastingWand6.id = "1026";
  2678.  
  2679. LolItemSetsItemSetItem amplifyingTome3 = new LolItemSetsItemSetItem();
  2680. amplifyingTome3.count = new java.lang.Integer(1);
  2681. amplifyingTome3.id = "1052";
  2682.  
  2683. LolItemSetsItemSetItem rubyCrystal4 = new LolItemSetsItemSetItem();
  2684. rubyCrystal4.count = new java.lang.Integer(1);
  2685. rubyCrystal4.id = "1028";
  2686.  
  2687. LolItemSetsItemSetItem rylaisCrystalScepter = new LolItemSetsItemSetItem();
  2688. rylaisCrystalScepter.count = new java.lang.Integer(1);
  2689. rylaisCrystalScepter.id = "3116";
  2690.  
  2691. itemList.add(blastingWand6);
  2692. itemList.add(amplifyingTome3);
  2693. itemList.add(rubyCrystal4);
  2694. itemList.add(rylaisCrystalScepter);
  2695. break;
  2696. case "Rapid Firecannon":
  2697. LolItemSetsItemSetItem zeal = new LolItemSetsItemSetItem();
  2698. zeal.count = new java.lang.Integer(1);
  2699. zeal.id = "3086";
  2700.  
  2701. LolItemSetsItemSetItem kircheisShard1 = new LolItemSetsItemSetItem();
  2702. kircheisShard1.count = new java.lang.Integer(1);
  2703. kircheisShard1.id = "2015";
  2704.  
  2705. LolItemSetsItemSetItem rapidFirecannon = new LolItemSetsItemSetItem();
  2706. rapidFirecannon.count = new java.lang.Integer(1);
  2707. rapidFirecannon.id = "3094";
  2708.  
  2709. itemList.add(zeal);
  2710. itemList.add(kircheisShard1);
  2711. itemList.add(rapidFirecannon);
  2712. break;
  2713. case "Statikk Shiv":
  2714. LolItemSetsItemSetItem zeal1 = new LolItemSetsItemSetItem();
  2715. zeal1.count = new java.lang.Integer(1);
  2716. zeal1.id = "3086";
  2717.  
  2718. LolItemSetsItemSetItem kircheisShard2 = new LolItemSetsItemSetItem();
  2719. kircheisShard2.count = new java.lang.Integer(1);
  2720. kircheisShard2.id = "2015";
  2721.  
  2722. LolItemSetsItemSetItem statikkShiv = new LolItemSetsItemSetItem();
  2723. statikkShiv.count = new java.lang.Integer(1);
  2724. statikkShiv.id = "3087";
  2725.  
  2726. itemList.add(zeal1);
  2727. itemList.add(kircheisShard2);
  2728. itemList.add(statikkShiv);
  2729. break;
  2730. case "Runaan's Hurricane":
  2731. LolItemSetsItemSetItem dagger1 = new LolItemSetsItemSetItem();
  2732. dagger1.count = new java.lang.Integer(2);
  2733. dagger1.id = "1042";
  2734.  
  2735. LolItemSetsItemSetItem zeal2 = new LolItemSetsItemSetItem();
  2736. zeal2.count = new java.lang.Integer(1);
  2737. zeal2.id = "3086";
  2738.  
  2739. LolItemSetsItemSetItem runaansHurricane = new LolItemSetsItemSetItem();
  2740. runaansHurricane.count = new java.lang.Integer(1);
  2741. runaansHurricane.id = "3085";
  2742.  
  2743. itemList.add(dagger1);
  2744. itemList.add(zeal2);
  2745. itemList.add(runaansHurricane);
  2746. break;
  2747. case "Phantom Dancer":
  2748. LolItemSetsItemSetItem dagger2 = new LolItemSetsItemSetItem();
  2749. dagger2.count = new java.lang.Integer(1);
  2750. dagger2.id = "1042";
  2751.  
  2752. LolItemSetsItemSetItem zeal3 = new LolItemSetsItemSetItem();
  2753. zeal3.count = new java.lang.Integer(1);
  2754. zeal3.id = "3086";
  2755.  
  2756. LolItemSetsItemSetItem brawlersGloves = new LolItemSetsItemSetItem();
  2757. brawlersGloves.count = new java.lang.Integer(1);
  2758. brawlersGloves.id = "1051";
  2759.  
  2760. LolItemSetsItemSetItem phantomDancer = new LolItemSetsItemSetItem();
  2761. phantomDancer.count = new java.lang.Integer(1);
  2762. phantomDancer.id = "3046";
  2763.  
  2764. itemList.add(dagger2);
  2765. itemList.add(zeal3);
  2766. itemList.add(brawlersGloves);
  2767. itemList.add(phantomDancer);
  2768. break;
  2769. case "Rod of Ages":
  2770. LolItemSetsItemSetItem catalystOfAeons1 = new LolItemSetsItemSetItem();
  2771. catalystOfAeons1.count = new java.lang.Integer(1);
  2772. catalystOfAeons1.id = "3010";
  2773.  
  2774. LolItemSetsItemSetItem blastingWand7 = new LolItemSetsItemSetItem();
  2775. blastingWand7.count = new java.lang.Integer(1);
  2776. blastingWand7.id = "1026";
  2777.  
  2778. LolItemSetsItemSetItem rodOfAges = new LolItemSetsItemSetItem();
  2779. rodOfAges.count = new java.lang.Integer(1);
  2780. rodOfAges.id = "3027";
  2781.  
  2782. itemList.add(catalystOfAeons1);
  2783. itemList.add(blastingWand7);
  2784. itemList.add(rodOfAges);
  2785. break;
  2786. case "Gargoyle Stoneplate":
  2787. LolItemSetsItemSetItem chainVest2 = new LolItemSetsItemSetItem();
  2788. chainVest2.count = new java.lang.Integer(1);
  2789. chainVest2.id = "1031";
  2790.  
  2791. LolItemSetsItemSetItem negatronCloak2 = new LolItemSetsItemSetItem();
  2792. negatronCloak2.count = new java.lang.Integer(1);
  2793. negatronCloak2.id = "1057";
  2794.  
  2795. LolItemSetsItemSetItem stopWatch1 = new LolItemSetsItemSetItem();
  2796. stopWatch1.count = new java.lang.Integer(1);
  2797. stopWatch1.id = "2420";
  2798.  
  2799. LolItemSetsItemSetItem gargoyleStoneplate = new LolItemSetsItemSetItem();
  2800. gargoyleStoneplate.count = new java.lang.Integer(1);
  2801. gargoyleStoneplate.id = "3193";
  2802.  
  2803. itemList.add(chainVest2);
  2804. itemList.add(negatronCloak2);
  2805. itemList.add(stopWatch1);
  2806. itemList.add(gargoyleStoneplate);
  2807. break;
  2808. case "Hextech Protobelt-01":
  2809. LolItemSetsItemSetItem hextechRevolver1 = new LolItemSetsItemSetItem();
  2810. hextechRevolver1.count = new java.lang.Integer(1);
  2811. hextechRevolver1.id = "3145";
  2812.  
  2813. LolItemSetsItemSetItem kindlegem4 = new LolItemSetsItemSetItem();
  2814. kindlegem4.count = new java.lang.Integer(1);
  2815. kindlegem4.id = "3067";
  2816.  
  2817. LolItemSetsItemSetItem hextechProtobelt = new LolItemSetsItemSetItem();
  2818. hextechProtobelt.count = new java.lang.Integer(1);
  2819. hextechProtobelt.id = "3152";
  2820.  
  2821. itemList.add(hextechRevolver1);
  2822. itemList.add(kindlegem4);
  2823. itemList.add(hextechProtobelt);
  2824. break;
  2825. case "Ardent Censer":
  2826. LolItemSetsItemSetItem forbiddenIdol = new LolItemSetsItemSetItem();
  2827. forbiddenIdol.count = new java.lang.Integer(1);
  2828. forbiddenIdol.id = "3114";
  2829.  
  2830. LolItemSetsItemSetItem aetherWisp2 = new LolItemSetsItemSetItem();
  2831. aetherWisp2.count = new java.lang.Integer(1);
  2832. aetherWisp2.id = "3113";
  2833.  
  2834. LolItemSetsItemSetItem ardentCenser = new LolItemSetsItemSetItem();
  2835. ardentCenser.count = new java.lang.Integer(1);
  2836. ardentCenser.id = "3504";
  2837.  
  2838. itemList.add(forbiddenIdol);
  2839. itemList.add(aetherWisp2);
  2840. itemList.add(ardentCenser);
  2841. break;
  2842. case "Zeke's Convergence":
  2843. LolItemSetsItemSetItem aegisOfTheLegion = new LolItemSetsItemSetItem();
  2844. aegisOfTheLegion.count = new java.lang.Integer(1);
  2845. aegisOfTheLegion.id = "3105";
  2846.  
  2847. LolItemSetsItemSetItem glacialShroud3 = new LolItemSetsItemSetItem();
  2848. glacialShroud3.count = new java.lang.Integer(1);
  2849. glacialShroud3.id = "3024";
  2850.  
  2851. LolItemSetsItemSetItem zekesConvergence = new LolItemSetsItemSetItem();
  2852. zekesConvergence.count = new java.lang.Integer(1);
  2853. zekesConvergence.id = "3050";
  2854.  
  2855. itemList.add(aegisOfTheLegion);
  2856. itemList.add(glacialShroud3);
  2857. itemList.add(zekesConvergence);
  2858. break;
  2859. case "Locket of the Iron Solari":
  2860. LolItemSetsItemSetItem aegisOfTheLegion1 = new LolItemSetsItemSetItem();
  2861. aegisOfTheLegion1.count = new java.lang.Integer(1);
  2862. aegisOfTheLegion1.id = "3105";
  2863.  
  2864. LolItemSetsItemSetItem nullMagicMantle2 = new LolItemSetsItemSetItem();
  2865. nullMagicMantle2.count = new java.lang.Integer(1);
  2866. nullMagicMantle2.id = "1033";
  2867.  
  2868. LolItemSetsItemSetItem locketOfTheIronSolari = new LolItemSetsItemSetItem();
  2869. locketOfTheIronSolari.count = new java.lang.Integer(1);
  2870. locketOfTheIronSolari.id = "3190";
  2871.  
  2872. itemList.add(aegisOfTheLegion1);
  2873. itemList.add(nullMagicMantle2);
  2874. itemList.add(locketOfTheIronSolari);
  2875. break;
  2876. case "Knight's Vow":
  2877. LolItemSetsItemSetItem kindlegem5 = new LolItemSetsItemSetItem();
  2878. kindlegem5.count = new java.lang.Integer(1);
  2879. kindlegem5.id = "3067";
  2880.  
  2881. LolItemSetsItemSetItem chainVest3 = new LolItemSetsItemSetItem();
  2882. chainVest3.count = new java.lang.Integer(1);
  2883. chainVest3.id = "1031";
  2884.  
  2885. LolItemSetsItemSetItem knightsVow = new LolItemSetsItemSetItem();
  2886. knightsVow.count = new java.lang.Integer(1);
  2887. knightsVow.id = "3109";
  2888.  
  2889. itemList.add(kindlegem5);
  2890. itemList.add(chainVest3);
  2891. itemList.add(knightsVow);
  2892. break;
  2893. case "Athene's Unholy Grail":
  2894. LolItemSetsItemSetItem fiendishCodex3 = new LolItemSetsItemSetItem();
  2895. fiendishCodex3.count = new java.lang.Integer(1);
  2896. fiendishCodex3.id = "3108";
  2897.  
  2898. LolItemSetsItemSetItem chaliceOfHarmony = new LolItemSetsItemSetItem();
  2899. chaliceOfHarmony.count = new java.lang.Integer(1);
  2900. chaliceOfHarmony.id = "3028";
  2901.  
  2902. LolItemSetsItemSetItem athenesUnholyGrail = new LolItemSetsItemSetItem();
  2903. athenesUnholyGrail.count = new java.lang.Integer(1);
  2904. athenesUnholyGrail.id = "3174";
  2905.  
  2906. itemList.add(fiendishCodex3);
  2907. itemList.add(chaliceOfHarmony);
  2908. itemList.add(athenesUnholyGrail);
  2909. break;
  2910. case "Mercury's Treads":
  2911. LolItemSetsItemSetItem bootsOfSpeed = new LolItemSetsItemSetItem();
  2912. bootsOfSpeed.count = new java.lang.Integer(1);
  2913. bootsOfSpeed.id = "1001";
  2914.  
  2915. LolItemSetsItemSetItem nullMagicMantle3 = new LolItemSetsItemSetItem();
  2916. nullMagicMantle3.count = new java.lang.Integer(1);
  2917. nullMagicMantle3.id = "1033";
  2918.  
  2919. LolItemSetsItemSetItem mercurysTreads = new LolItemSetsItemSetItem();
  2920. mercurysTreads.count = new java.lang.Integer(1);
  2921. mercurysTreads.id = "3111";
  2922.  
  2923. itemList.add(bootsOfSpeed);
  2924. itemList.add(nullMagicMantle3);
  2925. itemList.add(mercurysTreads);
  2926. break;
  2927. case "Ninja Tabi":
  2928. LolItemSetsItemSetItem bootsOfSpeed1 = new LolItemSetsItemSetItem();
  2929. bootsOfSpeed1.count = new java.lang.Integer(1);
  2930. bootsOfSpeed1.id = "1001";
  2931.  
  2932. LolItemSetsItemSetItem clothArmor = new LolItemSetsItemSetItem();
  2933. clothArmor.count = new java.lang.Integer(1);
  2934. clothArmor.id = "1029";
  2935.  
  2936. LolItemSetsItemSetItem ninjaTabi = new LolItemSetsItemSetItem();
  2937. ninjaTabi.count = new java.lang.Integer(1);
  2938. ninjaTabi.id = "3047";
  2939.  
  2940. itemList.add(bootsOfSpeed1);
  2941. itemList.add(clothArmor);
  2942. itemList.add(ninjaTabi);
  2943. break;
  2944. case "Sorcerer's Shoes":
  2945. LolItemSetsItemSetItem bootsOfSpeed2 = new LolItemSetsItemSetItem();
  2946. bootsOfSpeed2.count = new java.lang.Integer(1);
  2947. bootsOfSpeed2.id = "1001";
  2948.  
  2949. LolItemSetsItemSetItem sorcerersShoes = new LolItemSetsItemSetItem();
  2950. sorcerersShoes.count = new java.lang.Integer(1);
  2951. sorcerersShoes.id = "3020";
  2952.  
  2953. itemList.add(bootsOfSpeed2);
  2954. itemList.add(sorcerersShoes);
  2955. break;
  2956. case "Berserker's Greaves":
  2957. LolItemSetsItemSetItem bootsOfSpeed3 = new LolItemSetsItemSetItem();
  2958. bootsOfSpeed3.count = new java.lang.Integer(1);
  2959. bootsOfSpeed3.id = "1001";
  2960.  
  2961. LolItemSetsItemSetItem dagger3 = new LolItemSetsItemSetItem();
  2962. dagger3.count = new java.lang.Integer(1);
  2963. dagger3.id = "1042";
  2964.  
  2965. LolItemSetsItemSetItem berserkersGreaves = new LolItemSetsItemSetItem();
  2966. berserkersGreaves.count = new java.lang.Integer(1);
  2967. berserkersGreaves.id = "3006";
  2968.  
  2969. itemList.add(bootsOfSpeed3);
  2970. itemList.add(dagger3);
  2971. itemList.add(berserkersGreaves);
  2972. break;
  2973. case "Ionian Boots of Lucidity":
  2974. LolItemSetsItemSetItem bootsOfSpeed4 = new LolItemSetsItemSetItem();
  2975. bootsOfSpeed4.count = new java.lang.Integer(1);
  2976. bootsOfSpeed4.id = "1001";
  2977.  
  2978. LolItemSetsItemSetItem ionianBootsOfLucidity = new LolItemSetsItemSetItem();
  2979. ionianBootsOfLucidity.count = new java.lang.Integer(1);
  2980. ionianBootsOfLucidity.id = "3158";
  2981.  
  2982. itemList.add(bootsOfSpeed4);
  2983. itemList.add(ionianBootsOfLucidity);
  2984. break;
  2985. case "Boots of Mobility":
  2986. LolItemSetsItemSetItem bootsOfSpeed5 = new LolItemSetsItemSetItem();
  2987. bootsOfSpeed5.count = new java.lang.Integer(1);
  2988. bootsOfSpeed5.id = "1001";
  2989.  
  2990. LolItemSetsItemSetItem bootsOfMobility = new LolItemSetsItemSetItem();
  2991. bootsOfMobility.count = new java.lang.Integer(1);
  2992. bootsOfMobility.id = "3117";
  2993.  
  2994. itemList.add(bootsOfSpeed5);
  2995. itemList.add(bootsOfMobility);
  2996. break;
  2997. case "Boots of Swiftness":
  2998. LolItemSetsItemSetItem bootsOfSpeed6 = new LolItemSetsItemSetItem();
  2999. bootsOfSpeed6.count = new java.lang.Integer(1);
  3000. bootsOfSpeed6.id = "1001";
  3001.  
  3002. LolItemSetsItemSetItem bootsOfSwiftness = new LolItemSetsItemSetItem();
  3003. bootsOfSwiftness.count = new java.lang.Integer(1);
  3004. bootsOfSwiftness.id = "3009";
  3005.  
  3006. itemList.add(bootsOfSpeed6);
  3007. itemList.add(bootsOfSwiftness);
  3008. break;
  3009. case "Trinity Force":
  3010. LolItemSetsItemSetItem stinger1 = new LolItemSetsItemSetItem();
  3011. stinger1.count = new java.lang.Integer(1);
  3012. stinger1.id = "3101";
  3013.  
  3014. LolItemSetsItemSetItem sheen2 = new LolItemSetsItemSetItem();
  3015. sheen2.count = new java.lang.Integer(1);
  3016. sheen2.id = "3057";
  3017.  
  3018. LolItemSetsItemSetItem phage1 = new LolItemSetsItemSetItem();
  3019. phage1.count = new java.lang.Integer(1);
  3020. phage1.id = "3044";
  3021.  
  3022. LolItemSetsItemSetItem trinityForce = new LolItemSetsItemSetItem();
  3023. trinityForce.count = new java.lang.Integer(1);
  3024. trinityForce.id = "3078";
  3025.  
  3026. itemList.add(stinger1);
  3027. itemList.add(sheen2);
  3028. itemList.add(phage1);
  3029. itemList.add(trinityForce);
  3030. break;
  3031. case "Meja's Soulstealer":
  3032. LolItemSetsItemSetItem darkSeal = new LolItemSetsItemSetItem();
  3033. darkSeal.count = new java.lang.Integer(1);
  3034. darkSeal.id = "1082";
  3035.  
  3036. LolItemSetsItemSetItem mejasSoulstealer = new LolItemSetsItemSetItem();
  3037. mejasSoulstealer.count = new java.lang.Integer(1);
  3038. mejasSoulstealer.id = "3041";
  3039.  
  3040. itemList.add(darkSeal);
  3041. itemList.add(mejasSoulstealer);
  3042. break;
  3043. case "Mortal Reminder":
  3044. LolItemSetsItemSetItem lastWhisper = new LolItemSetsItemSetItem();
  3045. lastWhisper.count = new java.lang.Integer(1);
  3046. lastWhisper.id = "3035";
  3047.  
  3048. LolItemSetsItemSetItem executionersCalling = new LolItemSetsItemSetItem();
  3049. executionersCalling.count = new java.lang.Integer(1);
  3050. executionersCalling.id = "3123";
  3051.  
  3052. LolItemSetsItemSetItem mortalReminder = new LolItemSetsItemSetItem();
  3053. mortalReminder.count = new java.lang.Integer(1);
  3054. mortalReminder.id = "3033";
  3055. break;
  3056. }
  3057.  
  3058. newItemSetBlock.items = itemList;
  3059. return newItemSetBlock;
  3060. }
  3061. }
  3062. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement