Gypsy.txt 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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,56,3 script Gypsy#Valkyrie 101,{
  18. if (ADVJOB == 0 || Upper != 1) {
  19. set .@karma_d,rand(1,10);
  20. if (.@karma_d > 4) {
  21. mes "[Gypsy]";
  22. mes "Congratulations.";
  23. mes "Honor to the warriors!";
  24. close;
  25. }
  26. mes "[Gypsy]";
  27. mes "Move left,";
  28. mes "move right~!";
  29. mes "And step...!";
  30. mes "Dancing can be";
  31. mes "more than a hobby.";
  32. mes "For me, it's a way of life~";
  33. close;
  34. }
  35. else if (ADVJOB == Job_Gypsy && Class == Job_Archer_High && JobLevel > 39) {
  36. mes "[Gypsy]";
  37. mes "The land of Rune-Midgard";
  38. mes "is in need of talented women";
  39. mes "to subtly change the balances";
  40. mes "in the battle between good";
  41. mes "and evil.";
  42. next;
  43. mes "[Gypsy]";
  44. mes "Are you ready";
  45. mes "to take up this role,";
  46. mes "and become a Gypsy?";
  47. next;
  48. if (select("No.:Yes.") == 1) {
  49. mes "[Gypsy]";
  50. mes "When you're ready,";
  51. mes "feel free to come back.";
  52. mes "Honor to the warriors!";
  53. close;
  54. }
  55. if (SkillPoint) {
  56. mes "[Gypsy]";
  57. mes "It is still possible for you to learn more skills. Please use";
  58. mes "all of your remaining Skill Points before returning to me.";
  59. close;
  60. }
  61. jobchange Job_Gypsy;
  62. set ADVJOB,0;
  63. mes "[Gypsy]";
  64. mes "Congratulations!";
  65. mes "As a Gypsy, I know";
  66. mes "that your performances";
  67. mes "sway the hearts of all";
  68. mes "those who will be watching...";
  69. close;
  70. }
  71. mes "[Gypsy]";
  72. mes "Welcome";
  73. mes "to Valhalla,";
  74. mes "the Hall of Honor.";
  75. next;
  76. mes "[Gypsy]";
  77. mes "Please make";
  78. mes "yourself comfortable";
  79. mes "while you are here.";
  80. mes "Honor to the warriors!";
  81. close;
  82. }