Creator.txt 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. //===== eAthena Script =======================================
  2. //= Advance Class jobchanger after kRO Normals.
  3. //===== By: ==================================================
  4. //= Nana
  5. //= finished, optimized and tested by Lupus
  6. //===== Current Version: =====================================
  7. //= 1.3
  8. //===== Compatible With: =====================================
  9. //= eAthena 1.0 +
  10. //===== Description: =========================================
  11. //= Advance Class jobchanger after kRO Normals.
  12. //===== Additional Comments: =================================
  13. //= v1.1 Made all into functions, additional checks, etc. [Lupus]
  14. //= v1.2 Made numbers into constants. [Vicious]
  15. //= 1.3 Now saves/restores all the quest skills [Lupus]
  16. //============================================================
  17. valkyrie,53,50,3 script Biochemist#Valkyrie 122,{
  18. if (ADVJOB == 0 || Upper != 1) {
  19. set .@karma_d,rand(1,10);
  20. if (.@karma_d > 4) {
  21. mes "[Biochemist]";
  22. mes "Congratulations.";
  23. mes "Honor to the warriors!";
  24. close;
  25. }
  26. mes "[Biochemist]";
  27. mes "It's strange that";
  28. mes "someone like me is here.";
  29. mes "But even someone skilled";
  30. mes "in the ways of science";
  31. mes "can manage to be a hero.";
  32. next;
  33. mes "[Biochemist]";
  34. mes "In this instance,";
  35. mes "it's not necessarily";
  36. mes "the means I've used, but";
  37. mes "the ends for which I've";
  38. mes "fought that earned me";
  39. mes "a place in Valhalla...";
  40. close;
  41. }
  42. else if (ADVJOB == Job_Creator && Class == Job_Merchant_High && JobLevel > 39) {
  43. mes "[Biochemist]";
  44. mes "Yes...";
  45. mes "It's about time.";
  46. mes "We need more geniuses";
  47. mes "like you on Rune-Midgard.";
  48. next;
  49. mes "[Biochemist]";
  50. mes "Would you like to";
  51. mes "become a Biochemist?";
  52. next;
  53. if (select("No.:Yes.") == 1) {
  54. mes "[Biochemist]";
  55. mes "When you're ready,";
  56. mes "feel free to come back.";
  57. mes "Honor to the warriors!";
  58. close;
  59. }
  60. if (SkillPoint) {
  61. mes "[Biochemist]";
  62. mes "It is still possible for you to learn more skills. Please use";
  63. mes "all of your remaining Skill Points before returning to me.";
  64. close;
  65. }
  66. jobchange Job_Creator;
  67. set ADVJOB,0;
  68. mes "[Biochemist]";
  69. mes "Congratulations!";
  70. mes "As a Biochemist,";
  71. mes "I hope you use your";
  72. mes "vast knowledge for the";
  73. mes "right purposes.";
  74. close;
  75. }
  76. else {
  77. if (Class == Job_Creator && MISC_QUEST & 64 && getskilllv("AM_BIOETHICS") == 0) {
  78. mes "[Biochemist]";
  79. mes "Ah, have you come to";
  80. mes "retrieve the memories";
  81. mes "lost to you? Yes, you";
  82. mes "must be here for the";
  83. mes "secrets of life that";
  84. mes "were once yours...";
  85. next;
  86. if (select("Yes:No") == 1) {
  87. mes "[Biochemist]";
  88. mes "Close your eyes and";
  89. mes "put your mind at rest.";
  90. mes "We will return to your";
  91. mes "past to recollect the";
  92. mes "fragments of your lost";
  93. mes "memories.";
  94. next;
  95. mes "[Biochemist]";
  96. mes "When you open your eyes,";
  97. mes "you will clearly remember";
  98. mes "the secret of life. You will";
  99. mes "also remember the weight of";
  100. mes "responsibility in using these";
  101. mes "secrets for the right ends...";
  102. next;
  103. skill 238,1,0;
  104. mes "[Biochemist]";
  105. mes "Open your eyes...";
  106. mes "Now that you have";
  107. mes "remembered how to";
  108. mes "create artificial life, I only";
  109. mes "ask that you treat all of your";
  110. mes "creations with respect.";
  111. close;
  112. }
  113. mes "[Biochemist]";
  114. mes "If you wish to";
  115. mes "retrieve your lost";
  116. mes "memories, please";
  117. mes "come back to me.";
  118. mes "The secret to creating";
  119. mes "life is no trifling thing...";
  120. close;
  121. }
  122. mes "[Biochemist]";
  123. mes "Welcome";
  124. mes "to Valhalla,";
  125. mes "the Hall of Honor.";
  126. next;
  127. mes "[Biochemist]";
  128. mes "Please make";
  129. mes "yourself comfortable";
  130. mes "while you are here.";
  131. mes "Honor to the warriors!";
  132. close;
  133. }
  134. }