quest_mantis.txt 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. //===== rAthena Script =======================================
  2. //= iRO Repeatable EXP Quests.
  3. //===== By: ==================================================
  4. //= Masao
  5. //===== Current Version: =====================================
  6. //= 1.0
  7. //===== Compatible With: =====================================
  8. //= rAthena SVN
  9. //===== Description: =========================================
  10. //= Custom Version.
  11. //= Repeatable EXP Quest : Kill 50 Mantis.
  12. //===== Additional Comments: =================================
  13. //= 1.0 First version.
  14. //============================================================
  15. lou_fild01,240,354,4 script Mantis Researcher 878,{
  16. if (checkquest(60179) != -1) {
  17. if (checkquest(60179,HUNTING) != 2 ) {
  18. mes "[Mantis Researcher]";
  19. mes "Have you finished hunting the 50 Mantis?";
  20. next;
  21. switch(select("Yes:No:I want to quit")) {
  22. case 1:
  23. mes "[Mantis Researcher]";
  24. mes "Hmm, I don't think you've hunted 50 yet.";
  25. close;
  26. case 2:
  27. mes "[Mantis Researcher]";
  28. mes "Remember, I need help hunting Mantis so go and hunt 50 of them.";
  29. close;
  30. case 3:
  31. mes "[Mantis Researcher]";
  32. mes "Are you sure that you want to stop hunting?";
  33. mes "Any progress that you've made will be erased";
  34. next;
  35. switch(select("Yes:No")) {
  36. case 1:
  37. mes "[Mantis Researcher]";
  38. mes "Ok then, well come back here if you change your mind.";
  39. erasequest 60179;
  40. close;
  41. case 2:
  42. mes "[Mantis Researcher]";
  43. mes "Please kill 50 Mantis in order to make this a Place were people can go to and gather Experience.";
  44. close;
  45. }
  46. }
  47. }
  48. mes "[Mantis Researcher]";
  49. mes "Amazing, you did that with speed.";
  50. getexp 18818,7527;
  51. erasequest 60179;
  52. close;
  53. }
  54. if ((BaseLevel > 34) && (BaseLevel < 71)) {
  55. mes "[Mantis Researcher]";
  56. mes "Oh great!";
  57. mes "You are here to help me right?";
  58. mes "If not, i don't know what to do with the Monsters in this Place!";
  59. next;
  60. switch(select("Sure:No")) {
  61. case 1:
  62. mes "[Mantis Researcher]";
  63. mes "Great! I knew the moment i saw you that i can count on you!";
  64. mes "I need you to reduce the Amount of Monsters which are currently rampaging on this Map!";
  65. mes "There are to many Mantis around, which makes it impossible for the lower level players to gain good experience here.";
  66. next;
  67. mes "[Mantis Researcher]";
  68. mes "So, would you still like to help me?";
  69. next;
  70. switch(select("Sure:Cancel")) {
  71. case 1:
  72. if(BaseLevel > 70){
  73. mes "[Mantis Researcher]";
  74. mes "Thank you for your great help with the Mantis!";
  75. mes "Currently the Situation is stable and i'm not in need of your help anymore to kill them.";
  76. close;
  77. }
  78. mes "[Mantis Researcher]";
  79. mes "Kill 50 of those Mantis and let me know when you're done. I will reward you for your efforts.";
  80. setquest 60179;
  81. close;
  82. case 2:
  83. mes "[Mantis Researcher]";
  84. mes "If you change your mind, please come back.";
  85. close;
  86. }
  87. case 2:
  88. mes "[Mantis Researcher]";
  89. mes "If you change your mind, please come back.";
  90. close;
  91. }
  92. }
  93. mes "[Mantis Researcher]";
  94. mes "Oh boy, Oh boy!";
  95. next;
  96. mes "[Mantis Researcher]";
  97. mes "Sorry I can't talk right now I am in a world of pain here, these darn Mantis are going to kill me.";
  98. close;
  99. }