项目作者: heroespatchnotes

项目描述 :
Talent and ability descriptions for heroes in Heroes of the Storm in handy JSON format
高级语言: SCSS
项目地址: git://github.com/heroespatchnotes/heroes-talents.git
创建时间: 2017-09-15T03:20:31Z
项目社区:https://github.com/heroespatchnotes/heroes-talents

开源协议:MIT License

下载


Hero Talents & Abilities

Talent? Hah. That seems generous.

—Raven Lord

Jump to Heroes

Example:

  1. {
  2. "id": "68",
  3. "shortName": "malthael",
  4. "attributeId": "MALT",
  5. "name": "Malthael",
  6. "icon": "malthael.png",
  7. "role": "Assassin",
  8. "type": "Melee",
  9. "releaseDate": "2017-06-13",
  10. "abilities": {
  11. "Malthael": [
  12. {
  13. "name": "Soul Rip",
  14. "description": "Extract the souls of nearby enemies afflicted by Reaper's Mark, dealing 100 (+4% per level) damage and healing Malthael for 25 (+4% per level) per target hit. Heroic targets heal Malthael for an additional 4% of the Hero's maximum Health.",
  15. "hotkey": "Q",
  16. "abilityId": "Malthael|Q1",
  17. "cooldown": 2,
  18. "manaCost": 25,
  19. "icon": "storm_ui_icon_malthael_soulrip.png",
  20. "type": "basic"
  21. },
  22. ...
  23. {
  24. "name": "Tormented Souls",
  25. "description": "Unleash a torrent of souls, continually applying Reaper's Mark to nearby enemies for 4 seconds.",
  26. "hotkey": "R",
  27. "abilityId": "Malthael|R1",
  28. "cooldown": 80,
  29. "manaCost": 100,
  30. "icon": "storm_ui_icon_malthael_tormentedsoul.png",
  31. "type": "heroic"
  32. },
  33. ...
  34. {
  35. "name": "Reaper's Mark",
  36. "description": "Basic Attacks cleave in an area in front of Malthael and afflict non-Structure targets with Reaper's Mark for 4 seconds. Marked enemies are revealed and take damage equal to 1.75% of their maximum Health every 1 second.",
  37. "trait": true,
  38. "abilityId": "Malthael|D1",
  39. "icon": "storm_ui_icon_malthael_reapersmark.png",
  40. "type": "trait"
  41. }
  42. ]
  43. },
  44. "talents": {
  45. "1": [
  46. {
  47. "tooltipId": "MalthaelDeathsReach",
  48. "talentTreeId": "MalthaelDeathsReach",
  49. "name": "Death's Reach",
  50. "description": "Increase Wraith Strike's range by 35%.",
  51. "icon": "storm_ui_icon_malthael_wraithstrike.png",
  52. "type": "W",
  53. "sort": 1,
  54. "abilityId": "Malthael|W1",
  55. "abilityLinks": [
  56. "Malthael|W1"
  57. ]
  58. },
  59. {
  60. "tooltipId": "MalthaelOnAPaleHorse",
  61. "talentTreeId": "MalthaelOnAPaleHorse",
  62. "name": "On a Pale Horse",
  63. "description": "Gain an additional 20% Movement Speed while mounted.",
  64. "icon": "storm_ui_icon_malthael_onpalehorse.png",
  65. "type": "Passive",
  66. "sort": 2,
  67. "abilityId": "_stormhero|Z1",
  68. "abilityLinks": [
  69. "_stormhero|Z1"
  70. ]
  71. },
  72. {
  73. "tooltipId": "MalthaelFearTheReaper",
  74. "talentTreeId": "MalthaelFearTheReaper",
  75. "name": "Fear the Reaper",
  76. "description": "Activate to increase Movement Speed by 25% and pass through other units for 4 seconds.",
  77. "icon": "storm_ui_icon_malthael_fearthereaper.png",
  78. "type": "Active",
  79. "sort": 3,
  80. "cooldown": 25,
  81. "abilityId": "Malthael|Active"
  82. }
  83. ],
  84. "4": [
  85. ...
  86. ]
  87. ...
  88. }

Notes on key/value pairs

  • shortName is the hero’s name with periods, dashes, apostrophes, spaces, and capitalization removed; it is currently used as the name of a hero’s JSON file and image
  • manaCost is a string due to several Heroes (Azmodan, Arthas, etc.) having channeled abilities with per-second mana costs
  • abilityId can be used to link a talent to its related ability.
    • Talents that create a new ability will have abilityId of HeroName|Active. Ex: Fear the Reaper (seen above), Bolt of the Storm
    • Talents granting changes to Basic Attacks or other passive effects will have abilityId of HeroName|Passive. Ex: On a Pale Horse (above), Burning Rage, Executioner
  • talentTreeId is the name of the talent as used in replay files
  • sort indicates the order of talents on that level/tier
  • icon is the image name for the talent from game files

Game data

  • heroes/ and images/ contain curated versions of the game data and icons, prepared by heroes-convert
  • Unprocessed versions of the parsed game data is hosted at heroes-data
  • Uncompressed versions of the icons are hosted at heroes-images
  • Game data extractions for both of the repos above are acquired using koliva8245’s HeroesDataParser

See the Contributing docs for more information on our process.

Projects using heroes-talents

Want to use this in your Node.js project?

npm install --save git+https://git@github.com/heroespatchnotes/heroes-talents.git

heroes-talents includes basic support for loading hero data into your project. See
dist/test.js for an example, or dist/index.js for the source.

  1. const HeroesTalents = require('heroes-talents')
  2. async function test() {
  3. try {
  4. const heroes = await HeroesTalents.loadHeroJSONFiles()
  5. const favoriteHero = heroes.alarak
  6. console.log(`My favorite hero is ${favoriteHero.name}. He is an ${favoriteHero.role}.`)
  7. } catch(err) {
  8. console.log(err)
  9. }
  10. }

Heroes



Abathur



Alarak



Alexstrasza



Ana



Anduin



Anub’arak



Artanis



Arthas



Auriel



Azmodan



Blaze



Brightwing



The Butcher



Cassia



Chen



Cho



Chromie



Deathwing



Deckard



Dehaka



Diablo



D.Va



E.T.C.



Falstad



Fenix



Gall



Garrosh



Gazlowe



Genji



Greymane



Gul’dan



Hanzo



Hogger



Illidan



Imperius



Jaina



Johanna



Junkrat



Kael’thas



Kel’Thuzad



Kerrigan



Kharazim



Leoric



Li Li



Li-Ming



The Lost Vikings



Lt. Morales



Lúcio



Lunara



Maiev



Malfurion



Mal’Ganis



Malthael



Medivh



Mei



Mephisto



Muradin



Murky



Nazeebo



Nova



Orphea



Probius



Qhira



Ragnaros



Raynor



Rehgar



Rexxar



Samuro



Sgt. Hammer



Sonya



Stitches



Stukov



Sylvanas



Tassadar



Thrall



Tracer



Tychus



Tyrael



Tyrande



Uther



Valeera



Valla



Varian



Whitemane



Xul



Yrel



Zagara



Zarya



Zeratul



Zul’jin