Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

437 linhas
7.2 KiB

  1. let events = require('../misc/events');
  2. let spells = [{
  3. name: 'Melee',
  4. description: 'Performs a quick melee attack.',
  5. type: 'melee',
  6. icon: [7, 0]
  7. }, {
  8. name: 'Projectile',
  9. description: 'Performs a basic magical attack.',
  10. type: 'projectile',
  11. icon: [7, 1],
  12. animation: 'hitStaff',
  13. row: 11,
  14. col: 4,
  15. speed: 110,
  16. particles: {
  17. color: {
  18. start: ['ffeb38', 'ff6942'],
  19. end: ['ff6942', 'd43346']
  20. },
  21. scale: {
  22. start: {
  23. min: 2,
  24. max: 14
  25. },
  26. end: {
  27. min: 0,
  28. max: 8
  29. }
  30. },
  31. lifetime: {
  32. min: 1,
  33. max: 1
  34. },
  35. alpha: {
  36. start: 0.5,
  37. end: 0
  38. },
  39. randomScale: true,
  40. randomColor: true,
  41. chance: 0.25
  42. }
  43. }, {
  44. name: 'Magic Missile',
  45. description: 'Launches an orb of unfocused energy at your target.',
  46. type: 'projectile',
  47. icon: [1, 0],
  48. animation: 'hitStaff',
  49. particles: {
  50. color: {
  51. start: ['7a3ad3', '3fa7dd'],
  52. end: ['3fa7dd', '7a3ad3']
  53. },
  54. scale: {
  55. start: {
  56. min: 2,
  57. max: 14
  58. },
  59. end: {
  60. min: 0,
  61. max: 8
  62. }
  63. },
  64. lifetime: {
  65. min: 1,
  66. max: 3
  67. },
  68. alpha: {
  69. start: 0.7,
  70. end: 0
  71. },
  72. randomScale: true,
  73. randomColor: true,
  74. chance: 0.6
  75. }
  76. }, {
  77. name: 'Ice Spear',
  78. description: 'A jagged projectile of pure ice pierces your target and slows his movement.',
  79. type: 'iceSpear',
  80. icon: [1, 1],
  81. animation: 'hitStaff',
  82. particles: {
  83. color: {
  84. start: ['51fc9a', '48edff'],
  85. end: ['48edff', '44cb95']
  86. },
  87. scale: {
  88. start: {
  89. min: 2,
  90. max: 12
  91. },
  92. end: {
  93. min: 0,
  94. max: 6
  95. }
  96. },
  97. lifetime: {
  98. min: 1,
  99. max: 2
  100. },
  101. alpha: {
  102. start: 0.8,
  103. end: 0
  104. },
  105. randomScale: true,
  106. randomColor: true,
  107. frequency: 0.2
  108. }
  109. }, {
  110. name: 'Fireblast',
  111. description: 'Unleashes a blast of fire that damages and pushes back nearby foes.',
  112. type: 'fireblast',
  113. icon: [1, 2],
  114. animation: 'raiseStaff',
  115. particles: {
  116. color: {
  117. start: ['d43346', 'faac45'],
  118. end: ['c0c3cf', '929398']
  119. },
  120. scale: {
  121. start: {
  122. min: 4,
  123. max: 24
  124. },
  125. end: {
  126. min: 0,
  127. max: 12
  128. }
  129. },
  130. frequency: 0.02,
  131. emitterLifetime: 0.15,
  132. spawnType: 'circle',
  133. lifetime: {
  134. min: 1,
  135. max: 2
  136. },
  137. spawnCircle: {
  138. x: 0,
  139. y: 0,
  140. r: 8
  141. },
  142. speed: {
  143. start: {
  144. min: 4,
  145. max: 24
  146. },
  147. end: {
  148. min: 0,
  149. max: 12
  150. }
  151. },
  152. randomSpeed: true,
  153. randomScale: true,
  154. randomColor: true
  155. }
  156. }, {
  157. name: 'Smite',
  158. description: 'Calls down holy energy from the heavens upon your foe.',
  159. type: 'smite',
  160. row: 2,
  161. col: 0,
  162. icon: [0, 0],
  163. animation: 'hitStaff'
  164. }, {
  165. name: 'Consecrate',
  166. description: 'Creates a circle of pure holy energy that heals allies for a brief period.',
  167. type: 'healingCircle',
  168. icon: [0, 1],
  169. animation: 'raiseStaff',
  170. particles: {
  171. scale: {
  172. start: {
  173. min: 6,
  174. max: 16
  175. },
  176. end: {
  177. min: 0,
  178. max: 4
  179. }
  180. },
  181. speed: {
  182. start: {
  183. min: 2,
  184. max: 12
  185. },
  186. end: {
  187. min: 0,
  188. max: 4
  189. }
  190. },
  191. lifetime: {
  192. min: 1,
  193. max: 3
  194. },
  195. alpha: {
  196. start: 0.45,
  197. end: 0
  198. },
  199. color: {
  200. start: ['ffeb38', 'fcfcfc'],
  201. end: ['fcfcfc', 'faac45']
  202. },
  203. spawnType: 'circle',
  204. spawnCircle: {
  205. x: 0,
  206. y: 0,
  207. r: 12
  208. },
  209. randomScale: true,
  210. randomColor: true,
  211. randomSpeed: true,
  212. chance: 0.02
  213. }
  214. }, {
  215. name: 'Healing Touch',
  216. description: 'Restore health to a friendly target.',
  217. type: 'singleTargetHeal',
  218. spellType: 'heal',
  219. icon: [0, 3],
  220. animation: 'raiseStaff',
  221. particles: {
  222. scale: {
  223. start: {
  224. min: 6,
  225. max: 16
  226. },
  227. end: {
  228. min: 0,
  229. max: 4
  230. }
  231. },
  232. speed: {
  233. start: {
  234. min: 2,
  235. max: 12
  236. },
  237. end: {
  238. min: 0,
  239. max: 4
  240. }
  241. },
  242. lifetime: {
  243. min: 1,
  244. max: 3
  245. },
  246. alpha: {
  247. start: 0.45,
  248. end: 0
  249. },
  250. color: {
  251. start: ['ffeb38', 'fcfcfc'],
  252. end: ['fcfcfc', 'faac45']
  253. },
  254. spawnType: 'circle',
  255. spawnCircle: {
  256. x: 0,
  257. y: 0,
  258. r: 12
  259. },
  260. randomScale: true,
  261. randomColor: true,
  262. randomSpeed: true,
  263. chance: 0.02
  264. }
  265. }, {
  266. name: 'Holy Vengeance',
  267. description: 'Grants holy vengeance to a friendly target. For the duration of the effect, dealing damage will also heal the attacker.',
  268. type: 'holyVengeance',
  269. spellType: 'buff',
  270. icon: [0, 2]
  271. }, {
  272. name: 'Slash',
  273. description: 'Performs a melee attack with your equipped weapon.',
  274. type: 'slash',
  275. row: 0,
  276. col: 0,
  277. icon: [3, 0],
  278. animation: 'hitSword'
  279. }, {
  280. name: 'Charge',
  281. type: 'charge',
  282. description: 'Charges at a foe, dealing damage and stunning them for a short period.',
  283. icon: [3, 1],
  284. animation: 'raiseShield'
  285. }, {
  286. name: 'Reflect Damage',
  287. type: 'reflectdamage',
  288. description: 'Gain an ethereal shield that reflects damage until the buff wears off.',
  289. icon: [3, 2],
  290. animation: 'raiseShield'
  291. }, {
  292. name: 'Flurry',
  293. type: 'flurry',
  294. description: 'Grants a stack of frenzy, greatly inreasing your attack speed.',
  295. animation: 'hitSword',
  296. row: 1,
  297. col: 0,
  298. icon: [2, 3]
  299. }, {
  300. name: 'Smokebomb',
  301. type: 'smokeBomb',
  302. description: 'Envelops the caster in a cloud of poisonous smoke, dealing damage to enemies every tick until it dissipates.',
  303. animation: 'raiseHands',
  304. icon: [2, 1],
  305. particles: {
  306. scale: {
  307. start: {
  308. min: 16,
  309. max: 30
  310. },
  311. end: {
  312. min: 8,
  313. max: 14
  314. }
  315. },
  316. opacity: {
  317. start: 0.02,
  318. end: 0
  319. },
  320. lifetime: {
  321. min: 1,
  322. max: 3
  323. },
  324. speed: {
  325. start: 12,
  326. end: 2
  327. },
  328. color: {
  329. start: ['fcfcfc', '80f643'],
  330. end: ['c0c3cf', '2b4b3e']
  331. },
  332. chance: 0.03,
  333. randomColor: true,
  334. randomScale: true,
  335. blendMode: 'screen'
  336. }
  337. }, {
  338. name: 'Whirlwind',
  339. description: 'You furiously spin in a circle, striking all foes around you.',
  340. type: 'whirlwind',
  341. icon: [5, 0],
  342. row: 5,
  343. col: 0,
  344. frames: 3
  345. }, {
  346. name: 'Ambush',
  347. type: 'ambush',
  348. description: 'Step into the shadows and reappear behind your target before delivering a concussing blow.',
  349. icon: [2, 4],
  350. animation: 'raiseShield'
  351. }, {
  352. name: 'Stealth',
  353. description: 'The thief slips into the shadows and becomes undetectable by foes. Performing an attack removes this effect.',
  354. type: 'stealth',
  355. icon: [2, 2]
  356. },
  357. {
  358. name: 'Crystal Spikes',
  359. description: 'Jagged crystals break through the ground at your target destination',
  360. type: 'warnBlast',
  361. animation: 'raiseHands',
  362. icon: [0, 7],
  363. particles: {
  364. color: {
  365. start: ['c0c3cf', '929398'],
  366. end: ['929398', 'c0c3cf']
  367. },
  368. scale: {
  369. start: {
  370. min: 4,
  371. max: 10
  372. },
  373. end: {
  374. min: 0,
  375. max: 4
  376. }
  377. },
  378. speed: {
  379. start: {
  380. min: 2,
  381. max: 16
  382. },
  383. end: {
  384. min: 0,
  385. max: 8
  386. }
  387. },
  388. lifetime: {
  389. min: 1,
  390. max: 1
  391. },
  392. spawnType: 'circle',
  393. spawnCircle: {
  394. x: 0,
  395. y: 0,
  396. r: 12
  397. },
  398. randomScale: true,
  399. randomSpeed: true,
  400. chance: 0.075,
  401. randomColor: true
  402. }
  403. }, {
  404. name: 'Chain Lightning',
  405. description: 'Creates a circle of pure holy energy that heals allies for a brief period.',
  406. type: 'chainLightning',
  407. icon: [0, 1],
  408. animation: 'raiseStaff'
  409. }, {
  410. name: 'Innervation',
  411. description: 'Grants an aura that regenerates hp for you and your allies.',
  412. type: 'aura',
  413. spellType: 'aura',
  414. icon: [3, 3]
  415. }, {
  416. name: 'Tranquility',
  417. description: 'Grants an aura that regenerates mana for you and your allies.',
  418. type: 'aura',
  419. spellType: 'aura',
  420. icon: [3, 4]
  421. }, {
  422. name: 'Swiftness',
  423. description: 'Grants an aura that grants increased movement speed to you and your allies.',
  424. type: 'aura',
  425. spellType: 'aura',
  426. icon: [3, 5]
  427. }
  428. ];
  429. module.exports = {
  430. spells: spells,
  431. init: function () {
  432. events.emit('onBeforeGetSpellsInfo', spells);
  433. }
  434. };