reset.txt 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. //===== eAthena Script =======================================
  2. //= Reset NPC for Athena by Script & DB Team
  3. //===== By: ==================================================
  4. //= eAthena Team
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= Any eAthena Version
  9. //===== Description: =========================================
  10. //= Resets skills, stats, or both.
  11. //===== Additional Comments: =================================
  12. //= 1.0 First Version
  13. //= 1.1 Optimized for the greater good. [Kisuka]
  14. //============================================================
  15. prontera,150,193,4 script Reset Girl 124,{
  16. mes "[Reset Girl]";
  17. mes "I am a Reset Girl.";
  18. mes "Reset Stats: 5,000z";
  19. mes "Reset Skills: 5,000z";
  20. mes "Reset Both: 9,000z";
  21. mes "Please select the service you want:";
  22. next;
  23. switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Quit")) {
  24. case 1:
  25. mes "[Reset Girl]";
  26. if (Zeny < 5000) {
  27. mes "Sorry, you don't have enough Zeny.";
  28. close;
  29. }
  30. mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
  31. set Zeny,zeny-5000;
  32. ResetSkill;
  33. close;
  34. case 2:
  35. mes "[Reset Girl]";
  36. if (Zeny < 5000) {
  37. mes "Sorry, you don't have enough Zeny.";
  38. close;
  39. }
  40. mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
  41. set Zeny,zeny-5000;
  42. ResetStatus;
  43. close;
  44. case 3:
  45. mes "[Reset Girl]";
  46. if (Zeny < 9000) {
  47. mes "Sorry, you don't have enough Zeny.";
  48. close;
  49. }
  50. mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
  51. set Zeny,zeny-9000;
  52. ResetSkill;
  53. ResetStatus;
  54. close;
  55. case 4:
  56. close;
  57. }
  58. }