lol-constants 0.10.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. package/{dist/Constants → assets}/StatRunes.d.ts +0 -0
  2. package/{dist/Constants → assets}/StatRunes.js +0 -0
  3. package/assets/champion.json +1 -0
  4. package/assets/index.d.ts +17216 -0
  5. package/assets/index.js +17 -0
  6. package/assets/item.json +1 -0
  7. package/assets/runesReforged.json +1 -0
  8. package/assets/scripts/Helpers/getExportStatement.d.ts +6 -0
  9. package/assets/scripts/Helpers/getExportStatement.js +10 -0
  10. package/assets/scripts/generate-all.d.ts +16 -0
  11. package/assets/scripts/generate-all.js +18 -0
  12. package/assets/scripts/generate-champion-ids-by-name.d.ts +1 -0
  13. package/assets/scripts/generate-champion-ids-by-name.js +20 -0
  14. package/assets/scripts/generate-champion-ids.d.ts +1 -0
  15. package/assets/scripts/generate-champion-ids.js +20 -0
  16. package/assets/scripts/generate-champion-keys.d.ts +1 -0
  17. package/assets/scripts/generate-champion-keys.js +20 -0
  18. package/assets/scripts/generate-champion-names.d.ts +1 -0
  19. package/assets/scripts/generate-champion-names.js +20 -0
  20. package/assets/scripts/generate-item-keys.d.ts +1 -0
  21. package/assets/scripts/generate-item-keys.js +21 -0
  22. package/assets/scripts/generate-item-names.d.ts +1 -0
  23. package/assets/scripts/generate-item-names.js +21 -0
  24. package/assets/scripts/generate-rune-ids.d.ts +1 -0
  25. package/assets/scripts/generate-rune-ids.js +29 -0
  26. package/assets/scripts/generate-rune-names.d.ts +1 -0
  27. package/assets/scripts/generate-rune-names.js +29 -0
  28. package/assets/scripts/generate-spell-ids-by-name.d.ts +1 -0
  29. package/assets/scripts/generate-spell-ids-by-name.js +20 -0
  30. package/assets/scripts/generate-spell-ids.d.ts +1 -0
  31. package/assets/scripts/generate-spell-ids.js +20 -0
  32. package/assets/scripts/generate-spell-keys.d.ts +1 -0
  33. package/assets/scripts/generate-spell-keys.js +20 -0
  34. package/assets/scripts/generate-spell-names.d.ts +1 -0
  35. package/assets/scripts/generate-spell-names.js +20 -0
  36. package/assets/scripts/generate-stat-rune-ids.d.ts +1 -0
  37. package/assets/scripts/generate-stat-rune-ids.js +20 -0
  38. package/assets/scripts/generate-stat-rune-names.d.ts +1 -0
  39. package/assets/scripts/generate-stat-rune-names.js +20 -0
  40. package/assets/scripts/generate-tree-rune-ids.d.ts +1 -0
  41. package/assets/scripts/generate-tree-rune-ids.js +22 -0
  42. package/assets/scripts/generate-tree-rune-names.d.ts +1 -0
  43. package/assets/scripts/generate-tree-rune-names.js +22 -0
  44. package/assets/summoner.json +1 -0
  45. package/dist/Constants/ChampionIds.d.ts +162 -0
  46. package/dist/Constants/ChampionIds.js +4 -0
  47. package/dist/Constants/ChampionIdsByName.d.ts +162 -0
  48. package/dist/Constants/ChampionIdsByName.js +4 -0
  49. package/dist/Constants/ChampionKeys.d.ts +162 -2
  50. package/dist/Constants/ChampionKeys.js +1 -5
  51. package/dist/Constants/ChampionNames.d.ts +162 -2
  52. package/dist/Constants/ChampionNames.js +1 -5
  53. package/dist/Constants/DDPaths.d.ts +27 -5
  54. package/dist/Constants/DDPaths.js +29 -7
  55. package/dist/Constants/ItemKeys.d.ts +250 -2
  56. package/dist/Constants/ItemKeys.js +1 -5
  57. package/dist/Constants/ItemNames.d.ts +256 -2
  58. package/dist/Constants/ItemNames.js +1 -5
  59. package/dist/Constants/RuneIds.d.ts +74 -2
  60. package/dist/Constants/RuneIds.js +1 -9
  61. package/dist/Constants/RuneNames.d.ts +74 -2
  62. package/dist/Constants/RuneNames.js +1 -5
  63. package/dist/Constants/RuneSets.d.ts +59 -0
  64. package/dist/Constants/RuneSets.js +188 -144
  65. package/dist/Constants/SpellIds.d.ts +18 -0
  66. package/dist/Constants/SpellIds.js +4 -0
  67. package/dist/Constants/SpellIdsByName.d.ts +17 -0
  68. package/dist/Constants/SpellIdsByName.js +4 -0
  69. package/dist/Constants/SpellKeys.d.ts +18 -0
  70. package/dist/Constants/SpellKeys.js +4 -0
  71. package/dist/Constants/SpellNames.d.ts +18 -0
  72. package/dist/Constants/SpellNames.js +4 -0
  73. package/dist/Constants/StatRuneIds.d.ts +11 -2
  74. package/dist/Constants/StatRuneIds.js +1 -2
  75. package/dist/Constants/StatRuneNames.d.ts +11 -2
  76. package/dist/Constants/StatRuneNames.js +1 -2
  77. package/dist/Constants/TreeRuneIds.d.ts +65 -2
  78. package/dist/Constants/TreeRuneIds.js +1 -5
  79. package/dist/Constants/TreeRuneNames.d.ts +65 -2
  80. package/dist/Constants/TreeRuneNames.js +1 -5
  81. package/dist/Helpers/getChampionIdByKey.d.ts +2 -0
  82. package/dist/Helpers/getChampionIdByKey.js +8 -0
  83. package/dist/Helpers/getChampionIdByName.d.ts +2 -0
  84. package/dist/Helpers/getChampionIdByName.js +8 -0
  85. package/dist/Helpers/getChampionKeyById.d.ts +2 -0
  86. package/dist/Helpers/getChampionKeyById.js +8 -0
  87. package/dist/Helpers/getChampionKeyByName.js +3 -5
  88. package/dist/Helpers/getChampionNameById.d.ts +2 -0
  89. package/dist/Helpers/getChampionNameById.js +9 -0
  90. package/dist/Helpers/getChampionNameByKey.js +2 -5
  91. package/dist/Helpers/getItemKeyByName.js +2 -5
  92. package/dist/Helpers/getItemNameByKey.js +2 -5
  93. package/dist/Helpers/getRuneIdByName.js +2 -15
  94. package/dist/Helpers/getRuneNameById.js +2 -9
  95. package/dist/Helpers/getSpellIdByKey.d.ts +2 -0
  96. package/dist/Helpers/getSpellIdByKey.js +8 -0
  97. package/dist/Helpers/getSpellIdByName.d.ts +2 -0
  98. package/dist/Helpers/getSpellIdByName.js +8 -0
  99. package/dist/Helpers/getSpellKeyById.d.ts +2 -0
  100. package/dist/Helpers/getSpellKeyById.js +8 -0
  101. package/dist/Helpers/getSpellKeyByName.d.ts +2 -0
  102. package/dist/Helpers/getSpellKeyByName.js +9 -0
  103. package/dist/Helpers/getSpellNameById.d.ts +2 -0
  104. package/dist/Helpers/getSpellNameById.js +9 -0
  105. package/dist/Helpers/getSpellNameByKey.d.ts +2 -0
  106. package/dist/Helpers/getSpellNameByKey.js +8 -0
  107. package/dist/Helpers/getStatRuneIdByName.d.ts +2 -0
  108. package/dist/Helpers/getStatRuneIdByName.js +8 -0
  109. package/dist/Helpers/getStatRuneNameById.d.ts +2 -0
  110. package/dist/Helpers/getStatRuneNameById.js +8 -0
  111. package/dist/Helpers/getTreeRuneIdByName.d.ts +2 -0
  112. package/dist/Helpers/getTreeRuneIdByName.js +8 -0
  113. package/dist/Helpers/getTreeRuneNameById.d.ts +2 -0
  114. package/dist/Helpers/getTreeRuneNameById.js +8 -0
  115. package/dist/Helpers/isChampionId.d.ts +2 -0
  116. package/dist/Helpers/isChampionId.js +8 -0
  117. package/dist/Helpers/isChampionKey.d.ts +1 -1
  118. package/dist/Helpers/isChampionKey.js +2 -4
  119. package/dist/Helpers/isChampionName.d.ts +1 -1
  120. package/dist/Helpers/isChampionName.js +2 -4
  121. package/dist/Helpers/isItemKey.d.ts +1 -1
  122. package/dist/Helpers/isItemKey.js +2 -4
  123. package/dist/Helpers/isItemName.d.ts +1 -1
  124. package/dist/Helpers/isItemName.js +2 -4
  125. package/dist/Helpers/isRuneId.d.ts +1 -1
  126. package/dist/Helpers/isRuneId.js +2 -4
  127. package/dist/Helpers/isRuneName.d.ts +1 -1
  128. package/dist/Helpers/isRuneName.js +2 -4
  129. package/dist/Helpers/isSpellId.d.ts +2 -0
  130. package/dist/Helpers/isSpellId.js +8 -0
  131. package/dist/Helpers/isSpellKey.d.ts +2 -0
  132. package/dist/Helpers/isSpellKey.js +8 -0
  133. package/dist/Helpers/isSpellName.d.ts +2 -0
  134. package/dist/Helpers/isSpellName.js +8 -0
  135. package/dist/Helpers/isStatRuneId.d.ts +1 -1
  136. package/dist/Helpers/isStatRuneId.js +2 -4
  137. package/dist/Helpers/isStatRuneName.d.ts +1 -1
  138. package/dist/Helpers/isStatRuneName.js +2 -4
  139. package/dist/Helpers/isTreeRuneId.d.ts +1 -1
  140. package/dist/Helpers/isTreeRuneId.js +2 -4
  141. package/dist/Helpers/isTreeRuneName.d.ts +1 -1
  142. package/dist/Helpers/isTreeRuneName.js +2 -4
  143. package/dist/assets/StatRunes.d.ts +11 -0
  144. package/dist/assets/StatRunes.js +14 -0
  145. package/dist/assets/champion.json +1 -1
  146. package/dist/assets/index.d.ts +17216 -0
  147. package/dist/assets/index.js +17 -0
  148. package/dist/assets/item.json +1 -1
  149. package/dist/assets/runesReforged.json +1 -1
  150. package/dist/assets/summoner.json +1 -1
  151. package/dist/index.d.ts +25 -43394
  152. package/dist/index.js +80 -46
  153. package/dist/scripts/Helpers/getExportStatement.d.ts +6 -0
  154. package/dist/scripts/Helpers/getExportStatement.js +10 -0
  155. package/dist/scripts/generate-all.d.ts +16 -1
  156. package/dist/scripts/generate-all.js +16 -17
  157. package/dist/scripts/generate-champion-ids-by-name.d.ts +1 -0
  158. package/dist/{Helpers/generateChampionsByKey.js → scripts/generate-champion-ids-by-name.js} +9 -11
  159. package/dist/scripts/generate-champion-ids.d.ts +1 -0
  160. package/dist/{Helpers/generateChampionsByName.js → scripts/generate-champion-ids.js} +9 -11
  161. package/dist/scripts/generate-champion-keys.d.ts +1 -0
  162. package/dist/scripts/generate-champion-keys.js +20 -0
  163. package/dist/scripts/generate-champion-names.d.ts +1 -0
  164. package/dist/scripts/generate-champion-names.js +20 -0
  165. package/dist/scripts/generate-item-keys.d.ts +1 -0
  166. package/dist/scripts/generate-item-keys.js +21 -0
  167. package/dist/scripts/generate-item-names.d.ts +1 -0
  168. package/dist/scripts/generate-item-names.js +21 -0
  169. package/dist/scripts/generate-rune-ids.d.ts +1 -0
  170. package/dist/scripts/generate-rune-ids.js +29 -0
  171. package/dist/scripts/generate-rune-names.d.ts +1 -0
  172. package/dist/scripts/generate-rune-names.js +29 -0
  173. package/dist/scripts/generate-spell-ids-by-name.d.ts +1 -0
  174. package/dist/scripts/generate-spell-ids-by-name.js +20 -0
  175. package/dist/scripts/generate-spell-ids.d.ts +1 -0
  176. package/dist/scripts/generate-spell-ids.js +20 -0
  177. package/dist/scripts/generate-spell-keys.d.ts +1 -0
  178. package/dist/scripts/generate-spell-keys.js +20 -0
  179. package/dist/scripts/generate-spell-names.d.ts +1 -0
  180. package/dist/scripts/generate-spell-names.js +20 -0
  181. package/dist/scripts/generate-stat-rune-ids.d.ts +1 -0
  182. package/dist/scripts/generate-stat-rune-ids.js +20 -0
  183. package/dist/scripts/generate-stat-rune-names.d.ts +1 -0
  184. package/dist/scripts/generate-stat-rune-names.js +20 -0
  185. package/dist/scripts/generate-tree-rune-ids.d.ts +1 -0
  186. package/dist/{Helpers/generateRunesById.js → scripts/generate-tree-rune-ids.js} +9 -7
  187. package/dist/scripts/generate-tree-rune-names.d.ts +1 -0
  188. package/dist/{Helpers/generateRunesByName.js → scripts/generate-tree-rune-names.js} +9 -7
  189. package/dist/types/Meta.d.ts +25 -0
  190. package/dist/types/index.d.ts +154 -23
  191. package/package.json +4 -3
  192. package/dist/Constants/SummonerIds.d.ts +0 -2
  193. package/dist/Constants/SummonerIds.js +0 -8
  194. package/dist/Constants/SummonerKeys.d.ts +0 -2
  195. package/dist/Constants/SummonerKeys.js +0 -8
  196. package/dist/Constants/SummonerNames.d.ts +0 -2
  197. package/dist/Constants/SummonerNames.js +0 -8
  198. package/dist/Constants/SummonerSpellIds.d.ts +0 -2
  199. package/dist/Constants/SummonerSpellIds.js +0 -8
  200. package/dist/Constants/SummonerSpellKeys.d.ts +0 -2
  201. package/dist/Constants/SummonerSpellKeys.js +0 -8
  202. package/dist/Constants/SummonerSpellNames.d.ts +0 -2
  203. package/dist/Constants/SummonerSpellNames.js +0 -8
  204. package/dist/Helpers/generateChampionsByKey.d.ts +0 -1
  205. package/dist/Helpers/generateChampionsByName.d.ts +0 -1
  206. package/dist/Helpers/generateItemsByName.d.ts +0 -1
  207. package/dist/Helpers/generateItemsByName.js +0 -25
  208. package/dist/Helpers/generateRunesById.d.ts +0 -1
  209. package/dist/Helpers/generateRunesByName.d.ts +0 -1
  210. package/dist/Helpers/generateSummonerSpellsByKey.d.ts +0 -1
  211. package/dist/Helpers/generateSummonerSpellsByKey.js +0 -24
  212. package/dist/Helpers/generateSummonerSpellsByName.d.ts +0 -1
  213. package/dist/Helpers/generateSummonerSpellsByName.js +0 -24
  214. package/dist/Helpers/generateSummonersByKey.d.ts +0 -1
  215. package/dist/Helpers/generateSummonersByKey.js +0 -24
  216. package/dist/Helpers/generateSummonersByName.d.ts +0 -1
  217. package/dist/Helpers/generateSummonersByName.js +0 -24
  218. package/dist/Helpers/getSummonerSpellKeyByName.d.ts +0 -2
  219. package/dist/Helpers/getSummonerSpellKeyByName.js +0 -11
  220. package/dist/Helpers/getSummonerSpellNameByKey.d.ts +0 -2
  221. package/dist/Helpers/getSummonerSpellNameByKey.js +0 -11
  222. package/dist/Helpers/isSummonerId.d.ts +0 -2
  223. package/dist/Helpers/isSummonerId.js +0 -10
  224. package/dist/Helpers/isSummonerKey.d.ts +0 -2
  225. package/dist/Helpers/isSummonerKey.js +0 -10
  226. package/dist/Helpers/isSummonerName.d.ts +0 -2
  227. package/dist/Helpers/isSummonerName.js +0 -10
  228. package/dist/Helpers/isSummonerSpellId.d.ts +0 -2
  229. package/dist/Helpers/isSummonerSpellId.js +0 -10
  230. package/dist/Helpers/isSummonerSpellKey.d.ts +0 -2
  231. package/dist/Helpers/isSummonerSpellKey.js +0 -10
  232. package/dist/Helpers/isSummonerSpellName.d.ts +0 -2
  233. package/dist/Helpers/isSummonerSpellName.js +0 -10
  234. package/dist/generated/championByKey.json +0 -1
  235. package/dist/generated/championByName.json +0 -1
  236. package/dist/generated/itemByKey.json +0 -1
  237. package/dist/generated/itemByName.json +0 -1
  238. package/dist/generated/runesById.json +0 -1
  239. package/dist/generated/runesByName.json +0 -1
  240. package/dist/generated/summonerByKey.json +0 -1
  241. package/dist/generated/summonerByName.json +0 -1
