Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

131 rader
2.2 KiB

  1. module.exports = [{
  2. name: 'Rodriguez Heist',
  3. description: `Rodriguez, the Hermit's only chicken companion, has been kidnapped by a band of imps. Who knows what they plan on doing with him.`,
  4. phases: [{
  5. type: 'spawnMob',
  6. spawnRect: {
  7. x: 70,
  8. y: 40
  9. },
  10. mobs: [{
  11. amount: 4,
  12. name: 'Thieving Imp',
  13. attackable: false,
  14. level: 5,
  15. cell: 51,
  16. id: 'impthief-$',
  17. hpMult: 5,
  18. dmgMult: 1,
  19. drops: {
  20. rolls: 0
  21. },
  22. pos: [{
  23. x: 0,
  24. y: 0
  25. }, {
  26. x: 4,
  27. y: 0
  28. }, {
  29. x: 0,
  30. y: 4
  31. }, {
  32. x: 4,
  33. y: 4
  34. }]
  35. }, {
  36. name: 'Imp Kingpin',
  37. level: 8,
  38. attackable: false,
  39. cell: 52,
  40. id: 'imp-kingpin',
  41. hpMult: 10,
  42. dmgMult: 2,
  43. pos: {
  44. x: 2,
  45. y: 2
  46. }
  47. }, {
  48. name: 'Rodriguez',
  49. exists: true,
  50. pos: {
  51. x: 3,
  52. y: 2
  53. }
  54. }]
  55. }, {
  56. type: 'locateMob',
  57. announce: 'Locate the thieves',
  58. mobs: 'imp-kingpin',
  59. distance: 3
  60. }, {
  61. type: 'eventChain',
  62. config: [{
  63. type: 'mobTalk',
  64. id: 'impthief-1',
  65. text: `Boss! They're onto us!`,
  66. delay: 10
  67. }, {
  68. type: 'mobTalk',
  69. id: 'impthief-2',
  70. text: `They'll take the chicken. We needs it!`,
  71. delay: 10
  72. }, {
  73. type: 'mobTalk',
  74. id: 'imp-kingpin',
  75. text: `They'll never have her, she's ours now! Kill them!`,
  76. delay: 10
  77. }, {
  78. type: 'addComponents',
  79. mobs: ['impthief-0', 'impthief-1', 'impthief-2', 'impthief-3'],
  80. components: [{
  81. type: 'aggro',
  82. faction: 'forest imps'
  83. }]
  84. }]
  85. }, {
  86. type: 'killMob',
  87. mobs: ['impthief-0', 'impthief-1', 'impthief-2', 'impthief-3']
  88. }, {
  89. type: 'eventChain',
  90. config: [{
  91. type: 'mobTalk',
  92. id: 'imp-kingpin',
  93. text: `I have a thousand more imps. Come, I'll finish this now.`,
  94. delay: 10
  95. }, {
  96. type: 'addComponents',
  97. mobs: 'imp-kingpin',
  98. components: [{
  99. type: 'aggro',
  100. faction: 'forest imps'
  101. }]
  102. }]
  103. }, {
  104. type: 'killMob',
  105. mobs: 'imp-kingpin',
  106. percentage: 0.2
  107. }, {
  108. type: 'eventChain',
  109. config: [{
  110. type: 'removeComponents',
  111. mobs: 'imp-kingpin',
  112. components: 'aggro'
  113. }, {
  114. type: 'mobTalk',
  115. id: 'imp-kingpin',
  116. text: `Aargh, no! I must get to my lair!`,
  117. delay: 10
  118. }]
  119. }, {
  120. type: 'spawnMob',
  121. mobs: {
  122. name: 'Imp Kingpin',
  123. exists: true,
  124. pos: {
  125. x: 90,
  126. y: 25
  127. }
  128. }
  129. }]
  130. }];