jewel_case.txt 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. //===== rAthena Script =======================================
  2. //= Jewel Case Quest
  3. //===== By: ==================================================
  4. //= Lupus
  5. //===== Current Version: =====================================
  6. //= 1.0
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= A quest for players at base level 99,
  11. //= with Jewel Case as a reward.
  12. //===== Additional Comments: =================================
  13. //= 1.0 First Version.
  14. //============================================================
  15. lighthalzen,108,229,2 script La Fenn 766,{
  16. mes "[La Fenn]";
  17. if(BaseLevel<99) {
  18. if(Q_99LVL) {
  19. mes "You... You got younger!!! But you are defenitely YOU!";
  20. mes "I couldn't think you were able to meet my condition...";
  21. emotion e_hmm;
  22. next;
  23. mes "[La Fenn]";
  24. mes "Here is your prize. It's yours for good.";
  25. set Q_99LVL,0;
  26. getitem 12106,1; //Jewel Case
  27. emotion e_grat;
  28. } else {
  29. mes callfunc("F_Hi");
  30. mes "...";
  31. emotion e_yawn;
  32. next;
  33. mes "[La Fenn]";
  34. mes "I've got a riddle for a strong man of 2nd Class and 99 Base Level.";
  35. mes "*Yawn* If you meet some, please tell them about my riddle.";
  36. }
  37. close;
  38. }
  39. if(BaseLevel==99 && Upper==0) {
  40. if(Q_99LVL) {
  41. mes "Now go forth and get younger!";
  42. mes "If you solve my riddle, then I'll give you a magical Jewel Case with a rare accessory.";
  43. } else {
  44. mes callfunc("F_Hi")+" The Hero!";
  45. if(BaseExp<1000000) {
  46. mes "Now you're strong.";
  47. mes "But... not quite strong for my riddle.";
  48. if(rand(2)) {
  49. mes "Kill "+((1000000-BaseExp)/3765+1)+" more Seals and return.";
  50. } else {
  51. mes "Kill "+((1000000-BaseExp)/81+1)+" more Poporings and come back.";
  52. }
  53. } else {
  54. mes "Now you're REALLY strong.";
  55. mes "And if you get younger than now I'll give you my treasure.";
  56. set Q_99LVL,1;
  57. emotion e_no1;
  58. }
  59. }
  60. close;
  61. }
  62. emotion e_hmm;
  63. mes "...";
  64. close;
  65. }