mage.txt 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. //===== rAthena Script =======================================
  2. //= Renewal Mage Job Quest
  3. //===== By: ==================================================
  4. //= Kisuka
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Job Change to Mage Class
  11. //===== Additional Comments: =================================
  12. //= 1.0 First Version. [Kisuka]
  13. //= 1.1 Added support for Baby classes. [Euphy]
  14. //============================================================
  15. geffen_in,164,124,4 script Mage Guildsman#mage 123,{
  16. if (Upper == 1) {
  17. if (ADVJOB == Job_High_Wizard || ADVJOB == Job_Professor) {
  18. if (Class == Job_Novice_High) {
  19. mes "[Mage Guildsman]";
  20. mes "Whoa, long time no see! But weren't you supposed to be dead?";
  21. next;
  22. mes "[Mage Guildsman]";
  23. mes "Ah, you must have been reborn. Well, I'm glad to have you back.";
  24. next;
  25. if (!callfunc("F_CanChangeJob")) {
  26. mes "[Mage Guildsman]";
  27. mes "I'm sorry, but I don't think you're ready to learn magic yet. Why don't you go finish learning the Basic Skills first?";
  28. next;
  29. mes "[Mage Guildsman]";
  30. mes "Take your time. The more you learn, the more ready you'll be to learn magic again.";
  31. close;
  32. }
  33. mes "[Mage Guildsman]";
  34. mes "Well, since you have passed the Mage test once, I will not question your qualification. You want to have your magic skills back immediately, don't you?";
  35. next;
  36. skill "NV_TRICKDEAD",0,SKILL_PERM;
  37. jobchange Job_Mage_High;
  38. skill "MG_ENERGYCOAT",1,SKILL_PERM;
  39. mes "[Mage Guildsman]";
  40. mes "Wow, for some reason, you look way better than you did before. Anyway, I believe you will do a better job being a Mage as well.";
  41. close;
  42. }else{
  43. mes "[Mage Guildsman]";
  44. mes "Is there anything more I can help you with? If not, why don't you go test your skills? The world is waiting for you~!";
  45. close;
  46. }
  47. }else{
  48. mes "[Mage Guildsman]";
  49. mes "What, are you interested in the Mage guild? I didn't want to tell you this, but you don't belong here.";
  50. next;
  51. mes "[Mage Guildsman]";
  52. mes "I am not sure why you're still standing in front of me, but I can tell that you're not meant to be a Mage.";
  53. close;
  54. }
  55. }
  56. mes "[Mage Guildsman]";
  57. if(BaseJob != Job_Novice) {
  58. if(BaseJob == Job_Mage) {
  59. mes "Hey, haven't you realized? You're already a Mage, silly!";
  60. mes "One of these days you'll realize the power inside of you when you can make Fire with your mind!";
  61. } else
  62. mes "Hey~ C'mon. Quit playing games. You can't be a Mage because you already have another Job.";
  63. close;
  64. }else{
  65. mes "Hey?";
  66. next;
  67. switch(select("I want to be a Mage:What are the requirements to be a Mage?:Nothing, thanks.")) {
  68. case 1:
  69. mes "[Mage Guildsman]";
  70. mes "Wanna be a Mage? Eh...";
  71. next;
  72. mes "[Mage Guildsman]";
  73. if (Sex == SEX_MALE) {
  74. mes "Hey, look at you! You're kinda cute~! Not my type though...";
  75. }else{
  76. mes "Oooh, you're such a hot babe~!";
  77. mes "I like girls like you~";
  78. }
  79. mes "Right, you said that you wanna be a Mage?";
  80. next;
  81. if(select("I want to be a Mage.:Nothing, thanks.") == 2) {
  82. mes "[Mage Guildsman]";
  83. mes "Whaaaaat~?! Right after you tell me that you wanna become a Mage, you change your mind?! Be a bit more decisive!";
  84. close;
  85. }
  86. mes "[Mage Guildsman]";
  87. if (!callfunc("F_CanChangeJob")) {
  88. mes "Oh, man your Basic Skill Level doesn't reach enough to be a Mage.";
  89. mes "Go back and level up your Basic Skill.";
  90. close;
  91. }
  92. mes "Alright.. sign the application form.... Wow~ you have good handwriting! Ahh, okay. That's enough.";
  93. mes "You are... "+strcharinfo(0)+".";
  94. next;
  95. mes "[Mage Guildsman]";
  96. mes "Hmm I can see that you've tried hard in your own way. Though it seems to be a little clumsy, but well I think it's okay!";
  97. mes "Good! Always sticking to the basics is the best! I will transform you right away.";
  98. next;
  99. mes "[Mage Guildsman]";
  100. mes "Hahh..! You are now a Mage, one of our colleagues!";
  101. mes "We welcome you to the Mage Guild, our new friend!";
  102. next;
  103. mes "[Mage Guildsman]";
  104. mes "'Welcome to the Mage Guild~'";
  105. mes "Congratulations on becoming a member of the Mage Guild! Go for it!";
  106. callfunc "Job_Change",Job_Mage;
  107. getitem 1639,1; // N_Rod
  108. close;
  109. case 2:
  110. mes "[Mage Guildsman]";
  111. mes "Wanna be a Mage, eh?";
  112. mes "I'd be happy to explain the requirements for a pretty girl like you!";
  113. next;
  114. mes "[Mage Guildsman]";
  115. mes "First of all, you have to reach Novice Job Level 10 and learn all of the Basic Skills.";
  116. next;
  117. mes "[Mage Guildsman]";
  118. mes "In the past, there was a complicated potion making test. Because of that, we'd lost an aplicant slowly.";
  119. mes "So, we decided to accept all aplicants who meet the basic requirements.";
  120. next;
  121. mes "[Mage Guildsman]";
  122. mes "Don't hesitate. Just be a magician!";
  123. close;
  124. case 3:
  125. mes "[Mage Guildsman]";
  126. mes "Nothing...?";
  127. close;
  128. }
  129. }
  130. }