summaryrefslogtreecommitdiff
path: root/npc/custom/jobs/reset.txt
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-25 06:54:26 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-25 06:54:26 +0000
commit1d8592b23ce221f543fb9978c88620f70280c885 (patch)
tree66b363ecaa0da42195d2c9d1b8e5cd6fe8cc33a2 /npc/custom/jobs/reset.txt
parent0f82fd5bc403400dc9464a8f02298416b99b0bbc (diff)
downloadhercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.gz
hercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.bz2
hercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.xz
hercules-1d8592b23ce221f543fb9978c88620f70280c885.zip
- Standardized script headers, starting with /npc/custom/
http://rathena.org/wiki/Script_header git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15262 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/jobs/reset.txt')
-rw-r--r--npc/custom/jobs/reset.txt79
1 files changed, 40 insertions, 39 deletions
diff --git a/npc/custom/jobs/reset.txt b/npc/custom/jobs/reset.txt
index 8592fc730..ab4be4353 100644
--- a/npc/custom/jobs/reset.txt
+++ b/npc/custom/jobs/reset.txt
@@ -1,17 +1,18 @@
//===== rAthena Script =======================================
-//= Reset NPC for Athena by Script & DB Team
-//===== By: ==================================================
-//= rAthena Team
-//===== Current Version: =====================================
+//= Reset NPC
+//===== By: ==================================================
+//= rAthena Dev Team
+//===== Current Version: =====================================
//= 1.1
-//===== Compatible With: =====================================
-//= Any rAthena Version
-//===== Description: =========================================
+//===== Compatible With: =====================================
+//= rAthena SVN
+//===== Description: =========================================
//= Resets skills, stats, or both.
-//===== Additional Comments: =================================
+//===== 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.";
@@ -21,38 +22,38 @@ prontera,150,193,4 script Reset Girl 124,{
mes "Please select the service you want:";
next;
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;
+ case 1:
+ mes "[Reset Girl]";
+ if (Zeny < 5000) {
+ mes "Sorry, you don't have enough Zeny.";
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;
+ }
+ mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
+ set Zeny,zeny-5000;
+ ResetSkill;
+ close;
+ case 2:
+ mes "[Reset Girl]";
+ if (Zeny < 5000) {
+ mes "Sorry, you don't have enough Zeny.";
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:
+ }
+ 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;
}
}