Stalker.txt 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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,58,3 script Stalker#Valkyrie 747,{
  18. if (ADVJOB == 0 || Upper != 1) {
  19. set .@karma_d,rand(1,10);
  20. if (.@karma_d > 4) {
  21. mes "[Stalker]";
  22. mes "Congratulations.";
  23. mes "Honor to the warriors!";
  24. close;
  25. }
  26. mes "[Stalker]";
  27. mes "Heh...";
  28. mes "It's tough";
  29. mes "being a hero";
  30. mes "and being shady,";
  31. mes "untrustworthy,";
  32. mes "sneaky...";
  33. next;
  34. mes "[Stalker]";
  35. mes "But when the";
  36. mes "going gets rough";
  37. mes "my pals know they";
  38. mes "can count on me.";
  39. mes "I need them and";
  40. mes "they need me.";
  41. close;
  42. }
  43. else if (ADVJOB == Job_Stalker && Class == Job_Thief_High && JobLevel > 39) {
  44. mes "[Stalker]";
  45. mes "This world needs";
  46. mes "more heroes who are";
  47. mes "willing to walk the line";
  48. mes "between order and lawlessness.";
  49. next;
  50. mes "[Stalker]";
  51. mes "Are you ready";
  52. mes "to join the ranks";
  53. mes "of the sneakiest of";
  54. mes "warriors? Are you ready";
  55. mes "to become a Stalker?";
  56. next;
  57. if (select("No.:Yes.") == 1) {
  58. mes "[Stalker]";
  59. mes "When you're ready,";
  60. mes "feel free to come back.";
  61. mes "Honor to the warriors!";
  62. close;
  63. }
  64. if (SkillPoint) {
  65. mes "[Stalker]";
  66. mes "It is still possible for you to learn more skills. Please use";
  67. mes "all of your remaining Skill Points before returning to me.";
  68. close;
  69. }
  70. jobchange Job_Stalker;
  71. set ADVJOB,0;
  72. mes "[Stalker]";
  73. mes "Congratulations!";
  74. mes "As a Stalker, I hope";
  75. mes "you stab the right people";
  76. mes "in the back. Banish the";
  77. mes "wicked using their own";
  78. mes "dastardly methods!";
  79. close;
  80. }
  81. mes "[Stalker]";
  82. mes "Welcome";
  83. mes "to Valhalla,";
  84. mes "the Hall of Honor.";
  85. next;
  86. mes "[Stalker]";
  87. mes "Please make";
  88. mes "yourself comfortable";
  89. mes "while you are here.";
  90. mes "Honor to the warriors!";
  91. close;
  92. }