You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

234 lines
3.3 KiB

  1. let events = require('../misc/events');
  2. let spells = {
  3. melee: {
  4. auto: true,
  5. cdMax: 10,
  6. castTimeMax: 0,
  7. useWeaponRange: true,
  8. random: {
  9. damage: [3, 11.4]
  10. }
  11. },
  12. projectile: {
  13. auto: true,
  14. cdMax: 10,
  15. castTimeMax: 0,
  16. manaCost: 0,
  17. range: 9,
  18. random: {
  19. damage: [2, 7.2]
  20. }
  21. },
  22. 'magic missile': {
  23. statType: 'int',
  24. statMult: 1,
  25. element: 'arcane',
  26. cdMax: 7,
  27. castTimeMax: 6,
  28. manaCost: 5,
  29. range: 9,
  30. random: {
  31. damage: [4, 32]
  32. }
  33. },
  34. 'ice spear': {
  35. statType: 'int',
  36. statMult: 1,
  37. element: 'frost',
  38. cdMax: 10,
  39. castTimeMax: 2,
  40. manaCost: 4,
  41. range: 9,
  42. random: {
  43. damage: [2, 15],
  44. i_freezeDuration: [6, 10]
  45. }
  46. },
  47. fireblast: {
  48. statType: 'int',
  49. statMult: 1,
  50. element: 'fire',
  51. cdMax: 4,
  52. castTimeMax: 2,
  53. manaCost: 5,
  54. random: {
  55. damage: [2, 10],
  56. i_radius: [1, 2.2],
  57. i_pushback: [2, 5]
  58. }
  59. },
  60. smite: {
  61. statType: 'int',
  62. statMult: 1,
  63. element: 'holy',
  64. cdMax: 6,
  65. castTimeMax: 3,
  66. range: 9,
  67. manaCost: 7,
  68. random: {
  69. damage: [4, 14],
  70. i_stunDuration: [6, 10]
  71. }
  72. },
  73. consecrate: {
  74. statType: 'int',
  75. statMult: 1,
  76. element: 'holy',
  77. cdMax: 5,
  78. castTimeMax: 4,
  79. manaCost: 8,
  80. range: 9,
  81. radius: 3,
  82. random: {
  83. healing: [0.3, 0.5],
  84. i_duration: [7, 13]
  85. }
  86. },
  87. slash: {
  88. statType: 'str',
  89. statMult: 1,
  90. threatMult: 4,
  91. cdMax: 9,
  92. castTimeMax: 1,
  93. manaCost: 4,
  94. useWeaponRange: true,
  95. random: {
  96. damage: [6, 23]
  97. }
  98. },
  99. charge: {
  100. statType: 'str',
  101. statMult: 1,
  102. threatMult: 3,
  103. cdMax: 14,
  104. castTimeMax: 1,
  105. range: 10,
  106. manaCost: 3,
  107. random: {
  108. damage: [2, 11],
  109. i_stunDuration: [6, 10]
  110. }
  111. },
  112. flurry: {
  113. statType: 'dex',
  114. statMult: 1,
  115. cdMax: 20,
  116. castTimeMax: 0,
  117. manaCost: 10,
  118. random: {
  119. i_duration: [10, 20],
  120. i_chance: [30, 60]
  121. }
  122. },
  123. whirlwind: {
  124. statType: 'str',
  125. statMult: 1,
  126. threatMult: 6,
  127. cdMax: 12,
  128. castTimeMax: 2,
  129. manaCost: 7,
  130. noDrop: true,
  131. random: {
  132. i_range: [1, 2.5],
  133. damage: [4, 18]
  134. }
  135. },
  136. smokebomb: {
  137. statType: 'dex',
  138. statMult: 1,
  139. element: 'poison',
  140. cdMax: 7,
  141. castTimeMax: 0,
  142. manaCost: 6,
  143. random: {
  144. damage: [0.25, 1.2],
  145. i_radius: [1, 3],
  146. i_duration: [7, 13]
  147. }
  148. },
  149. ambush: {
  150. statType: 'dex',
  151. statMult: 1,
  152. cdMax: 15,
  153. castTimeMax: 3,
  154. range: 10,
  155. manaCost: 7,
  156. noDrop: true,
  157. random: {
  158. damage: [8, 35],
  159. i_stunDuration: [4, 7]
  160. }
  161. },
  162. 'crystal spikes': {
  163. statType: ['dex', 'int'],
  164. statMult: 1,
  165. manaCost: 14,
  166. needLos: true,
  167. cdMax: 20,
  168. castTimeMax: 0,
  169. range: 9,
  170. random: {
  171. damage: [3, 16],
  172. i_delay: [1, 4]
  173. },
  174. negativeStats: [
  175. 'i_delay'
  176. ]
  177. },
  178. innervation: {
  179. statType: ['str'],
  180. statMult: 1,
  181. manaReserve: {
  182. percentage: 0.25
  183. },
  184. cdMax: 10,
  185. castTimeMax: 0,
  186. auraRange: 9,
  187. effect: 'regenHp',
  188. random: {
  189. regenPercentage: [0.3, 1.5]
  190. }
  191. },
  192. tranquility: {
  193. statType: ['int'],
  194. statMult: 1,
  195. element: 'holy',
  196. manaReserve: {
  197. percentage: 0.25
  198. },
  199. cdMax: 10,
  200. castTimeMax: 0,
  201. auraRange: 9,
  202. effect: 'regenMana',
  203. random: {
  204. regenPercentage: [4, 10]
  205. }
  206. },
  207. swiftness: {
  208. statType: ['dex'],
  209. statMult: 1,
  210. element: 'fire',
  211. manaReserve: {
  212. percentage: 0.4
  213. },
  214. cdMax: 10,
  215. castTimeMax: 0,
  216. auraRange: 9,
  217. effect: 'swiftness',
  218. random: {
  219. chance: [5, 10]
  220. }
  221. }
  222. };
  223. module.exports = {
  224. spells: spells,
  225. init: function () {
  226. events.emit('onBeforeGetSpellsConfig', spells);
  227. }
  228. };