@@ -0,0 +1 @@
1
+ [{ "id": 8100, "key": "Domination", "icon": "perk-images/Styles/7200_Domination.png", "name": "Domination", "slots": [{ "runes": [{ "id": 8112, "key": "Electrocute", "icon": "perk-images/Styles/Domination/Electrocute/Electrocute.png", "name": "Electrocute", "shortDesc": "Hitting a champion with 3 <b>separate</b> attacks or abilities in 3s deals bonus <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_AdaptiveDmg'>adaptive damage</lol-uikit-tooltipped-keyword>.", "longDesc": "Hitting a champion with 3 <b>separate</b> attacks or abilities within 3s deals bonus <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_AdaptiveDmg'><font color='#48C4B7'>adaptive damage</font></lol-uikit-tooltipped-keyword>.<br><br>Damage: 30 - 180 (+0.4 bonus AD, +0.25 AP) damage.<br><br>Cooldown: 25 - 20s<br><br><hr><i>'We called them the Thunderlords, for to speak of their lightning was to invite disaster.'</i>" }, { "id": 8124, "key": "Predator", "icon": "perk-images/Styles/Domination/Predator/Predator.png", "name": "Predator", "shortDesc": "Add an active effect to your boots that grants a large boost of <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_MS'>MS</lol-uikit-tooltipped-keyword> and causes your next attack or ability to deal bonus <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_AdaptiveDmg'>adaptive damage</lol-uikit-tooltipped-keyword>.", "longDesc": "Enchants your boots with the active effect '<font color='#c60300'>Predator</font>.'<br><br>Gain increased Move Speed, ramping up to 25-50% Move Speed over 1 second, while chasing enemy champions. After ramping up, damaging attacks or abilities to champions end this effect, dealing 20-180 (+<scaleAD>0.25</scaleAD> bonus AD)(+<scaleAP>0.15</scaleAP> AP) bonus <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_AdaptiveDmg'><font color='#48C4B7'>adaptive damage</font></lol-uikit-tooltipped-keyword>.<br><br>Cooldown: 120s-60s." }, { "id": 8128, "key": "DarkHarvest", "icon": "perk-images/Styles/Domination/DarkHarvest/DarkHarvest.png", "name": "Dark Harvest", "shortDesc": "Damaging a low health champion inflicts <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_AdaptiveDmg'>adaptive damage</lol-uikit-tooltipped-keyword> and harvests a soul from the victim.", "longDesc": "Damaging a Champion below 50% health deals <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_AdaptiveDmg'>adaptive damage</lol-uikit-tooltipped-keyword> and harvests their soul, permanently increasing Dark Harvest's damage by 5.<br><br>Dark Harvest damage: 20-60 (based on level) (+5 damage per soul) (+0.25 bonus AD) (+0.15 AP)<br>Cooldown: 45s (resets to 1.5s on takedown)" }, { "id": 9923, "key": "HailOfBlades", "icon": "perk-images/Styles/Domination/HailOfBlades/HailOfBlades.png", "name": "Hail of Blades", "shortDesc": "Gain a large amount of Attack Speed for the first 3 attacks made against enemy champions.", "longDesc": "Gain 110% Attack Speed when you attack an enemy champion for up to 3 attacks.<br><br>No more than 3s can elapse between attacks or this effect will end.<br><br>Cooldown: 12s.<br><br><rules>Attack resets increase the attack limit by 1.<br>Allows you to temporarily exceed the attack speed limit.</rules>" }] }, { "runes": [{ "id": 8126, "key": "CheapShot", "icon": "perk-images/Styles/Domination/CheapShot/CheapShot.png", "name": "Cheap Shot", "shortDesc": "Deal bonus true damage to enemy champions with <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_ImpairAct'>impaired movement or actions</lol-uikit-tooltipped-keyword>. ", "longDesc": "Damaging champions with <b>impaired movement or actions</b> deals 10 - 45 bonus true damage (based on level).<br><br>Cooldown: 4s<br><rules>Activates on damage occurring after the impairment.</rules>" }, { "id": 8139, "key": "TasteOfBlood", "icon": "perk-images/Styles/Domination/TasteOfBlood/GreenTerror_TasteOfBlood.png", "name": "Taste of Blood", "shortDesc": "Heal when you damage an enemy champion.", "longDesc": "Heal when you damage an enemy champion.<br><br>Healing: 16-30 (+0.15 bonus AD, +0.08 AP) health (based on level)<br><br>Cooldown: 20s" }, { "id": 8143, "key": "SuddenImpact", "icon": "perk-images/Styles/Domination/SuddenImpact/SuddenImpact.png", "name": "Sudden Impact", "shortDesc": "Gain a burst of Lethality and Magic Penetration after using a dash, leap, blink, teleport, or when leaving stealth.", "longDesc": "After exiting stealth or using a dash, leap, blink, or teleport, dealing any damage to a champion grants you 7 Lethality and 6 Magic Penetration for 5s.<br><br>Cooldown: 4s" }] }, { "runes": [{ "id": 8136, "key": "ZombieWard", "icon": "perk-images/Styles/Domination/ZombieWard/ZombieWard.png", "name": "Zombie Ward", "shortDesc": "<lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Takedown'>Takedowns</lol-uikit-tooltipped-keyword> on enemy Wards cause friendly Zombie Wards to sprout from their corpses. Gain permanent AD or AP, <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'>adaptive</lol-uikit-tooltipped-keyword> for each Zombie Ward spawned plus bonus upon completion.", "longDesc": "<lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Takedown'>Takedowns</lol-uikit-tooltipped-keyword> on enemy Wards cause friendly Zombie Wards to sprout from their corpses.<br><br>Gain an <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'><font color='#48C4B7'>adaptive</font></lol-uikit-tooltipped-keyword> bonus of 1.2 Attack Damage or 2 Ability Power for every Zombie Ward spawned, up to 10. <br><br>After spawning 10 Zombie Wards, additionally gain 10 adaptive force.<br><br>Zombie Wards are visible, last for 120s and do not count towards your ward limit." }, { "id": 8120, "key": "GhostPoro", "icon": "perk-images/Styles/Domination/GhostPoro/GhostPoro.png", "name": "Ghost Poro", "shortDesc": "When your wards expire, they leave behind a Ghost Poro. The Ghost Poro grants vision until discovered. Gain permanent AD or AP, <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'>adaptive</lol-uikit-tooltipped-keyword> for each Ghost Poro and when your Ghost Poro spots an enemy champion, plus bonus upon completion.", "longDesc": "When your wards expire, they leave behind a Ghost Poro, which grants vision for 90s. Nearby enemy champions scare the Ghost Poro away.<br><br>Gain an <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'><font color='#48C4B7'>adaptive</font></lol-uikit-tooltipped-keyword> bonus of 1.2 Attack Damage or 2 Ability Power for every Ghost Poro spawned and when your Ghost Poro spots an enemy champion up to 10 stacks. <br><br>After gaining 10 stacks, additionally gain 10 adaptive force." }, { "id": 8138, "key": "EyeballCollection", "icon": "perk-images/Styles/Domination/EyeballCollection/EyeballCollection.png", "name": "Eyeball Collection", "shortDesc": "Collect eyeballs for champion <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Takedown'>takedowns</lol-uikit-tooltipped-keyword>. Gain permanent AD or AP, <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'>adaptive</lol-uikit-tooltipped-keyword> for each eyeball plus bonus upon collection completion.", "longDesc": "Collect eyeballs for champion takedowns. Gain an <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'><font color='#48C4B7'>adaptive</font></lol-uikit-tooltipped-keyword> bonus of 1.2 Attack Damage or 2 Ability Power, per eyeball collected. <br><br>Upon completing your collection at 10 eyeballs, additionally gain an <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'><font color='#48C4B7'>adaptive</font></lol-uikit-tooltipped-keyword> bonus of 6 Attack Damage, or 10 Ability Power.<br><br>Collect 1 eyeball per champion takedown." }] }, { "runes": [{ "id": 8135, "key": "TreasureHunter", "icon": "perk-images/Styles/Domination/TreasureHunter/TreasureHunter.png", "name": "Treasure Hunter", "shortDesc": "<b>Unique</b> <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Takedown'>takedowns</lol-uikit-tooltipped-keyword> grant additional gold the first time they are collected. ", "longDesc": "Gain an additional <gold>70 gold</gold> the next time you collect a <i>Bounty Hunter</i> stack. Increase the gold gained by <gold>20 gold</gold> for each <i>Bounty Hunter</i> stack, up to <gold>150 gold</gold>.<br><br><i>Bounty Hunter</i> stacks are earned the first time you get a takedown on each enemy champion." }, { "id": 8134, "key": "IngeniousHunter", "icon": "perk-images/Styles/Domination/IngeniousHunter/IngeniousHunter.png", "name": "Ingenious Hunter", "shortDesc": "<b>Unique</b> <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Takedown'>takedowns</lol-uikit-tooltipped-keyword> grant permanent Item <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_CDR'>Haste</lol-uikit-tooltipped-keyword> (includes Trinkets).", "longDesc": "Gain <attention>20</attention> <b>Item Haste</b> plus an additional <attention>6</attention> <b>Item Haste</b> per <i>Bounty Hunter</i> stack (includes Trinkets).<br><br><i>Bounty Hunter</i> stacks are earned the first time you get a takedown on each enemy champion.<br><br><rules>Item Haste affects all items with cooldowns. </rules>" }, { "id": 8105, "key": "RelentlessHunter", "icon": "perk-images/Styles/Domination/RelentlessHunter/RelentlessHunter.png", "name": "Relentless Hunter", "shortDesc": "<b>Unique</b> <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Takedown'>takedowns</lol-uikit-tooltipped-keyword> grant permanent <b>out of combat <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_MS'>MS</lol-uikit-tooltipped-keyword></b>. ", "longDesc": "Gain <speed>5 Move Speed</speed> out of combat plus <speed>8</speed> per <i>Bounty Hunter</i> stack.<br><br><i>Bounty Hunter</i> stacks are earned the first time you get a takedown on each enemy champion." }, { "id": 8106, "key": "UltimateHunter", "icon": "perk-images/Styles/Domination/UltimateHunter/UltimateHunter.png", "name": "Ultimate Hunter", "shortDesc": "<b>Unique</b> <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Takedown'>takedowns</lol-uikit-tooltipped-keyword> grant permanent cooldown reduction on your Ultimate. ", "longDesc": "Your ultimate gains <attention>6</attention> Ability Haste, plus an additional <attention>5</attention> Ability Haste per <i>Bounty Hunter</i> stack.<br><br><i>Bounty Hunter</i> stacks are earned the first time you get a takedown on each enemy champion." }] }] }, { "id": 8300, "key": "Inspiration", "icon": "perk-images/Styles/7203_Whimsy.png", "name": "Inspiration", "slots": [{ "runes": [{ "id": 8351, "key": "GlacialAugment", "icon": "perk-images/Styles/Inspiration/GlacialAugment/GlacialAugment.png", "name": "Glacial Augment", "shortDesc": "Immobilizing an enemy champion will cause 3 glacial rays that slow nearby enemies and reduce their damage to your allies.", "longDesc": "Immobilizing an enemy champion will cause 3 glacial rays to emanate from them towards you and other nearby champions, creating frozen zones for 3 (+ 100% of the immobilizing effect's duration) seconds that slow enemies for 30% (+9% per 10% Heal and Shield Power) (+3% per 100 Ability Power) (+4% per 100 bonus Attack Damage) and reduce their damage by 15% against your allies (not including yourself). <br><br>Cooldown: 25s" }, { "id": 8360, "key": "UnsealedSpellbook", "icon": "perk-images/Styles/Inspiration/UnsealedSpellbook/UnsealedSpellbook.png", "name": "Unsealed Spellbook", "shortDesc": "Swap Summoner Spells while out of combat. Swapping to unique Summoner Spells will increase the rate at which you can make future swaps.", "longDesc": "Swap one of your equipped Summoner Spells to a new, single use Summoner Spell. Each unique Summoner Spell you swap to permanently decreases your swap cooldown by 25s (initial swap cooldown is at 5 mins). <br><br>Your first swap becomes available at 6 mins. <br><rules><br>Summoner Spells can only be swapped while out of combat. <br>After using a swapped Summoner Spell you must swap 3 more times before the first can be selected again.<br>Smite damage increases after two Summoner Spell swaps. </rules>" }, { "id": 8369, "key": "FirstStrike", "icon": "perk-images/Styles/Inspiration/FirstStrike/FirstStrike.png", "name": "First Strike", "shortDesc": "When you initiate champion combat, deal 10% extra damage for 3 seconds and gain gold based on damage dealt.", "longDesc": "Attacks or abilities against an enemy champion within 0.25s of entering champion combat grants 5 gold and <b>First Strike</b> for 3 seconds, causing you to deal <truedamage>10%</truedamage> extra <truedamage> damage</truedamage> against champions, and granting <gold>100% (70% for ranged champions)</gold> of bonus damage dealt as <gold>gold</gold>.<br><br>Cooldown: <scaleLevel>25 - 15</scaleLevel>s" }] }, { "runes": [{ "id": 8306, "key": "HextechFlashtraption", "icon": "perk-images/Styles/Inspiration/HextechFlashtraption/HextechFlashtraption.png", "name": "Hextech Flashtraption", "shortDesc": "While Flash is on cooldown it is replaced by <i>Hexflash</i>.<br><br><i>Hexflash</i>: Channel, then blink to a new location.", "longDesc": "While Flash is on cooldown it is replaced by <i>Hexflash</i>.<br><br><i>Hexflash</i>: Channel for 2s to blink to a new location.<br><br>Cooldown: 20s. Goes on a 10s cooldown when you enter champion combat." }, { "id": 8304, "key": "MagicalFootwear", "icon": "perk-images/Styles/Inspiration/MagicalFootwear/MagicalFootwear.png", "name": "Magical Footwear", "shortDesc": "You get free boots at 12 min but you cannot buy boots before then. Each <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Takedown'>takedown</lol-uikit-tooltipped-keyword> you get makes your boots come 45s sooner.", "longDesc": "You get free Slightly Magical Footwear at 12 min, but you cannot buy boots before then. For each takedown you acquire the boots 45s sooner.<br><br>Slightly Magical Footwear grants you an additional <speed>10 Move Speed</speed>." }, { "id": 8313, "key": "PerfectTiming", "icon": "perk-images/Styles/Inspiration/PerfectTiming/PerfectTiming.png", "name": "Perfect Timing", "shortDesc": "Gain a free Commencing Stopwatch. After 14 minutes, it can be used for a one time <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Stasis'>Stasis</lol-uikit-tooltipped-keyword> effect. <br><br>Each <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Takedown'>takedown</lol-uikit-tooltipped-keyword> you get shortens this timer by 120 seconds.", "longDesc": "Begin the game with a Commencing Stopwatch that transforms into a Stopwatch after 14 minutes. Each takedown you acquire reduces this timer by 120 seconds.<br><br>Stopwatch can be used for a one time 2.5 second Stasis effect." }] }, { "runes": [{ "id": 8321, "key": "FuturesMarket", "icon": "perk-images/Styles/Inspiration/FuturesMarket/FuturesMarket.png", "name": "Future's Market", "shortDesc": "You can enter debt to buy items.", "longDesc": "You can enter debt to buy items. The amount you can borrow increases over time.<br><br>Lending Fee: 50 gold" }, { "id": 8316, "key": "MinionDematerializer", "icon": "perk-images/Styles/Inspiration/MinionDematerializer/MinionDematerializer.png", "name": "Minion Dematerializer", "shortDesc": "Start the game with 3 Minion Dematerializers. Killing minions with the item gives permanent bonus damage vs. that minion type.", "longDesc": "Start the game with 3 Minion Dematerializers that kill and absorb lane minions instantly. Minion Dematerializers are on cooldown for the first 180s of the game.<br><br>Absorbing a minion increases your damage by +6% against that type of minion permanently, and an extra +3% for each additional minion of that type absorbed.<br>" }, { "id": 8345, "key": "BiscuitDelivery", "icon": "perk-images/Styles/Inspiration/BiscuitDelivery/BiscuitDelivery.png", "name": "Biscuit Delivery", "shortDesc": "Gain a free Biscuit every 2 min, until 6 min. Consuming or selling a Biscuit permanently increases your max mana and restores health and mana.", "longDesc": "Biscuit Delivery: Gain a Total Biscuit of Everlasting Will every 2 mins, until 6 min.<br><br>Biscuits restore 10% of your missing health and mana. Consuming or selling a Biscuit permanently increases your mana cap by 50. <br><br><i>Manaless:</i> Champions without mana restore 12% missing health instead." }] }, { "runes": [{ "id": 8347, "key": "CosmicInsight", "icon": "perk-images/Styles/Inspiration/CosmicInsight/CosmicInsight.png", "name": "Cosmic Insight", "shortDesc": "+<attention>18</attention> Summoner Spell Haste<br>+<attention>10</attention> Item Haste", "longDesc": "+<attention>18</attention> Summoner Spell Haste<br>+<attention>10</attention> Item Haste" }, { "id": 8410, "key": "ApproachVelocity", "icon": "perk-images/Styles/Resolve/ApproachVelocity/ApproachVelocity.png", "name": "Approach Velocity", "shortDesc": "Bonus <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_MS'>MS</lol-uikit-tooltipped-keyword> towards nearby enemy champions that are <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_ImpairMov'>movement impaired</lol-uikit-tooltipped-keyword>, increased for enemy champions that you impair.", "longDesc": "Gain <speed>7.5% Move Speed</speed> towards nearby enemy champions that are movement impaired. This bonus is increased to <speed>15% Move Speed</speed> for any enemy champion that you impair. <br><br>Activation Range for CC from allies: 1000" }, { "id": 8352, "key": "TimeWarpTonic", "icon": "perk-images/Styles/Inspiration/TimeWarpTonic/TimeWarpTonic.png", "name": "Time Warp Tonic", "shortDesc": "Potions and biscuits grant some restoration immediately. Gain <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_MS'>MS</lol-uikit-tooltipped-keyword> while under their effects.", "longDesc": "Consuming a potion or biscuit grants 30% of its health or mana restoration immediately. In addition, gain <speed>4% Move Speed</speed> while under their effects.<br><br>" }] }] }, { "id": 8000, "key": "Precision", "icon": "perk-images/Styles/7201_Precision.png", "name": "Precision", "slots": [{ "runes": [{ "id": 8005, "key": "PressTheAttack", "icon": "perk-images/Styles/Precision/PressTheAttack/PressTheAttack.png", "name": "Press the Attack", "shortDesc": "Hitting an enemy champion 3 consecutive times makes them vulnerable, dealing bonus damage and causing them to take more damage from all sources for 6s.", "longDesc": "Hitting an enemy champion with 3 consecutive basic attacks deals 40 - 180 bonus <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_AdaptiveDmg'><font color='#48C4B7'>adaptive damage</font></lol-uikit-tooltipped-keyword> (based on level) and makes them vulnerable, increasing the damage they take by 8 - 12% from all sources for 6s." }, { "id": 8008, "key": "LethalTempo", "icon": "perk-images/Styles/Precision/LethalTempo/LethalTempoTemp.png", "name": "Lethal Tempo", "shortDesc": "Gain Attack Speed when attacking an enemy champion, stacking up to 6 times. At max stacks, gain Attack Range and remove your Attack Speed limit.", "longDesc": "Gain [60% - 90%] (Melee) or [30% - 54%] (Ranged) Attack Speed for 6 seconds when you attack an enemy champion. This effect stacks up to 6 times.<br><br>While this effect fully stacked, your Attack Speed can exceed 2.5 and you gain 50 (Melee) or 75 (Ranged) Attack Range." }, { "id": 8021, "key": "FleetFootwork", "icon": "perk-images/Styles/Precision/FleetFootwork/FleetFootwork.png", "name": "Fleet Footwork", "shortDesc": "Attacking and moving builds Energy stacks. At 100 stacks, your next attack heals you and grants increased <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_MS'>MS</lol-uikit-tooltipped-keyword>.", "longDesc": "Attacking and moving builds Energy stacks. At 100 stacks, your next attack is Energized<br><br>Energized attacks heal you for 10 - 100 (+0.3 Bonus AD, +0.2 AP) and grant <speed>20% Move Speed</speed> for 1s.<br><br>Healing from minions is 10% effective for Ranged Champions, and 20% effective for Melee Champions." }, { "id": 8010, "key": "Conqueror", "icon": "perk-images/Styles/Precision/Conqueror/Conqueror.png", "name": "Conqueror", "shortDesc": "Gain stacks of adaptive force when attacking enemy champions. After reaching 12 stacks, heal for a portion of damage you deal to champions.", "longDesc": "Basic attacks or spells that deal damage to an enemy champion grant 2 stacks of Conqueror for 5s, gaining 2-4.5 <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'><font color='#48C4B7'>Adaptive Force</font></lol-uikit-tooltipped-keyword> per stack. Stacks up to 12 times. Ranged champions gain only 1 stack per basic attack.<br><br>When fully stacked, heal for 8% of the damage you deal to champions (5% for ranged champions)." }] }, { "runes": [{ "id": 9101, "key": "Overheal", "icon": "perk-images/Styles/Precision/Overheal.png", "name": "Overheal", "shortDesc": "Excess healing on you becomes a shield.", "longDesc": "Excess healing on you becomes a shield, for up to 10 <scaleHealth>(+9% Max Health)</scaleHealth>.<br><br>Shield is built up from 20 to 100% of excess healing from yourself or any ally." }, { "id": 9111, "key": "Triumph", "icon": "perk-images/Styles/Precision/Triumph.png", "name": "Triumph", "shortDesc": "<lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Takedown'>Takedowns</lol-uikit-tooltipped-keyword> restore 10% of your missing health and grant an additional 20 gold. ", "longDesc": "Takedowns restore 10% of your missing health and grant an additional 20 gold. <br><br><hr><br><i>'The most dangerous game brings the greatest glory.' <br>—Noxian Reckoner</i>" }, { "id": 8009, "key": "PresenceOfMind", "icon": "perk-images/Styles/Precision/PresenceOfMind/PresenceOfMind.png", "name": "Presence of Mind", "shortDesc": "Increase your mana or energy regeneration when damaging an enemy champion. Takedowns restore mana or energy.", "longDesc": "Damaging an enemy champion increases your mana regeneration by @RegenAmount@ (80% for ranged) mana per second for 4 seconds. All energy users gain 1.5 energy per second, instead.<br><br>Takedowns restore 15% of your maximum mana or energy. " }] }, { "runes": [{ "id": 9104, "key": "LegendAlacrity", "icon": "perk-images/Styles/Precision/LegendAlacrity/LegendAlacrity.png", "name": "Legend: Alacrity", "shortDesc": "<lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Takedown'>Takedowns</lol-uikit-tooltipped-keyword> on enemies grant permanent <b>Attack Speed</b>. ", "longDesc": "Gain 3% attack speed plus an additional 1.5% for every <i>Legend</i> stack (<statGood>max 10 stacks</statGood>).<br><br>Earn progress toward <i>Legend</i> stacks for every champion takedown, epic monster takedown, large monster kill, and minion kill." }, { "id": 9105, "key": "LegendTenacity", "icon": "perk-images/Styles/Precision/LegendTenacity/LegendTenacity.png", "name": "Legend: Tenacity", "shortDesc": "<lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Takedown'>Takedowns</lol-uikit-tooltipped-keyword> on enemies grant permanent <b>Tenacity</b>. ", "longDesc": "Gain 5% tenacity plus an additional 2.5% for every <i>Legend</i> stack (<statGood>max 10 stacks</statGood>).<br><br>Earn progress toward <i>Legend</i> stacks for every champion takedown, epic monster takedown, large monster kill, and minion kill." }, { "id": 9103, "key": "LegendBloodline", "icon": "perk-images/Styles/Precision/LegendBloodline/LegendBloodline.png", "name": "Legend: Bloodline", "shortDesc": "<lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Takedown'>Takedowns</lol-uikit-tooltipped-keyword> on enemies grant permanent<b> Life Steal</b>, up to a cap. Once the cap is reached, increase your max health. Weaker earlier but stronger later game than other Legend Runes.", "longDesc": "Gain 0.4% Life Steal for every <i>Legend</i> stack (<statGood>max 15 stacks</statGood>). At maximum <i>Legend</i> stacks, gain 100 max health.<br><br>Earn progress toward <i>Legend</i> stacks for every champion takedown, epic monster takedown, large monster kill, and minion kill." }] }, { "runes": [{ "id": 8014, "key": "CoupDeGrace", "icon": "perk-images/Styles/Precision/CoupDeGrace/CoupDeGrace.png", "name": "Coup de Grace", "shortDesc": "Deal more damage to low health enemy champions.", "longDesc": "Deal 8% more damage to champions who have less than 40% health." }, { "id": 8017, "key": "CutDown", "icon": "perk-images/Styles/Precision/CutDown/CutDown.png", "name": "Cut Down", "shortDesc": "Deal more damage to champions with more max health than you.", "longDesc": "Deal 5% to 15% more damage to champions, based on how much more max health they have than you.<br><br><rules>Bonus damage scales up linearly against enemies with 10% to 100% more max health than you.</rules>" }, { "id": 8299, "key": "LastStand", "icon": "perk-images/Styles/Sorcery/LastStand/LastStand.png", "name": "Last Stand", "shortDesc": "Deal more damage to champions while you are low on health.", "longDesc": "Deal 5% - 11% increased damage to champions while you are below 60% health. Max damage gained at 30% health." }] }] }, { "id": 8400, "key": "Resolve", "icon": "perk-images/Styles/7204_Resolve.png", "name": "Resolve", "slots": [{ "runes": [{ "id": 8437, "key": "GraspOfTheUndying", "icon": "perk-images/Styles/Resolve/GraspOfTheUndying/GraspOfTheUndying.png", "name": "Grasp of the Undying", "shortDesc": "Every 4s your next attack on a champion deals bonus magic damage, heals you, and permanently increases your health.", "longDesc": "Every 4s in combat, your next basic attack on a champion will:<li>Deal bonus magic damage equal to 3.5% of your max health</li><li>Heals you for 1.7% of your max health</li><li>Permanently increase your health by 5</li><br><rules><i>Ranged Champions:</i> Damage, healing, and permanent health gained reduced by 40%.</rules><br>" }, { "id": 8439, "key": "Aftershock", "icon": "perk-images/Styles/Resolve/VeteranAftershock/VeteranAftershock.png", "name": "Aftershock", "shortDesc": "After <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Immobilize'>immobilizing</lol-uikit-tooltipped-keyword> an enemy champion gain defenses and later deal a burst of magic damage around you.", "longDesc": "After immobilizing an enemy champion, increase your Armor and Magic Resist by 35 + 80% of your Bonus Resists for 2.5s. Then explode, dealing magic damage to nearby enemies.<br><br>Damage: 25 - 120 (+8% of your bonus health)<br>Cooldown: 20s<br><br>Resistance bonus from Aftershock capped at: 80-150 (based on level)<br>" }, { "id": 8465, "key": "Guardian", "icon": "perk-images/Styles/Resolve/Guardian/Guardian.png", "name": "Guardian", "shortDesc": "Guard allies you cast spells on and those that are very nearby. If you or a guarded ally would take damage based on level, you're both granted a shield.", "longDesc": "<i>Guard</i> allies within 350 units of you, and allies you target with spells for 2.5s. While <i>Guarding</i>, if you or the ally take more than a small amount of damage over the duration of the <i>Guard</i>, both of you gain a shield for 1.5s.<br><br>Cooldown: <scaleLevel>70 - 40</scaleLevel> seconds<br>Shield: <scaleLevel>45 - 120</scaleLevel> + <scaleAP>12.5%</scaleAP> of your ability power + <scalehealth>8%</scalehealth> of your bonus health<br>Proc Threshold: <scaleLevel>90 - 250</scaleLevel> postmitigation damage" }] }, { "runes": [{ "id": 8446, "key": "Demolish", "icon": "perk-images/Styles/Resolve/Demolish/Demolish.png", "name": "Demolish", "shortDesc": "Charge up a powerful attack against a tower while near it.", "longDesc": "Charge up a powerful attack against a tower over 3s, while within 600 range of it. The charged attack deals 100 (+35% of your max health) bonus physical damage. <br><br>Cooldown: 45s" }, { "id": 8463, "key": "FontOfLife", "icon": "perk-images/Styles/Resolve/FontOfLife/FontOfLife.png", "name": "Font of Life", "shortDesc": "<lol-uikit-tooltipped-keyword key='LinkTooltip_Description_ImpairMov'>Impairing</lol-uikit-tooltipped-keyword> the movement of an enemy champion marks them. Your allies heal when attacking champions you've marked. ", "longDesc": "Impairing the movement of an enemy champion marks them for 4s.<br><br>Ally champions who attack marked enemies heal for 5 + 0.9% of your max health over 2s. " }, { "id": 8401, "key": "ShieldBash", "icon": "perk-images/Styles/Resolve/MirrorShell/MirrorShell.png", "name": "Shield Bash", "shortDesc": "Whenever you gain a shield, your next basic attack against a champion deals bonus <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'><font color='#48C4B7'>adaptive</font></lol-uikit-tooltipped-keyword> damage.", "longDesc": "While shielded, gain <scaleLevel>1 - 10</scaleLevel> Armor and Magic Resist based on Level.<br><br>Whenever you gain a new shield, your next basic attack against a champion deals <scaleLevel>5 - 30</scaleLevel> <scaleHealth>(+1.5% Bonus Health)</scaleHealth> <scaleMana>(+8.5% New Shield Amount)</scaleMana> bonus <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'><font color='#48C4B7'>adaptive</font></lol-uikit-tooltipped-keyword> damage.<br><br>You have up to 2s after the shield expires to use this effect." }] }, { "runes": [{ "id": 8429, "key": "Conditioning", "icon": "perk-images/Styles/Resolve/Conditioning/Conditioning.png", "name": "Conditioning", "shortDesc": "After 12 min gain +9 Armor and +9 Magic Resist and increase your Armor and Magic Resist by 4%.", "longDesc": "After 12 min gain +9 Armor and +9 Magic Resist and increase your Armor and Magic Resist by 4%." }, { "id": 8444, "key": "SecondWind", "icon": "perk-images/Styles/Resolve/SecondWind/SecondWind.png", "name": "Second Wind", "shortDesc": "After taking damage from an enemy champion heal back some missing health over time. ", "longDesc": "After taking damage from an enemy champion, heal for 4% of your missing health +6 over 10s." }, { "id": 8473, "key": "BonePlating", "icon": "perk-images/Styles/Resolve/BonePlating/BonePlating.png", "name": "Bone Plating", "shortDesc": "After taking damage from an enemy champion, the next 3 spells or attacks you receive from them deal 30-60 less damage.<br><br><br>Duration: 1.5s<br>Cooldown: 45s", "longDesc": "After taking damage from an enemy champion, the next 3 spells or attacks you receive from them deal 30-60 less damage.<br><br><br>Duration: 1.5s<br>Cooldown: 45s" }] }, { "runes": [{ "id": 8451, "key": "Overgrowth", "icon": "perk-images/Styles/Resolve/Overgrowth/Overgrowth.png", "name": "Overgrowth", "shortDesc": "Gain permanent max health when minions or monsters die near you.", "longDesc": "Absorb life essence from monsters or enemy minions that die near you, permanently gaining 3 maximum health for every 8.<br><br>When you've absorbed 120 monsters or enemy minions, gain an additional 3.5% maximum health." }, { "id": 8453, "key": "Revitalize", "icon": "perk-images/Styles/Resolve/Revitalize/Revitalize.png", "name": "Revitalize", "shortDesc": "Gain 5% Heal and Shield Power.<br><br>Heals and shields you cast or receive are 10% stronger on targets below 40% health.", "longDesc": "Gain 5% Heal and Shield Power.<br><br>Heals and shields you cast or receive are 10% stronger on targets below 40% health." }, { "id": 8242, "key": "Unflinching", "icon": "perk-images/Styles/Sorcery/Unflinching/Unflinching.png", "name": "Unflinching", "shortDesc": "Gain a small amount of tenacity that increases with missing health. ", "longDesc": "Gain 10% Tenacity and 10% Slow Resist. These values increase by up to an additional 20% Tenacity and 20% Slow Resist based on missing health. Maximum value achieved at 30% health. " }] }] }, { "id": 8200, "key": "Sorcery", "icon": "perk-images/Styles/7202_Sorcery.png", "name": "Sorcery", "slots": [{ "runes": [{ "id": 8214, "key": "SummonAery", "icon": "perk-images/Styles/Sorcery/SummonAery/SummonAery.png", "name": "Summon Aery", "shortDesc": "Your attacks and abilities send Aery to a target, damaging enemies or shielding allies.", "longDesc": "Damaging enemy champions with basic attacks or abilities sends Aery to them, dealing 10 - 40 based on level (+<scaleAP>0.1 AP</scaleAP>) (+<scaleAD>0.15 bonus AD</scaleAD>).<br><br>Empower or protecting allies with abilities sends Aery to them, shielding them for 30 - 75 based on level (+<scaleAP>0.22 AP</scaleAP>) (+<scaleAD>0.35 bonus AD</scaleAD>).<br><br>Aery cannot be sent out again until she returns to you." }, { "id": 8229, "key": "ArcaneComet", "icon": "perk-images/Styles/Sorcery/ArcaneComet/ArcaneComet.png", "name": "Arcane Comet", "shortDesc": "Damaging a champion with an ability hurls a damaging comet at their location.", "longDesc": "Damaging a champion with an ability hurls a comet at their location, or, if Arcane Comet is on cooldown, reduces its remaining cooldown.<br><br><lol-uikit-tooltipped-keyword key='LinkTooltip_Description_AdaptiveDmg'><font color='#48C4B7'>Adaptive Damage</font></lol-uikit-tooltipped-keyword>: 30 - 100 based on level (<scaleAP>+0.2 AP</scaleAP> and <scaleAD>+0.35 bonus AD</scaleAD>)<br>Cooldown: 20 - 8s<br><rules><br>Cooldown Reduction:<br>Single Target: 20%.<br>Area of Effect: 10%.<br>Damage over Time: 5%.<br></rules>" }, { "id": 8230, "key": "PhaseRush", "icon": "perk-images/Styles/Sorcery/PhaseRush/PhaseRush.png", "name": "Phase Rush", "shortDesc": "Hitting an enemy champion with 3 <b>separate</b> attacks or abilities grants a burst of <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_MS'>MS</lol-uikit-tooltipped-keyword>. ", "longDesc": "Hitting an enemy champion with 3 attacks or <b>separate</b> abilities within 4s grants <speed>15 - 40% Move Speed</speed> based on level and 75% Slow Resistance. <hr>This is increased to <speed>30 - 60% Move Speed</speed> for Melee champions.<hr>Duration: 3s<br>Cooldown: 10s - 30s" }] }, { "runes": [{ "id": 8224, "key": "NullifyingOrb", "icon": "perk-images/Styles/Sorcery/NullifyingOrb/Pokeshield.png", "name": "Nullifying Orb", "shortDesc": "Gain a magic damage shield when taken to low health by magic damage.", "longDesc": "When you take magic damage that would reduce your Health below 30%, gain a shield that absorbs 35 - 110 magic damage based on level (<scaleAP>+0.09 AP</scaleAP> and <scaleAD>+0.14 bonus AD</scaleAD>) for 4s.<br><br>Cooldown: 60s" }, { "id": 8226, "key": "ManaflowBand", "icon": "perk-images/Styles/Sorcery/ManaflowBand/ManaflowBand.png", "name": "Manaflow Band", "shortDesc": "Hitting an enemy champion with an ability permanently increases your maximum mana by 25, up to 250 mana.<br><br>After reaching 250 bonus mana, restore 1% of your missing mana every 5 seconds.", "longDesc": "Hitting an enemy champion with an ability permanently increases your maximum mana by 25, up to 250 mana.<br><br>After reaching 250 bonus mana, restore 1% of your missing mana every 5 seconds.<br><br>Cooldown: 15 seconds" }, { "id": 8275, "key": "NimbusCloak", "icon": "perk-images/Styles/Sorcery/NimbusCloak/6361.png", "name": "Nimbus Cloak", "shortDesc": "After casting a Summoner Spell, gain a short <speed>Move Speed</speed> increase that allows you to pass through units.", "longDesc": "After casting a Summoner Spell, gain a <speed>Move Speed</speed> increase that lasts for 2s and allows you to pass through units.<br><br>Increase: <speed>5% - 25% Move Speed</speed> based on the Summoner Spell's cooldown. (Higher cooldown Summoner Spells grant more <speed>Move Speed</speed>). " }] }, { "runes": [{ "id": 8210, "key": "Transcendence", "icon": "perk-images/Styles/Sorcery/Transcendence/Transcendence.png", "name": "Transcendence", "shortDesc": "Gain bonuses upon reaching the following levels:<br>Level 5: +5 <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_CDR'>Ability Haste</lol-uikit-tooltipped-keyword> <br>Level 8: +5 <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_CDR'>Ability Haste</lol-uikit-tooltipped-keyword> <br>Level 11: On Champion takedown, reduce the remaining cooldown of basic abilities by 20%.", "longDesc": "Gain bonuses upon reaching the following levels:<br>Level 5: +5 <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_CDR'>Ability Haste</lol-uikit-tooltipped-keyword> <br>Level 8: +5 <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_CDR'>Ability Haste</lol-uikit-tooltipped-keyword> <br>Level 11: On Champion takedown, reduce the remaining cooldown of basic abilities by 20%.<br>" }, { "id": 8234, "key": "Celerity", "icon": "perk-images/Styles/Sorcery/Celerity/CelerityTemp.png", "name": "Celerity", "shortDesc": "All <speed>Move Speed</speed> bonuses are 7% more effective on you and gain <speed>1% Move Speed</speed>.", "longDesc": "All movement bonuses are 7% more effective on you and gain <speed>1% Move Speed</speed>." }, { "id": 8233, "key": "AbsoluteFocus", "icon": "perk-images/Styles/Sorcery/AbsoluteFocus/AbsoluteFocus.png", "name": "Absolute Focus", "shortDesc": "While above 70% health, gain extra <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_AdaptiveDmg'>adaptive damage</lol-uikit-tooltipped-keyword>.", "longDesc": "While above 70% health, gain an <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'><font color='#48C4B7'>adaptive</font></lol-uikit-tooltipped-keyword> bonus of up to 18 Attack Damage or 30 Ability Power (based on level). <br><br>Grants 1.8 Attack Damage or 3 Ability Power at level 1. " }] }, { "runes": [{ "id": 8237, "key": "Scorch", "icon": "perk-images/Styles/Sorcery/Scorch/Scorch.png", "name": "Scorch", "shortDesc": "Your first damaging ability hit every 10s burns champions.", "longDesc": "Your next damaging ability hit sets champions on fire dealing 15 - 35 bonus magic damage based on level after 1s.<br><br>Cooldown: 10s" }, { "id": 8232, "key": "Waterwalking", "icon": "perk-images/Styles/Sorcery/Waterwalking/Waterwalking.png", "name": "Waterwalking", "shortDesc": "Gain <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_MS'>MS</lol-uikit-tooltipped-keyword> and AP or AD, <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'>adaptive</lol-uikit-tooltipped-keyword> in the river.", "longDesc": "Gain <speed>25 Move Speed</speed> and an <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'><font color='#48C4B7'>adaptive</font></lol-uikit-tooltipped-keyword> bonus of up to 18 Attack Damage or 30 Ability Power (based on level) when in the river.<br><br><hr><br><i>May you be as swift as the rushing river and agile as a startled Rift Scuttler.</i><br>" }, { "id": 8236, "key": "GatheringStorm", "icon": "perk-images/Styles/Sorcery/GatheringStorm/GatheringStorm.png", "name": "Gathering Storm", "shortDesc": "Gain increasing amounts of AD or AP, <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'>adaptive</lol-uikit-tooltipped-keyword> over the course of the game.", "longDesc": "Every 10 min gain AP or AD, <lol-uikit-tooltipped-keyword key='LinkTooltip_Description_Adaptive'><font color='#48C4B7'>adaptive</font></lol-uikit-tooltipped-keyword>.<br><br><i>10 min</i>: + 8 AP or 5 AD <br><i>20 min</i>: + 24 AP or 14 AD<br><i>30 min</i>: + 48 AP or 29 AD<br><i>40 min</i>: + 80 AP or 48 AD<br><i>50 min</i>: + 120 AP or 72 AD<br><i>60 min</i>: + 168 AP or 101 AD<br>etc..." }] }] }]
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Wraps the provided JSON in a TS export-as-const statement.
3
+ */
4
+ export declare function getExportStatement(constName: string, json: {
5
+ [k: string]: any;
6
+ }): string;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getExportStatement = void 0;
4
+ /**
5
+ * Wraps the provided JSON in a TS export-as-const statement.
6
+ */
7
+ function getExportStatement(constName, json) {
8
+ return `export const ${constName} = ${JSON.stringify(json)} as const`;
9
+ }
10
+ exports.getExportStatement = getExportStatement;
@@ -0,0 +1,16 @@
1
+ import './generate-champion-ids-by-name';
2
+ import './generate-champion-ids';
3
+ import './generate-champion-keys';
4
+ import './generate-champion-names';
5
+ import './generate-item-keys';
6
+ import './generate-item-names';
7
+ import './generate-rune-ids';
8
+ import './generate-rune-names';
9
+ import './generate-spell-ids-by-name';
10
+ import './generate-spell-ids';
11
+ import './generate-spell-keys';
12
+ import './generate-spell-names';
13
+ import './generate-stat-rune-ids';
14
+ import './generate-stat-rune-names';
15
+ import './generate-tree-rune-ids';
16
+ import './generate-tree-rune-names';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ require("./generate-champion-ids-by-name");
4
+ require("./generate-champion-ids");
5
+ require("./generate-champion-keys");
6
+ require("./generate-champion-names");
7
+ require("./generate-item-keys");
8
+ require("./generate-item-names");
9
+ require("./generate-rune-ids");
10
+ require("./generate-rune-names");
11
+ require("./generate-spell-ids-by-name");
12
+ require("./generate-spell-ids");
13
+ require("./generate-spell-keys");
14
+ require("./generate-spell-names");
15
+ require("./generate-stat-rune-ids");
16
+ require("./generate-stat-rune-names");
17
+ require("./generate-tree-rune-ids");
18
+ require("./generate-tree-rune-names");
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const champion_json_1 = __importDefault(require("../champion.json"));
8
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
9
+ (async () => {
10
+ const championIds = {};
11
+ // Extract all Champion IDs
12
+ let championId;
13
+ for (championId in champion_json_1.default.data) {
14
+ const championData = champion_json_1.default.data[championId];
15
+ championIds[championData.name] = championId;
16
+ }
17
+ // Write to tmp file
18
+ const constName = 'ChampionIdsByName';
19
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, championIds));
20
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const champion_json_1 = __importDefault(require("../champion.json"));
8
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
9
+ (async () => {
10
+ const championIds = {};
11
+ // Extract all Champion IDs
12
+ let championId;
13
+ for (championId in champion_json_1.default.data) {
14
+ const championData = champion_json_1.default.data[championId];
15
+ championIds[championData.key] = championId;
16
+ }
17
+ // Write to tmp file
18
+ const constName = 'ChampionIds';
19
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, championIds));
20
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const champion_json_1 = __importDefault(require("../champion.json"));
8
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
9
+ (async () => {
10
+ const championKeys = {};
11
+ // Add all champions' data to each corresponding key value
12
+ let championId;
13
+ for (championId in champion_json_1.default.data) {
14
+ const championData = champion_json_1.default.data[championId];
15
+ championKeys[championId] = championData.key;
16
+ }
17
+ // Write to file
18
+ const constName = 'ChampionKeys';
19
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, championKeys));
20
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const champion_json_1 = __importDefault(require("../champion.json"));
8
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
9
+ (async () => {
10
+ const championNames = {};
11
+ // Extract all champion names from `champion.json`
12
+ let championId;
13
+ for (championId in champion_json_1.default.data) {
14
+ const championData = champion_json_1.default.data[championId];
15
+ championNames[championData.key] = championData.name;
16
+ }
17
+ // Write to file
18
+ const constName = 'ChampionNames';
19
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, championNames));
20
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const item_json_1 = __importDefault(require("../item.json"));
8
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
9
+ (async () => {
10
+ const itemKeys = {};
11
+ // Add all items' data to each corresponding name value
12
+ let itemKey;
13
+ for (itemKey in item_json_1.default.data) {
14
+ const itemData = item_json_1.default.data[itemKey];
15
+ let htmlEscapedName = itemData.name.replace(/<[^>]*>?/gm, '');
16
+ itemKeys[htmlEscapedName] = itemKey;
17
+ }
18
+ // Write to file
19
+ const constName = 'ItemKeys';
20
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, itemKeys));
21
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const item_json_1 = __importDefault(require("../item.json"));
8
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
9
+ (async () => {
10
+ const itemNames = {};
11
+ // Add all items' data to each corresponding name value
12
+ let itemKey;
13
+ for (itemKey in item_json_1.default.data) {
14
+ const itemData = item_json_1.default.data[itemKey];
15
+ let htmlEscapedName = itemData.name.replace(/<[^>]*>?/gm, '');
16
+ itemNames[itemKey] = htmlEscapedName;
17
+ }
18
+ // Write to file
19
+ const constName = 'ItemNames';
20
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, itemNames));
21
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const runesReforged_json_1 = __importDefault(require("../runesReforged.json"));
8
+ const StatRunes_1 = require("../StatRunes");
9
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
10
+ (async () => {
11
+ const runeIds = {};
12
+ // Construct the new data and assign it to product object
13
+ for (const runeTree of runesReforged_json_1.default) {
14
+ for (const { runes } of runeTree.slots) {
15
+ for (const rune of runes) {
16
+ runeIds[rune.name] = String(rune.id);
17
+ }
18
+ }
19
+ }
20
+ // Add Stat Runes
21
+ let statRuneId;
22
+ for (statRuneId in StatRunes_1.StatRunes) {
23
+ const statRuneName = StatRunes_1.StatRunes[statRuneId];
24
+ runeIds[statRuneName] = statRuneId;
25
+ }
26
+ // Write to file
27
+ const constName = 'RuneIds';
28
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, runeIds));
29
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const runesReforged_json_1 = __importDefault(require("../runesReforged.json"));
8
+ const StatRunes_1 = require("../StatRunes");
9
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
10
+ (async () => {
11
+ const runeNames = {};
12
+ // Construct the new data and assign it to product object
13
+ for (const runeTree of runesReforged_json_1.default) {
14
+ for (const { runes } of runeTree.slots) {
15
+ for (const rune of runes) {
16
+ runeNames[rune.id] = rune.name;
17
+ }
18
+ }
19
+ }
20
+ // Add Stat Runes
21
+ let statRuneId;
22
+ for (statRuneId in StatRunes_1.StatRunes) {
23
+ const statRuneName = StatRunes_1.StatRunes[statRuneId];
24
+ runeNames[statRuneId] = statRuneName;
25
+ }
26
+ // Write to file
27
+ const constName = 'RuneNames';
28
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, runeNames));
29
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const summoner_json_1 = __importDefault(require("../summoner.json"));
8
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
9
+ (async () => {
10
+ const spellIds = {};
11
+ // Add all summoners spell data to each corresponding key value
12
+ let spellId;
13
+ for (spellId in summoner_json_1.default.data) {
14
+ const spellData = summoner_json_1.default.data[spellId];
15
+ spellIds[spellData.name] = spellId;
16
+ }
17
+ // Write to file
18
+ const constName = 'SpellIdsByName';
19
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, spellIds));
20
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const summoner_json_1 = __importDefault(require("../summoner.json"));
8
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
9
+ (async () => {
10
+ const spellIds = {};
11
+ // Add all summoners spell data to each corresponding key value
12
+ let spellId;
13
+ for (spellId in summoner_json_1.default.data) {
14
+ const spellData = summoner_json_1.default.data[spellId];
15
+ spellIds[spellData.key] = spellId;
16
+ }
17
+ // Write to file
18
+ const constName = 'SpellIds';
19
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, spellIds));
20
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const summoner_json_1 = __importDefault(require("../summoner.json"));
8
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
9
+ (async () => {
10
+ const spellKeys = {};
11
+ // Add all summoners spell data to each corresponding key value
12
+ let spellId;
13
+ for (spellId in summoner_json_1.default.data) {
14
+ const spellData = summoner_json_1.default.data[spellId];
15
+ spellKeys[spellId] = spellData.key;
16
+ }
17
+ // Write to file
18
+ const constName = 'SpellKeys';
19
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, spellKeys));
20
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const summoner_json_1 = __importDefault(require("../summoner.json"));
8
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
9
+ (async () => {
10
+ const spellNames = {};
11
+ // Add all summoners spell data to each corresponding key value
12
+ let spellId;
13
+ for (spellId in summoner_json_1.default.data) {
14
+ const spellData = summoner_json_1.default.data[spellId];
15
+ spellNames[spellData.key] = spellData.name;
16
+ }
17
+ // Write to file
18
+ const constName = 'SpellNames';
19
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, spellNames));
20
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const StatRunes_1 = require("../StatRunes");
8
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
9
+ (async () => {
10
+ const runeIds = {};
11
+ // Add Stat Runes
12
+ let statRuneId;
13
+ for (statRuneId in StatRunes_1.StatRunes) {
14
+ const statRuneName = StatRunes_1.StatRunes[statRuneId];
15
+ runeIds[statRuneName] = statRuneId;
16
+ }
17
+ // Write to file
18
+ const constName = 'StatRuneIds';
19
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, runeIds));
20
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const StatRunes_1 = require("../StatRunes");
8
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
9
+ (async () => {
10
+ const runeIds = {};
11
+ // Add Stat Runes
12
+ let statRuneId;
13
+ for (statRuneId in StatRunes_1.StatRunes) {
14
+ const statRuneName = StatRunes_1.StatRunes[statRuneId];
15
+ runeIds[statRuneId] = statRuneName;
16
+ }
17
+ // Write to file
18
+ const constName = 'StatRuneNames';
19
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, runeIds));
20
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const runesReforged_json_1 = __importDefault(require("../runesReforged.json"));
8
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
9
+ (async () => {
10
+ const runeIds = {};
11
+ // Construct the new data and assign it to product object
12
+ for (const runeTree of runesReforged_json_1.default) {
13
+ for (const { runes } of runeTree.slots) {
14
+ for (const rune of runes) {
15
+ runeIds[rune.name] = String(rune.id);
16
+ }
17
+ }
18
+ }
19
+ // Write to file
20
+ const constName = 'TreeRuneIds';
21
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, runeIds));
22
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fs_1 = __importDefault(require("fs"));
7
+ const runesReforged_json_1 = __importDefault(require("../runesReforged.json"));
8
+ const getExportStatement_1 = require("./Helpers/getExportStatement");
9
+ (async () => {
10
+ const runeIds = {};
11
+ // Construct the new data and assign it to product object
12
+ for (const runeTree of runesReforged_json_1.default) {
13
+ for (const { runes } of runeTree.slots) {
14
+ for (const rune of runes) {
15
+ runeIds[rune.id] = rune.name;
16
+ }
17
+ }
18
+ }
19
+ // Write to file
20
+ const constName = 'TreeRuneNames';
21
+ fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, runeIds));
22
+ })();