Clown.txt 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. //= 1.3a Corrected a Little Typo error. [Samuray22]
  17. //= Thanks to Myllena.
  18. //============================================================
  19. valkyrie,53,54,3 script Minstrel#Valkyrie 741,{
  20. if (ADVJOB == 0 || Upper != 1) {
  21. set .@karma_d,rand(1,10);
  22. if (.@karma_d > 4) {
  23. mes "[Minstrel]";
  24. mes "Congratulations.";
  25. mes "Honor to the warriors!";
  26. close;
  27. }
  28. mes "[Minstrel]";
  29. mes "Do you want to";
  30. mes "sing a song with me?";
  31. mes "Sha la la la la~";
  32. close;
  33. }
  34. else if (ADVJOB == Job_Clown && Class == Job_Archer_High && JobLevel > 39) {
  35. mes "[Minstrel]";
  36. mes "The dreary world";
  37. mes "of mortals is in need";
  38. mes "of more cheerful song.";
  39. mes "Will you bring it to them";
  40. mes "and turn the tide in the";
  41. mes "battle against evil?";
  42. next;
  43. mes "[Minstrel]";
  44. mes "Will you do this";
  45. mes "for Midgard...";
  46. mes "As a Minstrel?";
  47. next;
  48. if (select("No.:Yes.") == 1) {
  49. mes "[Minstrel]";
  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 "[Minstrel]";
  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_Clown;
  62. set ADVJOB,0;
  63. mes "[Minstrel]";
  64. mes "Congratulations!";
  65. mes "As a Minstrel, your";
  66. mes "your songs will bring";
  67. mes "hope to your allies, and";
  68. mes "desperation to your foes.";
  69. close;
  70. }
  71. mes "[Minstrel]";
  72. mes "Welcome";
  73. mes "to Valhalla,";
  74. mes "the Hall of Honor.";
  75. next;
  76. mes "[Minstrel]";
  77. mes "Please make";
  78. mes "yourself comfortable";
  79. mes "while you are here.";
  80. mes "Honor to the warriors!";
  81. close;
  82. }