AssassinCross.txt 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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,58,5 script Assassin Cross#Valkyrie 725,{
  18. if (ADVJOB == 0 || Upper != 1) {
  19. set .@karma_d,rand(1,10);
  20. if (.@karma_d > 4) {
  21. mes "[Assassin Cross]";
  22. mes "Congratulations...";
  23. next;
  24. mes "[Assassin Cross]";
  25. mes "...";
  26. next;
  27. mes "[Assassin Cross]";
  28. mes "...";
  29. mes "......";
  30. next;
  31. mes "[Assassin Cross]";
  32. mes "...";
  33. mes "......";
  34. mes "Honor to";
  35. mes "the warriors.";
  36. close;
  37. }
  38. mes "[Assassin Cross]";
  39. mes "We are the warriors";
  40. mes "of the desert. Nobody";
  41. mes "looks down upon us.";
  42. mes "Nobody...";
  43. close;
  44. }
  45. else if (ADVJOB == Job_Assassin_Cross && Class == Job_Thief_High && JobLevel > 39) {
  46. mes "[Assassin Cross]";
  47. mes "The time has come.";
  48. mes "The world needs you...";
  49. mes "More than ever.";
  50. next;
  51. mes "[Assassin Cross]";
  52. mes "I ask that you continue to live in the shadows, but as an even greater Assassin with a new appearance.";
  53. next;
  54. mes "[Assassin Cross]";
  55. mes "Will you become";
  56. mes "an Assassin Cross?";
  57. next;
  58. if (select("No.:Yes.") == 1) {
  59. mes "[Assassin Cross]";
  60. mes "When you are";
  61. mes "ready, come back.";
  62. next;
  63. mes "[Assassin Cross]";
  64. mes "Honor to";
  65. mes "the warriors.";
  66. close;
  67. }
  68. if (SkillPoint) {
  69. mes "[Assassin Cross]";
  70. mes "You still haven't";
  71. mes "learned everything";
  72. mes "that you can.";
  73. next;
  74. mes "[Assassin Cross]";
  75. mes "Use all your";
  76. mes "Skill Points";
  77. mes "and then come back.";
  78. close;
  79. }
  80. jobchange Job_Assassin_Cross;
  81. set ADVJOB,0;
  82. mes "[Assassin Cross]";
  83. mes "Congratulations.";
  84. mes "As an Assassin Cross,";
  85. mes "I hope that you fight for a brighter future within the darkness.";
  86. close;
  87. }
  88. mes "[Assassin Cross]";
  89. mes "Welcome";
  90. mes "to Valhalla,";
  91. mes "the Hall of Honor.";
  92. next;
  93. mes "[Assassin Cross]";
  94. mes "Please make";
  95. mes "yourself comfortable";
  96. mes "while you are here.";
  97. mes "Honor to the warriors.";
  98. close;
  99. }