data.js 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. var data = [
  2. // Ferocity
  3. [
  4. {
  5. index: 1,
  6. name: "狂怒",
  7. tier: 0,
  8. ranks: 5,
  9. desc: "攻击速度增加 #% 。",
  10. rankInfo: [0.8, 1.6, 2.4, 3.2, 4.0],
  11. },
  12. {
  13. index: 3,
  14. name: "巫术",
  15. tier: 0,
  16. ranks: 5,
  17. desc: "技能伤害提升:#% 。",
  18. rankInfo: [0.4, 0.8, 1.2, 1.6, 2.0],
  19. },
  20. {
  21. index: 5,
  22. name: "新鲜血液",
  23. tier: 1,
  24. ranks: 1,
  25. desc: "你对一名英雄发起的第一次普攻将造成10+1x等级的额外伤害(冷却时间:6秒)",
  26. rankInfo: [],
  27. },
  28. {
  29. index: 6,
  30. name: "盛宴",
  31. tier: 1,
  32. ranks: 1,
  33. desc: "击杀一个单位回复20生命值(30秒冷却时间)。",
  34. rankInfo: [],
  35. },
  36. {
  37. index: 7,
  38. name: "揭示弱点",
  39. tier: 1,
  40. ranks: 1,
  41. desc: "对敌方英雄造成伤害的同时,会使你的友军对其伤害提升3%。",
  42. rankInfo: [],
  43. },
  44. {
  45. index: 9,
  46. name: "吸血习性",
  47. tier: 2,
  48. ranks: 5,
  49. desc: "增加生命偷取和法术吸血:#% 。",
  50. rankInfo: [0.4, 0.8, 1.2, 1.6, 2.0],
  51. },
  52. {
  53. index: 11,
  54. name: "先天资质",
  55. tier: 2,
  56. ranks: 5,
  57. desc: "18级时增长# 点攻击力 与 # 点法术强度。",
  58. rankInfo: [2, 4, 6, 8, 10],
  59. rankInfo2: [3, 6, 9, 12, 15],
  60. perLevel: [.11, .22, .33, .44, .55],
  61. perLevel2: [.16, .32, .5, .66, .88],
  62. },
  63. {
  64. index: 13,
  65. name: "赏金猎人",
  66. tier: 3,
  67. ranks: 1,
  68. desc: "你击杀过的每名敌方英雄,都会使你造成的伤害提升1.5%(上限:敌方英雄数x1.5%) 。",
  69. rankInfo: [],
  70. },
  71. {
  72. index: 14,
  73. name: "双刃剑",
  74. tier: 3,
  75. ranks: 1,
  76. desc: "造成5%额外伤害,承受2.5%的额外伤害。",
  77. rankInfo: [],
  78. },
  79. {
  80. index: 15,
  81. name: "战斗专注",
  82. tier: 3,
  83. ranks: 1,
  84. desc: "与敌方英雄作战时,在5秒里持续获得最都5%伤害提升。",
  85. rankInfo: [],
  86. },
  87. {
  88. index: 17,
  89. name: "粉碎重击",
  90. tier: 4,
  91. ranks: 5,
  92. desc: "增加 # 点护甲穿透。",
  93. rankInfo: [1.4, 2.8, 4.2, 5.6, 7],
  94. },
  95. {
  96. index: 19,
  97. name: "敏锐思维",
  98. tier: 4,
  99. ranks: 5,
  100. desc: "增加 # 点法术穿透。",
  101. rankInfo: [1.4, 2.8, 4.2, 5.6, 7],
  102. },
  103. {
  104. index: 21,
  105. name: "战争领主的嗜血",
  106. tier: 5,
  107. ranks: 1,
  108. desc: "对抗敌方英雄时,基于你的已损失生命值提供更多生命偷取(最大值:20%)。对抗小兵时会获得50%收益(远程英雄为25%收益)。",
  109. rankInfo: [],
  110. },
  111. {
  112. index: 22,
  113. name: "战争热诚",
  114. tier: 5,
  115. ranks: 1,
  116. desc: "普攻在命中敌方英雄时会产生热诚效果(近战攻击为2层)。热诚效果持续4秒(最多可叠加10层)并且每层效果会使你的攻击力提升1-6。",
  117. rankInfo: [],
  118. },
  119. {
  120. index: 23,
  121. name: "冥火之触",
  122. tier: 5,
  123. ranks: 1,
  124. desc: "你的伤害型技能会使地方英雄在4秒里持续承受魔法伤害。伤害值:8+60%额外攻击力和25%法术强度。冥火之触的持续时长会基于技能类型而减少:-群体技能:2秒持续时长。-持续伤害技能:1秒持续时长。",
  125. rankInfo: [],
  126. }
  127. ],
  128. // Cunning
  129. [
  130. {
  131. index: 1,
  132. name: "漫游者",
  133. tier: 0,
  134. ranks: 5,
  135. desc: "非战斗状态下的移动速度加成 #% 。",
  136. rankInfo: [0.6, 1.2, 1.8, 2.4, 3],
  137. },
  138. {
  139. index: 3,
  140. name: "野蛮",
  141. tier: 0,
  142. ranks: 5,
  143. desc: "普通攻击和单体目标技能对小兵和野怪造成 # 额外伤害。",
  144. rankInfo: [1, 2, 3, 4, 5],
  145. },
  146. {
  147. index: 5,
  148. name: "符能亲和",
  149. tier: 1,
  150. ranks: 1,
  151. desc: "野怪提供的增益效果的持续时间延长15% 。",
  152. rankInfo: [],
  153. },
  154. {
  155. index: 6,
  156. name: "秘密储备",
  157. tier: 1,
  158. ranks: 1,
  159. desc: "你的药水与合剂的持续时间延长10%。你的药水会替换成相应的饼干,可在消耗时立刻回复15生命值和法力值。",
  160. rankInfo: [],
  161. },
  162. {
  163. index: 7,
  164. name: "刺客",
  165. tier: 1,
  166. ranks: 1,
  167. desc: "在附近没有友方英雄时,造成的伤害提升2%。",
  168. rankInfo: [],
  169. },
  170. {
  171. index: 9,
  172. name: "无情",
  173. tier: 2,
  174. ranks: 5,
  175. desc: "对生命值低于40%的英雄造成 #% 额外伤害。",
  176. rankInfo: [1, 2, 3, 4, 5],
  177. },
  178. {
  179. index: 11,
  180. name: "冥想",
  181. tier: 2,
  182. ranks: 5,
  183. desc: "每隔5秒,回复你 #% 的已损失法力值。",
  184. rankInfo: [0.3, 0.6, 0.9, 1.2, 1.5],
  185. },
  186. {
  187. index: 13,
  188. name: "翠神的赠礼",
  189. tier: 3,
  190. ranks: 1,
  191. desc: "踏入草丛时会使你的下一个伤害型攻击或技能造成相当于你目标3%当前生命值的额外魔法伤害(冷却时间:9秒)",
  192. rankInfo: [],
  193. },
  194. {
  195. index: 14,
  196. name: "探云手",
  197. tier: 3,
  198. ranks: 1,
  199. desc: "每有友军击杀了附近的一个敌方小兵时,你就会获得1金币。每当你用普攻命中一名敌方英雄时,你就会获得额外的3金币(如果你的近战英雄,则获得10金币)(冷却时间5秒)",
  200. rankInfo: [],
  201. },
  202. {
  203. index: 15,
  204. name: "危险游戏",
  205. tier: 3,
  206. ranks: 1,
  207. desc: "击杀或协助击杀英雄时,会使你回复5%的已损失生命值和已损失法力值。",
  208. rankInfo: [],
  209. },
  210. {
  211. index: 17,
  212. name: "精密",
  213. tier: 4,
  214. ranks: 5,
  215. desc: "+ #护甲穿透和 # + # x等级的法术穿透。",
  216. rankInfo: [1.7, 3.4, 5.1, 6.8, 8.5],
  217. rankInfo2: [0.6, 1.2, 1.8, 2.4, 3.0],
  218. rankInfo3: [0.06, 0.12, 0.18, 0.24, 0.3],
  219. },
  220. {
  221. index: 19,
  222. name: "智谋",
  223. tier: 4,
  224. ranks: 5,
  225. desc: "+ #%冷却缩减, 同时冷却缩减上限提升到 #% 。",
  226. rankInfo: [1, 2, 3, 4, 5],
  227. rankInfo2: [41, 42, 43, 44, 45],
  228. },
  229. {
  230. index: 21,
  231. name: "风暴骑手的狂涌",
  232. tier: 5,
  233. ranks: 1,
  234. desc: "如果你在2.5秒内对敌方英雄造成了相当于其30%最大生命值的伤害,那么你就会获得40%移动速度和75%的减速抗性,持续3秒。(冷却时间:10秒)",
  235. rankInfo: [],
  236. },
  237. {
  238. index: 22,
  239. name: "雷霆领主的法令",
  240. tier: 5,
  241. ranks: 1,
  242. desc: "你对相同敌方英雄进行的第三次攻击或伤害型技能会召唤一次闪电打击,造成范围魔法伤害。伤害值:10x等级+你30%的额外攻击力+你10%法术强度(冷却时间:25-15秒,基于等级)",
  243. rankInfo: [],
  244. },
  245. {
  246. index: 23,
  247. name: "风语者的祝福",
  248. tier: 5,
  249. ranks: 1,
  250. desc: "你的治疗技能和护盾技能的数额提升10%。此外,如果你的护盾技能和治疗技能施放在除你之外的其他友方目标身上,就会使目标的护甲提升5-22(基于等级),并且魔法抗性提升该数值的一半,持续3秒。",
  251. rankInfo: [],
  252. }
  253. ],
  254. // Resolve
  255. [
  256. {
  257. index: 1,
  258. name: "愈合",
  259. tier: 0,
  260. ranks: 5,
  261. desc: "+生命回复:# 每5秒。",
  262. rankInfo: [0.4, 0.8, 1.2, 1.6, 2.0],
  263. },
  264. {
  265. index: 3,
  266. name: "不屈",
  267. tier: 0,
  268. ranks: 5,
  269. desc: "+额外护甲和魔法抗性: #% 。",
  270. rankInfo: [1, 2, 3, 4, 5],
  271. },
  272. {
  273. index: 5,
  274. name: "探索者",
  275. tier: 1,
  276. ranks: 1,
  277. desc: "在草丛和河道时+15移动速度。",
  278. rankInfo: [],
  279. },
  280. {
  281. index: 6,
  282. name: "硬化皮肤",
  283. tier: 1,
  284. ranks: 1,
  285. desc: "来自英雄和野怪的普攻伤害减少2。",
  286. rankInfo: [],
  287. },
  288. {
  289. index: 7,
  290. name: "围城大师",
  291. tier: 1,
  292. ranks: 1,
  293. desc: "在友方防御塔附近时获得8护甲和魔法抗性。",
  294. rankInfo: [],
  295. },
  296. {
  297. index: 9,
  298. name: "符能盔甲",
  299. tier: 2,
  300. ranks: 5,
  301. desc: "你受到的所有护盾效果、治疗效果、生命回复和生命偷取+ #% ",
  302. rankInfo: [1.6, 3.2, 4.8, 6.4, 8],
  303. },
  304. {
  305. index: 11,
  306. name: "老兵伤痕",
  307. tier: 2,
  308. ranks: 5,
  309. desc: "+#生命值。",
  310. rankInfo: [10, 20, 30, 40, 50],
  311. },
  312. {
  313. index: 13,
  314. name: "洞悉",
  315. tier: 3,
  316. ranks: 1,
  317. desc: "你的召唤师技能的冷却时间缩短15% 。",
  318. rankInfo: [],
  319. },
  320. {
  321. index: 14,
  322. name: "耐久",
  323. tier: 3,
  324. ranks: 1,
  325. desc: "+50%生命回复,并在生命值低于25%时提升至+200% 。",
  326. rankInfo: [],
  327. },
  328. {
  329. index: 15,
  330. name: "无畏",
  331. tier: 3,
  332. ranks: 1,
  333. desc: "在承受敌方英雄的伤害时获得10%+2x等级的额外护甲和魔法抗性(冷却时间:9秒)。",
  334. rankInfo: [],
  335. },
  336. {
  337. index: 17,
  338. name: "灵敏",
  339. tier: 4,
  340. ranks: 5,
  341. desc: "+减速抗性和韧性:#%",
  342. rankInfo: [3, 6, 9, 12, 15],
  343. },
  344. {
  345. index: 19,
  346. name: "传奇卫士",
  347. tier: 4,
  348. ranks: 5,
  349. desc: "附近每有一名敌方英雄,就会为你提供 #点护甲和魔法抗性。",
  350. rankInfo: [0.6, 1.2, 1.8, 2.4, 3.0],
  351. },
  352. {
  353. index: 21,
  354. name: "不灭之握",
  355. tier: 5,
  356. ranks: 1,
  357. desc: "在战斗中每过4秒,你的下一次对敌方英雄发起的普攻就会造成你3%最大生命值的额外伤害并治疗你1.5%的最大生命值(如果你的远程英雄,则效果减半。伤害类型为魔法伤害)。",
  358. rankInfo: [],
  359. },
  360. {
  361. index: 22,
  362. name: "巨像的勇气",
  363. tier: 5,
  364. ranks: 1,
  365. desc: "在用硬控效果命中一名敌方英雄后,获得一层持续4秒的护盾,护盾生命值等于(10+10x等级+你最大生命值的7%)x附近的敌方英雄数量(冷却时间:30秒)。",
  366. rankInfo: [],
  367. },
  368. {
  369. index: 23,
  370. name: "顽石誓约",
  371. tier: 5,
  372. ranks: 1,
  373. desc: "+4%伤害减免。你会替最靠近你的一名友军承受来自敌方英雄的6%伤害。当你生命值低于5%时,就无法帮友军吸收伤害了。",
  374. rankInfo: [],
  375. }
  376. ]
  377. ];
  378. Array.prototype.filter || (Array.prototype.filter = function(fun) {
  379. "use strict";
  380. if (void 0 === this || null === this) throw new TypeError;
  381. var t = Object(this),
  382. len = t.length >>> 0;
  383. if ("function" != typeof fun) throw new TypeError;
  384. for (var res = [], thisArg = arguments.length >= 2 ? arguments[1] : void 0, i = 0; len > i; i++)
  385. if (i in t) {
  386. var val = t[i];
  387. fun.call(thisArg, val, i, t) && res.push(val)
  388. }
  389. return res
  390. }), Array.prototype.map || (Array.prototype.map = function(callback, thisArg) {
  391. var T, A, k;
  392. if (null == this) throw new TypeError(" this is null or not defined");
  393. var O = Object(this),
  394. len = O.length >>> 0;
  395. if ("function" != typeof callback) throw new TypeError(callback + " is not a function");
  396. for (arguments.length > 1 && (T = thisArg), A = new Array(len), k = 0; len > k;) {
  397. var kValue, mappedValue;
  398. k in O && (kValue = O[k], mappedValue = callback.call(T, kValue, k, O), A[k] = mappedValue), k++
  399. }
  400. return A
  401. }), Array.prototype.some || (Array.prototype.some = function(fun) {
  402. "use strict";
  403. if (null == this) throw new TypeError("Array.prototype.some called on null or undefined");
  404. if ("function" != typeof fun) throw new TypeError;
  405. for (var t = Object(this), len = t.length >>> 0, thisArg = arguments.length >= 2 ? arguments[1] : void 0, i = 0; len > i; i++)
  406. if (i in t && fun.call(thisArg, t[i], i, t)) return !0;
  407. return !1
  408. }), Array.prototype.reduce || (Array.prototype.reduce = function(callback) {
  409. if (null == this) throw new TypeError("Array.prototype.reduce called on null or undefined");
  410. if ("function" != typeof callback) throw new TypeError(callback + " is not a function");
  411. var value, t = Object(this),
  412. len = t.length >>> 0,
  413. k = 0;
  414. if (2 == arguments.length) value = arguments[1];
  415. else {
  416. for (; len > k && !(k in t);) k++;
  417. if (k >= len) throw new TypeError("Reduce of empty array with no initial value");
  418. value = t[k++]
  419. }
  420. for (; len > k; k++) k in t && (value = callback(value, t[k], k, t));
  421. return value
  422. });