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.
 
 
 

178 lines
2.8 KiB

  1. define([
  2. 'misc/events'
  3. ], function(
  4. events
  5. ) {
  6. var spells = {
  7. 'magic missile': {
  8. statType: 'int',
  9. statMult: 0.216,
  10. element: 'arcane',
  11. auto: true,
  12. cdMax: 7,
  13. manaCost: 0,
  14. range: 9,
  15. random: {
  16. damage: [2, 4]
  17. }
  18. },
  19. 'ice spear': {
  20. statType: 'int',
  21. statMult: 0.076,
  22. element: 'frost',
  23. cdMax: 10,
  24. manaCost: 5,
  25. range: 9,
  26. dmgMult: 0.8,
  27. random: {
  28. damage: [4, 8],
  29. i_freezeDuration: [6, 10]
  30. }
  31. },
  32. 'fireblast': {
  33. statType: 'int',
  34. statMult: 0.03,
  35. element: 'fire',
  36. cdMax: 15,
  37. manaCost: 5,
  38. dmgMult: 1.1,
  39. random: {
  40. damage: [6.7, 13.3],
  41. i_radius: [1, 2.2],
  42. i_pushback: [5, 10]
  43. }
  44. },
  45. 'smite': {
  46. statType: 'int',
  47. statMult: 0.378,
  48. element: 'holy',
  49. auto: true,
  50. needLos: true,
  51. cdMax: 6,
  52. manaCost: 0,
  53. range: 9,
  54. random: {
  55. damage: [1.4, 2.6]
  56. }
  57. },
  58. 'healing circle': {
  59. statType: 'int',
  60. statMult: 0.454,
  61. element: 'holy',
  62. cdMax: 10,
  63. manaCost: 10,
  64. range: 9,
  65. radius: 3,
  66. random: {
  67. healing: [0.7, 1.3],
  68. i_duration: [7, 13]
  69. }
  70. },
  71. /*'holy vengeance': {
  72. statType: 'int',
  73. statMult: 1,
  74. cdMax: 30,
  75. manaCost: 15,
  76. range: 9,
  77. random: {
  78. i_duration: [30, 50]
  79. }
  80. },*/
  81. 'slash': {
  82. statType: 'str',
  83. statMult: 0.303,
  84. element: 'physical',
  85. threatMult: 4,
  86. auto: true,
  87. cdMax: 5,
  88. useWeaponRange: true,
  89. random: {
  90. damage: [2, 4]
  91. }
  92. },
  93. 'charge': {
  94. statType: 'str',
  95. statMult: 0.151,
  96. element: 'physical',
  97. threatMult: 3,
  98. cdMax: 5,
  99. range: 10,
  100. manaCost: 5,
  101. dmgMult: 0.9,
  102. random: {
  103. damage: [4, 8],
  104. i_stunDuration: [3, 7]
  105. }
  106. },
  107. /*'reflect damage': {
  108. statType: 'str',
  109. statMult: 1,
  110. cdMax: 5,
  111. threatMult: 2,
  112. manaCost: 10,
  113. random: {
  114. i_duration: [4, 8]
  115. }
  116. },*/
  117. 'double slash': {
  118. statType: 'dex',
  119. statMult: 0.757,
  120. element: 'physical',
  121. cdMax: 3,
  122. useWeaponRange: true,
  123. auto: true,
  124. random: {
  125. damage: [1, 3]
  126. }
  127. },
  128. 'smokebomb': {
  129. statType: 'dex',
  130. statMult: 1.817,
  131. element: 'poison',
  132. cdMax: 5,
  133. manaCost: 6,
  134. dmgMult: 1.2,
  135. random: {
  136. damage: [0.3, 0.7],
  137. i_radius: [1, 3],
  138. i_duration: [7, 13]
  139. }
  140. },
  141. /*'stealth': {
  142. statType: 'dex',
  143. statMult: 1,
  144. duration: 200,
  145. cdMax: 15,
  146. manaCost: 10
  147. },*/
  148. 'crystal spikes': {
  149. statType: ['dex', 'int'],
  150. statMult: 0.0205,
  151. element: 'physical',
  152. manaCost: 5,
  153. needLos: true,
  154. cdMax: 10,
  155. range: 9,
  156. random: {
  157. damage: [9.3, 18.6],
  158. i_delay: [4, 8]
  159. }
  160. },
  161. 'arcane barrier': {
  162. statType: 'int',
  163. statMult: 0.454,
  164. element: 'holy',
  165. cdMax: 10,
  166. manaCost: 10,
  167. range: 9,
  168. radius: 3,
  169. random: {
  170. healing: [0.7, 1.3],
  171. i_duration: [7, 13]
  172. }
  173. }
  174. };
  175. events.emit('onBeforeGetSpellsConfig', spells);
  176. return spells;
  177. });