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.
 
 
 

246 lines
3.4 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: 15,
  78. castTimeMax: 4,
  79. manaCost: 12,
  80. range: 9,
  81. radius: 3,
  82. random: {
  83. healing: [0.3, 0.5],
  84. i_duration: [7, 13]
  85. }
  86. },
  87. 'healing touch': {
  88. statType: 'int',
  89. statMult: 1,
  90. element: 'holy',
  91. cdMax: 5,
  92. castTimeMax: 3,
  93. manaCost: 8,
  94. range: 9,
  95. random: {
  96. healing: [1, 3]
  97. }
  98. },
  99. slash: {
  100. statType: 'str',
  101. statMult: 1,
  102. threatMult: 4,
  103. cdMax: 1,
  104. castTimeMax: 1,
  105. manaCost: 4,
  106. useWeaponRange: true,
  107. random: {
  108. damage: [6, 23]
  109. }
  110. },
  111. charge: {
  112. statType: 'str',
  113. statMult: 1,
  114. threatMult: 3,
  115. cdMax: 14,
  116. castTimeMax: 1,
  117. range: 10,
  118. manaCost: 3,
  119. random: {
  120. damage: [2, 11],
  121. i_stunDuration: [6, 10]
  122. }
  123. },
  124. flurry: {
  125. statType: 'dex',
  126. statMult: 1,
  127. cdMax: 20,
  128. castTimeMax: 0,
  129. manaCost: 10,
  130. random: {
  131. i_duration: [10, 20],
  132. i_chance: [30, 60]
  133. }
  134. },
  135. whirlwind: {
  136. statType: 'str',
  137. statMult: 1,
  138. threatMult: 6,
  139. cdMax: 1,
  140. castTimeMax: 2,
  141. manaCost: 7,
  142. random: {
  143. i_range: [1, 2.5],
  144. damage: [4, 18]
  145. }
  146. },
  147. smokebomb: {
  148. statType: 'dex',
  149. statMult: 1,
  150. element: 'poison',
  151. cdMax: 7,
  152. castTimeMax: 0,
  153. manaCost: 6,
  154. random: {
  155. damage: [0.25, 1.2],
  156. i_radius: [1, 3],
  157. i_duration: [7, 13]
  158. }
  159. },
  160. ambush: {
  161. statType: 'dex',
  162. statMult: 1,
  163. cdMax: 15,
  164. castTimeMax: 3,
  165. range: 10,
  166. manaCost: 7,
  167. random: {
  168. damage: [8, 35],
  169. i_stunDuration: [4, 7]
  170. }
  171. },
  172. 'crystal spikes': {
  173. statType: ['dex', 'int'],
  174. statMult: 1,
  175. manaCost: 14,
  176. needLos: true,
  177. cdMax: 15,
  178. castTimeMax: 0,
  179. range: 9,
  180. isAttack: true,
  181. random: {
  182. damage: [3, 18],
  183. i_delay: [1, 4]
  184. },
  185. negativeStats: [
  186. 'i_delay'
  187. ]
  188. },
  189. innervation: {
  190. statType: ['str'],
  191. statMult: 1,
  192. manaReserve: {
  193. percentage: 0.25
  194. },
  195. cdMax: 10,
  196. castTimeMax: 0,
  197. auraRange: 9,
  198. effect: 'regenHp',
  199. random: {
  200. regenPercentage: [0.3, 1.5]
  201. }
  202. },
  203. tranquility: {
  204. statType: ['int'],
  205. statMult: 1,
  206. element: 'holy',
  207. manaReserve: {
  208. percentage: 0.25
  209. },
  210. cdMax: 10,
  211. castTimeMax: 0,
  212. auraRange: 9,
  213. effect: 'regenMana',
  214. random: {
  215. regenPercentage: [4, 10]
  216. }
  217. },
  218. swiftness: {
  219. statType: ['dex'],
  220. statMult: 1,
  221. element: 'fire',
  222. manaReserve: {
  223. percentage: 0.4
  224. },
  225. cdMax: 10,
  226. castTimeMax: 0,
  227. auraRange: 9,
  228. effect: 'swiftness',
  229. random: {
  230. chance: [8, 20]
  231. }
  232. }
  233. };
  234. module.exports = {
  235. spells: spells,
  236. init: function () {
  237. events.emit('onBeforeGetSpellsConfig', spells);
  238. }
  239. };