summaryrefslogtreecommitdiff
path: root/npc/custom/jobs/reset.txt
diff options
context:
space:
mode:
authorKisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-14 18:27:59 +0000
committerKisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-14 18:27:59 +0000
commit525cd1232a289562e866eeb4eac8d5772c1d573c (patch)
tree84950d0ce9d3a131aa0dc2cc505b763df3ed59a4 /npc/custom/jobs/reset.txt
parent9a82b154f03e2feb39d166069e3d35cfd7d399d5 (diff)
downloadhercules-525cd1232a289562e866eeb4eac8d5772c1d573c.tar.gz
hercules-525cd1232a289562e866eeb4eac8d5772c1d573c.tar.bz2
hercules-525cd1232a289562e866eeb4eac8d5772c1d573c.tar.xz
hercules-525cd1232a289562e866eeb4eac8d5772c1d573c.zip
- More optimization of custom folder.
- Removed Fredzilla's duping auction script (no need for it since we have official auction system). - Removed 'Temp Gefenia Warper' because we have 'The Sign Quest'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13213 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/jobs/reset.txt')
-rw-r--r--npc/custom/jobs/reset.txt78
1 files changed, 48 insertions, 30 deletions
diff --git a/npc/custom/jobs/reset.txt b/npc/custom/jobs/reset.txt
index 7f427f92f..64eaff29e 100644
--- a/npc/custom/jobs/reset.txt
+++ b/npc/custom/jobs/reset.txt
@@ -1,4 +1,17 @@
-//Reset NPC for Athena by Script&DB Team
+//===== eAthena Script =======================================
+//= Reset NPC for Athena by Script & DB Team
+//===== By: ==================================================
+//= eAthena Team
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= Any eAthena Version
+//===== Description: =========================================
+//= Resets skills, stats, or both.
+//===== Additional Comments: =================================
+//= 1.0 First Version
+//= 1.1 Optimized for the greater good. [Kisuka]
+//============================================================
prontera,150,193,4 script Reset Girl 124,{
mes "[Reset Girl]";
mes "I am a Reset Girl.";
@@ -7,34 +20,39 @@ prontera,150,193,4 script Reset Girl 124,{
mes "Reset Both: 9,000z";
mes "Please select the service you want:";
next;
- menu "^FF3355Reset Skills",L0,"Reset Stats",L1,"Reset Both^000000",L2,"Quit",LEnd;
-
- L0:
- mes "[Reset Girl]";
- if (Zeny < 5000) goto NeedZenys;
- mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
- set Zeny,zeny-5000;
- ResetSkill;
- close;
- L1:
- mes "[Reset Girl]";
- if (Zeny < 5000) goto NeedZenys;
- mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
- set Zeny,zeny-5000;
- ResetStatus;
- close;
- L2:
- mes "[Reset Girl]";
- if (Zeny < 9000) goto NeedZenys;
- mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
- set Zeny,zeny-9000;
- ResetSkill;
- ResetStatus;
- close;
-
- NeedZenys:
- mes "Sorry, you don't have enough Zeny.";
+ switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Quit")) {
+ case 1:
+ mes "[Reset Girl]";
+ if (Zeny < 5000) {
+ mes "Sorry, you don't have enough Zeny.";
+ close;
+ }
+ mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
+ set Zeny,zeny-5000;
+ ResetSkill;
close;
- LEnd:
- close;
+ case 2:
+ mes "[Reset Girl]";
+ if (Zeny < 5000) {
+ mes "Sorry, you don't have enough Zeny.";
+ close;
+ }
+ mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
+ set Zeny,zeny-5000;
+ ResetStatus;
+ close;
+ case 3:
+ mes "[Reset Girl]";
+ if (Zeny < 9000) {
+ mes "Sorry, you don't have enough Zeny.";
+ close;
+ }
+ mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
+ set Zeny,zeny-9000;
+ ResetSkill;
+ ResetStatus;
+ close;
+ case 4:
+ close;
+ }
} \ No newline at end of file