Champion.txt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. //===== rAthena 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. //= rAthena Project
  10. //===== Description: =========================================
  11. //= Advance Class jobchanger after kRO Normals.
  12. //===== Additional Comments: =================================
  13. //= 1.1 Made all into functions, additional checks, etc. [Lupus]
  14. //= 1.2 Made numbers into constants. [Vicious]
  15. //= 1.3 Now saves/restores all the quest skills [Lupus]
  16. //============================================================
  17. valkyrie,53,42,3 script Champion#Valkyrie 52,{
  18. if (ADVJOB == 0 || Upper != 1) {
  19. set .@karma_d,rand(1,10);
  20. if (.@karma_d > 4) {
  21. mes "[Champion]";
  22. mes "Congratulations.";
  23. mes "Honor to the warriors!";
  24. close;
  25. }
  26. mes "[Champion]";
  27. mes "Skill.";
  28. mes "Speed.";
  29. mes "Strength.";
  30. mes "Agility.";
  31. next;
  32. mes "[Champion]";
  33. mes "A Champion can";
  34. mes "benefit from all";
  35. mes "these things. But";
  36. mes "one can only master";
  37. mes "so much in life...";
  38. close;
  39. }
  40. else if (ADVJOB == Job_Champion && Class == Job_Acolyte_High && JobLevel > 39) {
  41. mes "[Champion]";
  42. mes "It's time.";
  43. mes "Time for great heroes";
  44. mes "to stand up against the";
  45. mes "forces of evil which plague";
  46. mes "the world of Midgard!";
  47. next;
  48. mes "[Champion]";
  49. mes "Would you like";
  50. mes "to become a Champion?";
  51. next;
  52. if (select("No.:Yes.") == 1) {
  53. mes "[Champion]";
  54. mes "When you're ready,";
  55. mes "feel free to come back.";
  56. mes "Honor to the warriors!";
  57. close;
  58. }
  59. if (SkillPoint) {
  60. mes "[Champion]";
  61. mes "It is still possible for you to learn more skills. Please use";
  62. mes "all of your remaining Skill Points before returning to me.";
  63. close;
  64. }
  65. jobchange Job_Champion;
  66. set ADVJOB,0;
  67. mes "[Champion]";
  68. mes "Congratulations!";
  69. mes "Live as a Champion,";
  70. mes "and bring light into";
  71. mes "the world through the";
  72. mes "strength of your fists.";
  73. close;
  74. }
  75. mes "[Champion]";
  76. mes "Welcome";
  77. mes "to Valhalla,";
  78. mes "the Hall of Honor.";
  79. next;
  80. mes "[Champion]";
  81. mes "Please make";
  82. mes "yourself comfortable";
  83. mes "while you are here.";
  84. mes "Honor to the warriors!";
  85. close;
  86. }