Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

67 lignes
881 B

  1. let events = require('../misc/events');
  2. module.exports = {
  3. list: ['bear', 'owl', 'lynx'],
  4. portraits: {
  5. bear: {
  6. x: 0,
  7. y: 0
  8. },
  9. owl: {
  10. x: 2,
  11. y: 0
  12. },
  13. lynx: {
  14. x: 3,
  15. y: 0
  16. }
  17. },
  18. spells: {
  19. owl: ['magic missile', 'ice spear'],
  20. bear: ['slash', 'charge'],
  21. lynx: ['flurry', 'smokebomb']
  22. },
  23. stats: {
  24. owl: {
  25. values: {
  26. hpMax: 35,
  27. hpPerLevel: 32
  28. },
  29. gainStats: {
  30. int: 1
  31. }
  32. },
  33. lynx: {
  34. values: {
  35. hpMax: 45,
  36. hpPerLevel: 36
  37. },
  38. gainStats: {
  39. dex: 1
  40. }
  41. },
  42. bear: {
  43. values: {
  44. hpMax: 55,
  45. hpPerLevel: 40
  46. },
  47. gainStats: {
  48. str: 1
  49. }
  50. }
  51. },
  52. weapons: {
  53. owl: 'Gnarled Staff',
  54. lynx: 'Dagger',
  55. bear: 'Sword'
  56. },
  57. getSpritesheet: function (className) {
  58. return this.stats[className].spritesheet || 'characters';
  59. },
  60. init: function () {
  61. events.emit('onBeforeGetSpirits', this);
  62. }
  63. };