Jfunc2-2.txt 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. //===== eAthena Script =======================================
  2. //= Global Job Function
  3. //===== By: ==================================================
  4. //= massdriller
  5. //===== Current Version: =====================================
  6. //= 0.1
  7. //===== Compatible With: =====================================
  8. //= eAthena 1.0 +
  9. //===== Description: =========================================
  10. //= Optimised scripts by moving all their checkers here.
  11. //===== Additional Comments: =================================
  12. //= For 2-2 Job Quests
  13. //============================================================
  14. //Alchemist Check
  15. function script Alc_check {
  16. if(BaseJob == Job_Alchem) goto L_Alch;
  17. if(BaseJob == Job_Alchem || BaseJob == Job_Alchem) goto L_Other;
  18. return;
  19. L_Other:
  20. mes "Welcome to the Alchemist Union. Ah, I apologize but I'm busy right now.";
  21. close;
  22. L_Alch:
  23. mes "Hey there fellow Alchemist. How's the business going? Good I hope, well good luck to you.";
  24. close;
  25. }
  26. //Rogue Questions
  27. function script RogQ_check {
  28. savepoint "in_rogue.gat",366,114;
  29. set @score, 0;
  30. set ROGUE_Q, 1;
  31. set @temp, rand(2);
  32. if(@temp == 1) goto L_QSet2;
  33. L_QSet1:
  34. mes "[Markie]";
  35. mes "1) What is the added flee rate that a Thief recieves when the ^5533FFImprove Dodge^000000 skill is ^5533FFmastered^000000?";
  36. next;
  37. menu "20",sM1_1, "30",-, "40",sM1_1, "160",sM1_1;
  38. set @score, @score + 10;
  39. sM1_1:
  40. mes "[Markie]";
  41. mes "2) Choose a monster that cannot detect a hidden or cloaked character?";
  42. next;
  43. menu "Mummy",sM1_2, "Worm Tail",-, "Argos",sM1_2, "Soldier Skeleton",sM1_2;
  44. set @score, @score + 10;
  45. sM1_2:
  46. mes "[Markie]";
  47. mes "3) Where is the Rogue guild located?";
  48. next;
  49. menu "Comodo",sM1_3, "Kokomo Beach",sM1_3, "Pharos Lightouse",-, "Morroc",sM1_3;
  50. set @score, @score + 10;
  51. sM1_3:
  52. mes "[Markie]";
  53. mes "4) In which of the following towns, can you become a Thief?";
  54. next;
  55. menu "Comodo",sM1_4, "Lutie",sM1_4, "Alberta",sM1_4, "Morroc",-;
  56. set @score, @score + 10;
  57. sM1_4:
  58. mes "[Markie]";
  59. mes "5) Choose the card that does ^FF3355not^000000 have an effect on a players ^5533FFDEX stat^000000...";
  60. next;
  61. menu "Rocker Card",sM1_5, "Mummy Card",-, "Zerom Card",sM1_5, "Drops",sM1_5;
  62. set @score, @score + 10;
  63. sM1_5:
  64. mes "[Markie]";
  65. mes "6) What do you think is cool about being a Rogue?";
  66. next;
  67. menu "Being a bad ass",sM1_6, "Being a hypocrite",sM1_6, "Being shameless",sM1_6, "Having excellent attack strength",-;
  68. set @score, @score + 10;
  69. sM1_6:
  70. mes "[Markie]";
  71. mes "7) At what job level can you change from a Thief to a Rogue?";
  72. next;
  73. menu "At job lvl 30",sM1_7, "At job lvl 35",sM1_7, "At job lvl 40",-, "At job lvl 50",-;
  74. set @score, @score + 10;
  75. sM1_7:
  76. mes "[Markie]";
  77. mes "8) If you wanted to dye your hair a different color, where would you have to go to do that?";
  78. next;
  79. menu "Building in SouthWestern part of Morroc",sM1_8, "Building in SouthWestern part of Prontera",-,
  80. "Building in SouthEastern part of Morroc",sM1_8, "Building in NorthEastern part of Prontera",sM1_8;
  81. set @score, @score + 10;
  82. sM1_8:
  83. mes "[Markie]";
  84. mes "9) What mushrooms do you need to steal in order to become a Thief?";
  85. next;
  86. menu "Orange Gooey Mushrooms",-, "Red Hairy Mushrooms",sM1_9, "Orange Net Mushrooms",-, "Orange Sticky Mushrooms",sM1_9;
  87. set @score, @score + 10;
  88. sM1_9:
  89. mes "[Markie]";
  90. mes "10) Which of these cards is ^FF3355useless^000000 to a Rogue?";
  91. next;
  92. menu "Whisper Card",sM1_10, "Elder Willow Card",-, "Zerom Card",sM1_10, "Matyr Card",sM1_10;
  93. set @score, @score + 10;
  94. sM1_10:
  95. goto L_Score;
  96. L_QSet2:
  97. mes "[Markie]";
  98. mes "1) What skill do you need to learn before you can learn ^5533FFTunnel Drive^000000?";
  99. next;
  100. menu "Hiding",-, "Steal",sM2_1, "Improve Dodge",sM2_1, "Bash",sM2_1;
  101. set @score, @score + 10;
  102. sM2_1:
  103. mes "[Markie]";
  104. mes "2) How much more of a discount can a Rogue get with the ^5533FFHaggel^000000 skill than a merchant can with the ^5533FFDiscount^000000 skill?";
  105. next;
  106. menu "3%",sM2_2, "2%",sM2_2, "1%",-, "0%",sM2_2;
  107. set @score, @score + 10;
  108. sM2_2:
  109. mes "[Markie]";
  110. mes "3) What is the correct description for the skill ^5533FFMug^000000?";
  111. next;
  112. menu "Steal Items from players",sM2_3, "Steal Items from monsters",sM2_3, "Steal Zeny from monsters",-, "Steal Zeny from players",sM2_3;
  113. set @score, @score + 10;
  114. sM2_3:
  115. mes "[Markie]";
  116. mes "4) How many Rogues are required to activate the skill ^5533FFGangster's Paradise^000000?";
  117. next;
  118. menu "1 Rogue + 2 Assassins",sM2_4, "2 Rogues + 1 Thief",sM2_4, "4 Thieves",sM2_4, "2 or more Rogues",-;
  119. set @score, @score + 10;
  120. sM2_4:
  121. mes "[Markie]";
  122. mes "5) After increasing ^5533FFDivest Helm^000000 to level 5, what other skill becomes available for you learn?";
  123. next;
  124. menu "Envenom",sM2_5, "Strip Tease",sM2_5, "Venom Splasher",sM2_5, "Divest Shield",-;
  125. set @score, @score + 10;
  126. sM2_5:
  127. mes "[Markie]";
  128. mes "6) Choose a skill that allows its user to move while being hidden?";
  129. next;
  130. menu "Hiding",sM2_6, "Back Slide",sM2_6, "Tunnel Drive",-, "Sand Attack",sM2_6;
  131. set @score, @score + 10;
  132. sM2_6:
  133. mes "[Markie]";
  134. mes "7) Choose the card that increases the ^5533FFaccuracy rate^000000 of its owner?";
  135. next;
  136. menu "Andre",sM2_7, "Familiar",sM2_7, "Mummy",-, "Marina",sM2_7;
  137. set @score, @score + 10;
  138. sM2_7:
  139. mes "[Markie]";
  140. mes "8) Choose the monster that receives more damage when attacked by a weapon with a Vadon card attached to it?";
  141. mes "(Vadon card inflicts 20% more damage to fire property monsters)";
  142. next;
  143. menu "Vadon",sM2_8, "Deviruchi",sM2_8, "Elder Willow",-, "Baphomet",sM2_8;
  144. set @score, @score + 10;
  145. sM2_8:
  146. mes "[Markie]";
  147. mes "9) How much SP does the ^5533FFDouble Attack^000000 skill require when used with a dagger?";
  148. next;
  149. menu "15 SP",sM2_9, "No SP needed",-, "10 SP",sM2_9, "54 SP",sM2_9;
  150. set @score, @score + 10;
  151. sM2_9:
  152. mes "[Markie]";
  153. mes "10) Choose an effective dagger to use in the Byalan Dungeon?";
  154. next;
  155. menu "Wind Main-Gauche",-, "Ice Main-Gauche",sM2_10, "Earth Main-Gauche",sM2_10, "Fire Main-Gauche",sM2_10;
  156. set @score, @score + 10;
  157. sM2_10:
  158. L_Score:
  159. mes "[Markie]";
  160. mes "Okay, those are all of the questions I have. Now that wasn't so bad was it sweetie?";
  161. mes "I hope you don't mind, but I've been grading your answers.";
  162. next;
  163. mes "[Markie]";
  164. mes "I like to give people scores on their interviews so that they can know how well they did.";
  165. mes "It looks like you got a ^FF3355" + @score +"^000000/100............";
  166. next;
  167. mes "[Markie]";
  168. return;
  169. }