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.
 
 
 

157 lines
2.6 KiB

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