xmas.txt 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. //===== rAthena Script =======================================
  2. //= X-mas Event
  3. //===== By: ==================================================
  4. //= rAthena Dev Team
  5. //===== Current Version: =====================================
  6. //= 1.4
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Beat up Antonios and grab his socks. Get at least 3 and
  11. //= give them to Santa Claus Claus in exchange for a present.
  12. //= Includes X-mas mobs.
  13. //= This npc will disable, the current Santa Claus npc.
  14. //===== Additional Comments: =================================
  15. //= Fixed the spawns [shadowlady]
  16. //= 1.1 Added Xmas Jakk, fixed 2 exploits, fixed reward Box ID [Lupus]
  17. //= 1.2 Added monsters to the newer fields, thanks to Muad_Dib [MasterOfMuppets]
  18. //= 1.2a Fixed a major problem with the monster spawns, thanks to Playtester [MasterOfMuppets]
  19. //= 1.2b Fixed a minor problem with the mosnter spawns, thanks to Playtester [Kayla]
  20. //= 1.3 Added Christmas Orc to the places where other orcs spawn [MasterOfMuppets]
  21. //= Added Christmas goblins to yuno_fild09, thanks to Playtester for pointing it out
  22. //= 1.4 Added a fix to make Lutie & Bard quests passable during this event [Lupus]
  23. //============================================================
  24. xmas_in,100,96,4 script Father Christmas::Santa2 718,{
  25. mes "[Santa Claus]";
  26. if(xmas_npc==0) set xmas_npc, 1; // For Lutie & Bard quest
  27. if(#event_xmas > 0 && #event_xmas < 30 ) goto L_Start;
  28. mes "Merry Christmas!";
  29. if(Class==0 || #event_xmas>=30 ) close; //anti exploit protection
  30. mes "I have a gift for you! Ho Ho Ho!";
  31. getitem rand(664,667),1; //gives one of 4 gift boxes
  32. set #event_xmas,#event_xmas+1;
  33. close;
  34. L_Start:
  35. mes "I'm having a bit of a problem...";
  36. mes "Do you care to listen?";
  37. next;
  38. menu "Listen to Santa Claus.",M_0, "Give Santa Claus proof.",M_1, "Cancel.",M_End;
  39. M_0:
  40. mes "[Santa Claus]";
  41. mes "My problem is this.";
  42. mes "There seems to be a man out there";
  43. mes "that is impersonating me and spreading";
  44. mes "terror throughout the land.";
  45. next;
  46. mes "[Santa Claus]";
  47. mes "Like the Grinch of legend, he's taking";
  48. mes "all the childrens' toys and keeping them";
  49. mes "for himself.";
  50. next;
  51. mes "[Santa Claus]";
  52. mes "I'm too busy here creating my batch of ";
  53. mes "toys for next year, so I can't go";
  54. mes "out and find him myself.";
  55. mes "So I would like you to go out and";
  56. mes "Destroy this man for me.";
  57. next;
  58. mes "[Santa Claus]";
  59. mes "He has in his posession one of my";
  60. mes "magic sacks, however, so he will";
  61. mes "escape into it to another place each";
  62. mes "time you attack him.";
  63. next;
  64. mes "[Santa Claus]";
  65. mes "However,";
  66. mes "In his haste, he tends to drop things.";
  67. mes "If by chance he drops one of his Stockings";
  68. mes "With Holes that he uses to steal the";
  69. mes "poor childrens' toys, pick it up.";
  70. next;
  71. mes "[Santa Claus]";
  72. mes "If you collect 3 of these, I will give";
  73. mes "you a prototype mystery box that";
  74. mes "I've been keeping around the";
  75. mes "lab. It spits out random presents";
  76. mes "and saves me a ton of work.";
  77. close;
  78. M_1:
  79. mes "[Santa Claus]";
  80. if(countitem(7034) < 3) goto L_NotEnuf;
  81. delitem 7034,3;
  82. mes "Seems you've been doing a";
  83. mes "good job of taking down those";
  84. mes "fake Santas. Keep it up!";
  85. next;
  86. getitem 644,1; //Gift Box Prototype
  87. set #event_xmas,#event_xmas+1;
  88. mes "[Santa Claus]";
  89. mes "There's your reward.";
  90. mes "If you get 3 more, I'll give you another.";
  91. mes "Hope you get a good item.";
  92. close;
  93. L_NotEnuf:
  94. mes "You don't have enough socks as proof.";
  95. mes "Go take down those evil Santas";
  96. mes "and get more for me and I'll reward you.";
  97. close;
  98. M_End:
  99. mes "[Santa Claus]";
  100. mes "I see. Well, at the very least";
  101. mes "we shall meet again on Christmas morning.";
  102. close;
  103. OnInit:
  104. disablenpc "Santa Claus";
  105. end;
  106. }
  107. // Xmas Goblin Spawns
  108. //============================================================
  109. prt_fild11,0,0 monster Christmas Goblin 1245,5
  110. gef_fild11,0,0 monster Christmas Goblin 1245,5
  111. yuno_fild09,0,0 monster Christmas Goblin 1245,5
  112. // Santa Poring Spawns
  113. //============================================================
  114. ein_fild03,0,0 monster Santa Poring 1062,15
  115. ein_fild04,0,0 monster Santa Poring 1062,15
  116. ein_fild06,0,0 monster Santa Poring 1062,15
  117. ein_fild07,0,0 monster Santa Poring 1062,15
  118. ein_fild08,0,0 monster Santa Poring 1062,15
  119. ein_fild09,0,0 monster Santa Poring 1062,15
  120. ein_fild10,0,0 monster Santa Poring 1062,15
  121. gef_fild00,0,0 monster Santa Poring 1062,15
  122. gef_fild01,0,0 monster Santa Poring 1062,15
  123. gef_fild02,0,0 monster Santa Poring 1062,15
  124. gef_fild03,0,0 monster Santa Poring 1062,15
  125. gef_fild04,0,0 monster Santa Poring 1062,15
  126. gef_fild05,0,0 monster Santa Poring 1062,15
  127. gef_fild07,0,0 monster Santa Poring 1062,15
  128. gef_fild08,0,0 monster Santa Poring 1062,15
  129. gef_fild09,0,0 monster Santa Poring 1062,15
  130. gef_fild10,0,0 monster Santa Poring 1062,15
  131. gef_fild11,0,0 monster Santa Poring 1062,15
  132. gef_fild12,0,0 monster Santa Poring 1062,15
  133. gef_fild13,0,0 monster Santa Poring 1062,15
  134. gef_fild14,0,0 monster Santa Poring 1062,15
  135. glast_01,0,0 monster Santa Poring 1062,15
  136. lhz_fild01,0,0 monster Santa Poring 1062,15
  137. lhz_fild02,0,0 monster Santa Poring 1062,15
  138. lhz_fild03,0,0 monster Santa Poring 1062,15
  139. mjolnir_01,0,0 monster Santa Poring 1062,15
  140. mjolnir_02,0,0 monster Santa Poring 1062,15
  141. mjolnir_03,0,0 monster Santa Poring 1062,15
  142. mjolnir_04,0,0 monster Santa Poring 1062,15
  143. mjolnir_05,0,0 monster Santa Poring 1062,15
  144. mjolnir_06,0,0 monster Santa Poring 1062,15
  145. mjolnir_07,0,0 monster Santa Poring 1062,15
  146. mjolnir_08,0,0 monster Santa Poring 1062,15
  147. mjolnir_09,0,0 monster Santa Poring 1062,15
  148. mjolnir_10,0,0 monster Santa Poring 1062,15
  149. mjolnir_11,0,0 monster Santa Poring 1062,15
  150. mjolnir_12,0,0 monster Santa Poring 1062,15
  151. moc_fild01,0,0 monster Santa Poring 1062,15
  152. moc_fild02,0,0 monster Santa Poring 1062,15
  153. moc_fild03,0,0 monster Santa Poring 1062,15
  154. moc_fild04,0,0 monster Santa Poring 1062,15
  155. moc_fild05,0,0 monster Santa Poring 1062,15
  156. moc_fild06,0,0 monster Santa Poring 1062,15
  157. moc_fild07,0,0 monster Santa Poring 1062,15
  158. moc_fild08,0,0 monster Santa Poring 1062,15
  159. moc_fild09,0,0 monster Santa Poring 1062,15
  160. moc_fild10,0,0 monster Santa Poring 1062,15
  161. moc_fild11,0,0 monster Santa Poring 1062,15
  162. moc_fild12,0,0 monster Santa Poring 1062,15
  163. moc_fild13,0,0 monster Santa Poring 1062,15
  164. moc_fild14,0,0 monster Santa Poring 1062,15
  165. moc_fild15,0,0 monster Santa Poring 1062,15
  166. moc_fild16,0,0 monster Santa Poring 1062,15
  167. moc_fild17,0,0 monster Santa Poring 1062,15
  168. moc_fild18,0,0 monster Santa Poring 1062,15
  169. pay_fild01,0,0 monster Santa Poring 1062,15
  170. pay_fild02,0,0 monster Santa Poring 1062,15
  171. pay_fild03,0,0 monster Santa Poring 1062,15
  172. pay_fild04,0,0 monster Santa Poring 1062,15
  173. pay_fild05,0,0 monster Santa Poring 1062,15
  174. pay_fild06,0,0 monster Santa Poring 1062,15
  175. pay_fild07,0,0 monster Santa Poring 1062,15
  176. pay_fild08,0,0 monster Santa Poring 1062,15
  177. pay_fild09,0,0 monster Santa Poring 1062,15
  178. pay_fild10,0,0 monster Santa Poring 1062,15
  179. pay_fild11,0,0 monster Santa Poring 1062,15
  180. prt_fild00,0,0 monster Santa Poring 1062,15
  181. prt_fild01,0,0 monster Santa Poring 1062,15
  182. prt_fild02,0,0 monster Santa Poring 1062,15
  183. prt_fild03,0,0 monster Santa Poring 1062,15
  184. prt_fild04,0,0 monster Santa Poring 1062,15
  185. prt_fild05,0,0 monster Santa Poring 1062,15
  186. prt_fild06,0,0 monster Santa Poring 1062,15
  187. prt_fild07,0,0 monster Santa Poring 1062,15
  188. prt_fild08,0,0 monster Santa Poring 1062,15
  189. prt_fild09,0,0 monster Santa Poring 1062,15
  190. prt_fild10,0,0 monster Santa Poring 1062,15
  191. prt_fild11,0,0 monster Santa Poring 1062,15
  192. xmas_fild01,0,0 monster Santa Poring 1062,15
  193. cmd_fild01,0,0 monster Santa Poring 1062,15
  194. cmd_fild02,0,0 monster Santa Poring 1062,15
  195. cmd_fild03,0,0 monster Santa Poring 1062,15
  196. cmd_fild04,0,0 monster Santa Poring 1062,15
  197. cmd_fild05,0,0 monster Santa Poring 1062,15
  198. cmd_fild06,0,0 monster Santa Poring 1062,15
  199. cmd_fild07,0,0 monster Santa Poring 1062,15
  200. cmd_fild08,0,0 monster Santa Poring 1062,15
  201. cmd_fild09,0,0 monster Santa Poring 1062,15
  202. yuno_fild01,0,0 monster Santa Poring 1062,15
  203. yuno_fild02,0,0 monster Santa Poring 1062,15
  204. yuno_fild03,0,0 monster Santa Poring 1062,15
  205. yuno_fild04,0,0 monster Santa Poring 1062,15
  206. yuno_fild05,0,0 monster Santa Poring 1062,15
  207. yuno_fild06,0,0 monster Santa Poring 1062,15
  208. yuno_fild07,0,0 monster Santa Poring 1062,15
  209. yuno_fild08,0,0 monster Santa Poring 1062,15
  210. yuno_fild09,0,0 monster Santa Poring 1062,15
  211. yuno_fild11,0,0 monster Santa Poring 1062,15
  212. yuno_fild12,0,0 monster Santa Poring 1062,15
  213. ama_fild01,0,0 monster Santa Poring 1062,15
  214. gon_fild01,0,0 monster Santa Poring 1062,15
  215. um_fild01,0,0 monster Santa Poring 1062,15
  216. um_fild02,0,0 monster Santa Poring 1062,15
  217. um_fild03,0,0 monster Santa Poring 1062,15
  218. um_fild04,0,0 monster Santa Poring 1062,15
  219. nif_fild01,0,0 monster Santa Poring 1062,15
  220. nif_fild02,0,0 monster Santa Poring 1062,15
  221. lou_fild01,0,0 monster Santa Poring 1062,15
  222. hu_fild01,0,0 monster Santa Poring 1062,15
  223. hu_fild04,0,0 monster Santa Poring 1062,15
  224. hu_fild05,0,0 monster Santa Poring 1062,15
  225. hu_fild07,0,0 monster Santa Poring 1062,15
  226. // Antonio Spawns
  227. //============================================================
  228. ein_fild03,0,0 monster Antonio 1247,1
  229. ein_fild04,0,0 monster Antonio 1247,1
  230. ein_fild06,0,0 monster Antonio 1247,1
  231. ein_fild07,0,0 monster Antonio 1247,1
  232. ein_fild08,0,0 monster Antonio 1247,1
  233. ein_fild09,0,0 monster Antonio 1247,1
  234. ein_fild10,0,0 monster Antonio 1247,1
  235. gef_fild00,0,0 monster Antonio 1247,1
  236. gef_fild01,0,0 monster Antonio 1247,1
  237. gef_fild02,0,0 monster Antonio 1247,1
  238. gef_fild03,0,0 monster Antonio 1247,1
  239. gef_fild04,0,0 monster Antonio 1247,1
  240. gef_fild05,0,0 monster Antonio 1247,1
  241. gef_fild07,0,0 monster Antonio 1247,1
  242. gef_fild08,0,0 monster Antonio 1247,1
  243. gef_fild09,0,0 monster Antonio 1247,1
  244. gef_fild10,0,0 monster Antonio 1247,1
  245. gef_fild11,0,0 monster Antonio 1247,1
  246. gef_fild12,0,0 monster Antonio 1247,1
  247. gef_fild13,0,0 monster Antonio 1247,1
  248. gef_fild14,0,0 monster Antonio 1247,1
  249. glast_01,0,0 monster Antonio 1247,1
  250. lhz_fild01,0,0 monster Antonio 1247,1
  251. lhz_fild02,0,0 monster Antonio 1247,1
  252. lhz_fild03,0,0 monster Antonio 1247,1
  253. mjolnir_01,0,0 monster Antonio 1247,1
  254. mjolnir_02,0,0 monster Antonio 1247,1
  255. mjolnir_03,0,0 monster Antonio 1247,1
  256. mjolnir_04,0,0 monster Antonio 1247,1
  257. mjolnir_05,0,0 monster Antonio 1247,1
  258. mjolnir_06,0,0 monster Antonio 1247,1
  259. mjolnir_07,0,0 monster Antonio 1247,1
  260. mjolnir_08,0,0 monster Antonio 1247,1
  261. mjolnir_09,0,0 monster Antonio 1247,1
  262. mjolnir_10,0,0 monster Antonio 1247,1
  263. mjolnir_11,0,0 monster Antonio 1247,1
  264. mjolnir_12,0,0 monster Antonio 1247,1
  265. moc_fild01,0,0 monster Antonio 1247,1
  266. moc_fild02,0,0 monster Antonio 1247,1
  267. moc_fild03,0,0 monster Antonio 1247,1
  268. moc_fild04,0,0 monster Antonio 1247,1
  269. moc_fild05,0,0 monster Antonio 1247,1
  270. moc_fild06,0,0 monster Antonio 1247,1
  271. moc_fild07,0,0 monster Antonio 1247,1
  272. moc_fild08,0,0 monster Antonio 1247,1
  273. moc_fild09,0,0 monster Antonio 1247,1
  274. moc_fild10,0,0 monster Antonio 1247,1
  275. moc_fild11,0,0 monster Antonio 1247,1
  276. moc_fild12,0,0 monster Antonio 1247,1
  277. moc_fild13,0,0 monster Antonio 1247,1
  278. moc_fild14,0,0 monster Antonio 1247,1
  279. moc_fild15,0,0 monster Antonio 1247,1
  280. moc_fild16,0,0 monster Antonio 1247,1
  281. moc_fild17,0,0 monster Antonio 1247,1
  282. moc_fild18,0,0 monster Antonio 1247,1
  283. pay_fild01,0,0 monster Antonio 1247,1
  284. pay_fild02,0,0 monster Antonio 1247,1
  285. pay_fild03,0,0 monster Antonio 1247,1
  286. pay_fild04,0,0 monster Antonio 1247,1
  287. pay_fild05,0,0 monster Antonio 1247,1
  288. pay_fild06,0,0 monster Antonio 1247,1
  289. pay_fild07,0,0 monster Antonio 1247,1
  290. pay_fild08,0,0 monster Antonio 1247,1
  291. pay_fild09,0,0 monster Antonio 1247,1
  292. pay_fild10,0,0 monster Antonio 1247,1
  293. pay_fild11,0,0 monster Antonio 1247,1
  294. prt_fild00,0,0 monster Antonio 1247,1
  295. prt_fild01,0,0 monster Antonio 1247,1
  296. prt_fild02,0,0 monster Antonio 1247,1
  297. prt_fild03,0,0 monster Antonio 1247,1
  298. prt_fild04,0,0 monster Antonio 1247,1
  299. prt_fild05,0,0 monster Antonio 1247,1
  300. prt_fild06,0,0 monster Antonio 1247,1
  301. prt_fild07,0,0 monster Antonio 1247,1
  302. prt_fild08,0,0 monster Antonio 1247,1
  303. prt_fild09,0,0 monster Antonio 1247,1
  304. prt_fild10,0,0 monster Antonio 1247,1
  305. prt_fild11,0,0 monster Antonio 1247,1
  306. xmas_fild01,0,0 monster Antonio 1247,1
  307. cmd_fild01,0,0 monster Antonio 1247,1
  308. cmd_fild02,0,0 monster Antonio 1247,1
  309. cmd_fild03,0,0 monster Antonio 1247,1
  310. cmd_fild04,0,0 monster Antonio 1247,1
  311. cmd_fild05,0,0 monster Antonio 1247,1
  312. cmd_fild06,0,0 monster Antonio 1247,1
  313. cmd_fild07,0,0 monster Antonio 1247,1
  314. cmd_fild08,0,0 monster Antonio 1247,1
  315. cmd_fild09,0,0 monster Antonio 1247,1
  316. yuno_fild01,0,0 monster Antonio 1247,1
  317. yuno_fild02,0,0 monster Antonio 1247,1
  318. yuno_fild03,0,0 monster Antonio 1247,1
  319. yuno_fild04,0,0 monster Antonio 1247,1
  320. yuno_fild05,0,0 monster Antonio 1247,1
  321. yuno_fild06,0,0 monster Antonio 1247,1
  322. yuno_fild07,0,0 monster Antonio 1247,1
  323. yuno_fild08,0,0 monster Antonio 1247,1
  324. yuno_fild09,0,0 monster Antonio 1247,1
  325. yuno_fild11,0,0 monster Antonio 1247,1
  326. yuno_fild12,0,0 monster Antonio 1247,1
  327. ama_fild01,0,0 monster Antonio 1247,1
  328. gon_fild01,0,0 monster Antonio 1247,1
  329. um_fild01,0,0 monster Antonio 1247,1
  330. um_fild02,0,0 monster Antonio 1247,1
  331. um_fild03,0,0 monster Antonio 1247,1
  332. um_fild04,0,0 monster Antonio 1247,1
  333. nif_fild01,0,0 monster Antonio 1247,1
  334. nif_fild02,0,0 monster Antonio 1247,1
  335. lou_fild01,0,0 monster Antonio 1247,1
  336. hu_fild01,0,0 monster Antonio 1247,1
  337. hu_fild04,0,0 monster Antonio 1247,1
  338. hu_fild05,0,0 monster Antonio 1247,1
  339. hu_fild07,0,0 monster Antonio 1247,1
  340. // Xmas Jakk Spawns
  341. //============================================================
  342. gef_dun01,0,0 monster Xmas Jakk 1244,5
  343. //gefenia02,0,0 monster Xmas Jakk 1244,5
  344. // Xmas Orc Spawns
  345. //============================================================
  346. gef_fild02,0,0 monster Christmas Orc 1588,5
  347. gef_fild03,0,0 monster Christmas Orc 1588,5
  348. gef_fild10,0,0 monster Christmas Orc 1588,5
  349. gef_fild14,0,0 monster Christmas Orc 1588,5
  350. alde_dun02,0,0 monster Christmas Orc 1588,5