HighWizard.txt 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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,44,47,5 script High Wizard#Valkyrie 735,{
  18. if (ADVJOB == 0 || Upper != 1) {
  19. set .@karma_d,rand(1,10);
  20. if (.@karma_d > 4) {
  21. mes "[High Wizard]";
  22. mes "Congratulations.";
  23. mes "Honor to the warriors!";
  24. close;
  25. }
  26. mes "[High Wizard]";
  27. mes "We High Wizards have";
  28. mes "the responsibility of";
  29. mes "using our destructive magic";
  30. mes "for the right purposes.";
  31. next;
  32. mes "[High Wizard]";
  33. mes "A lifetime of training";
  34. mes "is required before becoming";
  35. mes "a High Wizard. Can you imagine";
  36. mes "what would happen if our power";
  37. mes "was placed in the wrong hands?!";
  38. close;
  39. }
  40. else if (ADVJOB == Job_High_Wizard && Class == Job_Mage_High && JobLevel > 39) {
  41. mes "[High Wizard]";
  42. mes "It is time.";
  43. mes "And Rune-Midgard has";
  44. mes "need of those who can";
  45. mes "wield the strongest of magic...";
  46. next;
  47. mes "[High Wizard]";
  48. mes "Would you like to";
  49. mes "become a High Wizard?";
  50. next;
  51. if (select("No.:Yes.") == 1) {
  52. mes "[High Wizard]";
  53. mes "When you're ready,";
  54. mes "feel free to come back.";
  55. mes "Honors to the warriors!";
  56. close;
  57. }
  58. if (SkillPoint) {
  59. mes "[High Wizard]";
  60. mes "It is still possible for you to learn more skills. Please use";
  61. mes "all of your remaining Skill Points before returning to me.";
  62. close;
  63. }
  64. jobchange Job_high_Wizard;
  65. set ADVJOB,0;
  66. mes "[High Wizard]";
  67. mes "Congratulations.";
  68. mes "As a High Wizard,";
  69. mes "I hope use you use";
  70. mes "your powers to bring";
  71. mes "peace to the oppressed.";
  72. close;
  73. }
  74. mes "[High Wizard]";
  75. mes "Welcome";
  76. mes "to Valhalla,";
  77. mes "the Hall of Honor.";
  78. next;
  79. mes "[High Wizard]";
  80. mes "Please make";
  81. mes "yourself comfortable";
  82. mes "while you are here.";
  83. mes "Honor to the warriors!";
  84. close;
  85. }