swordman.txt 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. //===== rAthena Script =======================================
  2. //= Renewal Swordman Job Quest
  3. //===== By: ==================================================
  4. //= Kisuka
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Job Change to Swordman Class
  11. //===== Additional Comments: =================================
  12. //= 1.0 First Version. [Kisuka]
  13. //= 1.1 Added support for Baby classes. [Euphy]
  14. //============================================================
  15. izlude_in,74,172,4 script Swordman#swd 119,{
  16. if (Upper == 1) {
  17. if (Class == Job_Novice_High && (ADVJOB == Job_Lord_Knight || ADVJOB == Job_Paladin)) {
  18. mes "[Swordman]";
  19. mes "It...";
  20. mes "Can't be...";
  21. mes "You've been reborn, haven't you?";
  22. next;
  23. mes "[Swordman]";
  24. mes "I see you're retreading the path of the Swordman! Once you've gotten used to brandishing a sword, you can never go back!!";
  25. next;
  26. if (!callfunc("F_CanChangeJob")) {
  27. mes "[Swordman]";
  28. mes "Hmm? Ah, you must first master the Basic Skills before you are ready to become a Swordman.";
  29. next;
  30. mes "[Swordman]";
  31. mes "Come back to me when you have finished learning the Basic Novice Skills.";
  32. close;
  33. }
  34. mes "[Swordman]";
  35. mes "Excellent! Let me promote you to a Swordman right away!";
  36. next;
  37. skill "NV_TRICKDEAD",0,SKILL_PERM;
  38. jobchange Job_Swordman_High;
  39. skill "SM_MOVINGRECOVERY",1,SKILL_PERM;
  40. skill "SM_FATALBLOW",1,SKILL_PERM;
  41. skill "SM_AUTOBERSERK",1,SKILL_PERM;
  42. mes "[Swordman]";
  43. mes "Hmm... You look like a well-experienced Swordman. Still, I'm sure that you must train to improve your skills and gain strength!";
  44. close;
  45. }else{
  46. mes "[Swordman]";
  47. mes "Hm...?";
  48. mes "You're a reborn";
  49. mes "warrior, aren't you?";
  50. next;
  51. mes "[Swordman]";
  52. mes "Hmmm...";
  53. mes "It seems that being";
  54. mes "a Swordman is not part";
  55. mes "of your destiny. I'm sorry,";
  56. mes "but it seems there is nothing";
  57. mes "I can do for you.";
  58. close;
  59. }
  60. }
  61. mes "[Swordman Guildsman]";
  62. mes "This is the Swordman Guild.";
  63. mes "Why are you here?";
  64. next;
  65. switch(select("Tell me about being a Swordman.:I want to be a Swordman.:Nothing.")) {
  66. case 1:
  67. mes "[Swordman Guildsman]";
  68. mes "So you wish to know more about the mighty Swordman? Okay!";
  69. next;
  70. mes "[Swordman Guildsman]";
  71. mes "The most distinctive feature of the Swordman is that the Swordman can show us his/her real abilities in close combat.";
  72. mes "There are three reasons!";
  73. next;
  74. mes "[Swordman Guildsman]";
  75. mes "First, Swordman has higher HP than other jobs.";
  76. mes "Second, except for Bows and Rods, Swordman can use all other weapons so they can fight at their optimal ability.";
  77. mes "And third, most of the skills of the Swordman give powerful physical attacks.";
  78. next;
  79. mes "[Swordman Guildsman]";
  80. mes "Though I gave you a simple explanation, I believe you understand the core meaning of what it is to be a Swordman.";
  81. mes "In my opinion, Swordman is the best job ever!";
  82. close;
  83. case 2:
  84. mes "[Swordman Guildsman]";
  85. if(BaseJob != Job_Novice) {
  86. if(BaseJob == Job_Swordman) {
  87. mes "You are already an excellent Swordman, aren't you?";
  88. mes "Just devote yourself to be a great Swordman.";
  89. }else{
  90. mes "You already have one of the other jobs, don't you?";
  91. mes "You've gone too far with that joke.";
  92. }
  93. close;
  94. }else{
  95. if (!callfunc("F_CanChangeJob")) {
  96. mes "I'm sorry to tell you this but to be a Swordman, you must reach at least ^4A4AFFJob Level 10^000000.";
  97. mes "and ^4A4AFFBasic Skill Level 9^000000.";
  98. next;
  99. mes "[Swordman Guildsman]";
  100. mes "Want to be a Swordman without having the minimum requirement?";
  101. mes "Do you think being a Swordman is that easy?";
  102. close;
  103. }
  104. mes "Hmm, both your Job Level and Basic Skill Level check out.";
  105. mes "Good. Do you want to be a Swordman right away?";
  106. next;
  107. if(select("Yes, I do.:I'll consider it again.") == 2) {
  108. mes "[Swordman Guildsman]";
  109. mes "Yeah. Prudent decision is needed for choosing a job.";
  110. mes "But I feel sorry... that you consider it again after overcoming all the hardships....";
  111. close;
  112. }
  113. mes "[Swordman Guildsman]";
  114. mes "Congratulations! From now on, you are going to live a Swordman's life!";
  115. mes "Let's do it right now!";
  116. next;
  117. mes "[Swordman Guildsman]";
  118. mes "Congratulations again for being a Swordman and I hope that you participate in many activities for the revival of our guild.";
  119. callfunc "Job_Change",Job_Swordman;
  120. getitem 13415,1; // N_Falchion
  121. close;
  122. }
  123. case 3:
  124. close;
  125. }
  126. }