kahohorn.txt 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //===== rAthena Script =======================================
  2. //= Lord Kaho's Horns Quest
  3. //===== By: ==================================================
  4. //= ?
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Custom quest for Lord Kaho's Horns.
  11. //===== Additional Comments: =================================
  12. //= 1.1 Optimized, and fixed some requirements. [Euphy]
  13. //============================================================
  14. geffen,115,107,5 script Lord Kaho's Servant 61,{
  15. setarray .@Items[0],7005, 968, 923, 734, 724,2268,7036,7020,5053,7018,741,742,743,750,751,752,753,754;
  16. setarray .@Drops[0],1272,1087,1039,1260,1046,1115,1252,1147,1038,1059;
  17. set .@n$, "[Lord Kaho's Servant]";
  18. mes .@n$;
  19. mes "I worked myself to death trying to fulfill Lord Kaho's ridiculous expectations for a headgear!";
  20. mes "Now that I've finally found the formula for the perfect headgear, I'm willing to share my time and talents.";
  21. next;
  22. mes .@n$;
  23. mes "You need the following to get the Kaho horns:";
  24. mes "3x ^0055FFEmperium^000000";
  25. next;
  26. mes .@n$;
  27. mes "Oh yeah...";
  28. mes "I also forgot to mention these...";
  29. next;
  30. mes .@n$;
  31. for(set .@i,0; .@i<10; set .@i,.@i+1)
  32. mes "1x ^0055FF"+getitemname(.@Items[.@i])+"^000000 (from "+strmobinfo(1,.@Drops[.@i])+")";
  33. next;
  34. mes .@n$;
  35. mes "We're not done yet, sweetie...";
  36. mes "I'm a big fan of dolls, so you need to bring me these cuties!";
  37. for(set .@i,10; .@i<18; set .@i,.@i+1)
  38. mes "1x ^0055FF"+getitemname(.@Items[.@i])+"^000000";
  39. next;
  40. mes .@n$;
  41. mes "Finally, I've worked hard to make these horns for my master with all the items mentioned above...";
  42. mes "Please include ^0055FF5 million Zeny^000000 for my efforts.";
  43. next;
  44. mes .@n$;
  45. mes "Are you ready for me to make this special item?";
  46. next;
  47. if(select("Sure am!:These requirements are unfathomable!")==2) {
  48. mes .@n$;
  49. mes "What I had to go through was more unfathomable...";
  50. mes "If you succeed in getting these items, you will have incredible strength!";
  51. close; }
  52. mes .@n$;
  53. for(set .@i,0; .@i<18; set .@i,.@i+1)
  54. if (!countitem(.@Items[.@i])) { set .@nr,1; break; }
  55. if (.@nr || countitem(714) < 3 || Zeny < 5000000) {
  56. mes "I can't afford to make this if you don't bring all materials needed. Please understand this is to benefit heroes such as yourself!";
  57. close; }
  58. for(set .@i,0; .@i<18; set .@i,.@i+1)
  59. delitem .@Items[.@i],1;
  60. delitem 714,3;
  61. set Zeny, Zeny-5000000;
  62. mes "Wow! You are brave indeed!";
  63. getitem 5013,1;
  64. mes "Enjoy being God of Rune-Midgard!";
  65. close;
  66. }