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.
 
 
 

163 linhas
2.7 KiB

  1. define([
  2. ], function (
  3. ) {
  4. return {
  5. name: `Beware Lord Squash`,
  6. description: `Lord Squash haunts the island. Stop him in the name of the Pumpkin Sailor.`,
  7. distance: -1,
  8. cron: '0 */2 1-31 10 *',
  9. disabled: true,
  10. events: {
  11. },
  12. helpers: {
  13. },
  14. phases: [{
  15. type: 'spawnMob',
  16. spawnRect: {
  17. x: 63,
  18. y: 34
  19. },
  20. mobs: [{
  21. name: 'Lord Squash',
  22. level: 10,
  23. attackable: true,
  24. cell: 0,
  25. sheetName: `server/mods/event-halloween/images/bosses.png`,
  26. id: 'lordSquash',
  27. hpMult: 55,
  28. dmgMult: 40,
  29. grantRep: {
  30. pumpkinSailor: 2000
  31. },
  32. pos: {
  33. x: 0,
  34. y: 0
  35. },
  36. drops: {
  37. chance: 100,
  38. rolls: 2,
  39. noRandom: true,
  40. blueprints: [{
  41. chance: 5,
  42. name: 'Haunted Ice Spear',
  43. type: 'mtx',
  44. effects: [{
  45. mtx: 'hauntedIceSpear'
  46. }],
  47. spritesheet: `server/mods/event-halloween/images/items.png`,
  48. sprite: [3, 0],
  49. noSpell: true,
  50. noDrop: true,
  51. noDestroy: true,
  52. noSalvage: true
  53. }, {
  54. chance: 100,
  55. name: 'Candy Corn',
  56. spritesheet: `server/mods/event-halloween/images/items.png`,
  57. material: true,
  58. sprite: [3, 3],
  59. noSpell: true,
  60. quantity: [30, 60]
  61. }]
  62. },
  63. properties: {
  64. cpnBumpAnimation: {
  65. type: 'bumpAnimation',
  66. simplify: function () {
  67. return {
  68. type: 'bumpAnimation',
  69. infinite: true,
  70. deltaX: 0,
  71. deltaY: -1,
  72. updateCdMax: 4
  73. };
  74. }
  75. }
  76. },
  77. chats: {
  78. global: true,
  79. chance: 1,
  80. cdMax: 350,
  81. chats: [{
  82. msg: 'Souls! Souls! Delicious Souls!'
  83. }, {
  84. msg: '*Gobble Gobble Gobble*'
  85. }, {
  86. msg: 'Come, Sailor. I will be your match!'
  87. }]
  88. },
  89. spells: [{
  90. type: 'scatterPumpkinPieces'
  91. }, {
  92. type: 'projectile',
  93. row: 3,
  94. col: 4,
  95. shootAll: true,
  96. particles: {
  97. color: {
  98. start: ['51fc9a', '48edff'],
  99. end: ['48edff', '51fc9a']
  100. },
  101. scale: {
  102. start: {
  103. min: 2,
  104. max: 12
  105. },
  106. end: {
  107. min: 0,
  108. max: 6
  109. }
  110. },
  111. lifetime: {
  112. min: 2,
  113. max: 4
  114. },
  115. alpha: {
  116. start: 0.7,
  117. end: 0
  118. },
  119. speed: {
  120. start: {
  121. min: 4,
  122. max: 24
  123. },
  124. end: {
  125. min: 0,
  126. max: 12
  127. }
  128. },
  129. startRotation: {
  130. min: 0,
  131. max: 360
  132. },
  133. rotationSpeed: {
  134. min: 0,
  135. max: 360
  136. },
  137. randomScale: true,
  138. randomColor: true,
  139. randomSpeed: true,
  140. chance: 0.55,
  141. spawnType: 'circle',
  142. spawnCircle: {
  143. x: 0,
  144. y: 0,
  145. r: 8
  146. }
  147. }
  148. }]
  149. }]
  150. }, {
  151. type: 'killMob',
  152. mobs: ['lordSquash']
  153. }]
  154. };
  155. });