HighPriest.txt 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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,42,5 script High Priest#Valkyrie 60,{
  18. if (ADVJOB == 0 || Upper != 1) {
  19. set .@karma_d,rand(1,10);
  20. if (.@karma_d > 4) {
  21. mes "[High Priest]";
  22. mes "Congratulations.";
  23. mes "Honor to the warriors!";
  24. close;
  25. }
  26. mes "[High Priest]";
  27. mes "Through the power";
  28. mes "of holiness, may we";
  29. mes "find peace, strength";
  30. mes "and protection. Deliver";
  31. mes "us from the forces of evil...";
  32. close;
  33. }
  34. else if (ADVJOB == Job_High_Priest && Class == Job_Acolyte_High && JobLevel > 39) {
  35. mes "[High Priest]";
  36. mes "Our world is in";
  37. mes "need of people of";
  38. mes "talent and conviction.";
  39. mes "Please continue your";
  40. mes "good works as an even";
  41. mes "greater hero of holiness...";
  42. next;
  43. mes "[High Priest]";
  44. mes "Would you like";
  45. mes "to become a High Priest?";
  46. next;
  47. if (select("No.:Yes.") == 1) {
  48. mes "[High Priest]";
  49. mes "When you're ready,";
  50. mes "feel free to come back.";
  51. mes "Honor to the warriors!";
  52. close;
  53. }
  54. if (SkillPoint) {
  55. mes "[High Priest]";
  56. mes "It is still possible for you to learn more skills. Please use";
  57. mes "all of your remaining Skill Points before returning to me.";
  58. close;
  59. }
  60. jobchange Job_High_Priest;
  61. set ADVJOB,0;
  62. mes "[High Priest]";
  63. mes "Congratulations.";
  64. mes "As a High Priest,";
  65. mes "I hope you will guide";
  66. mes "others upon the path";
  67. mes "to holiness...";
  68. close;
  69. }
  70. mes "[High Priest]";
  71. mes "Welcome";
  72. mes "to Valhalla,";
  73. mes "the Hall of Honor.";
  74. next;
  75. mes "[High Priest]";
  76. mes "Please make";
  77. mes "yourself comfortable";
  78. mes "while you are here.";
  79. mes "Honor to the warriors!";
  80. close;
  81. }