summaryrefslogtreecommitdiff
path: root/npc/custom/resetnpc.txt
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-01 03:40:58 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-01 03:40:58 +0000
commit74b92bb34163160e59e24dd6a07c16e30e9743be (patch)
tree45321838afbcdcf35f91570e2b19ba3e1998b0ce /npc/custom/resetnpc.txt
parent6979b1d621c2e5c6dab882e3825c4a867d19ba98 (diff)
downloadhercules-74b92bb34163160e59e24dd6a07c16e30e9743be.tar.gz
hercules-74b92bb34163160e59e24dd6a07c16e30e9743be.tar.bz2
hercules-74b92bb34163160e59e24dd6a07c16e30e9743be.tar.xz
hercules-74b92bb34163160e59e24dd6a07c16e30e9743be.zip
- Follow up to r16164 and r16193: used SVN Copy/Move so SVN History is preserved.
- Added svn:eol-style=native property for some recently added text files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16194 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/resetnpc.txt')
-rw-r--r--npc/custom/resetnpc.txt122
1 files changed, 61 insertions, 61 deletions
diff --git a/npc/custom/resetnpc.txt b/npc/custom/resetnpc.txt
index 4069c9f09..6d630a41f 100644
--- a/npc/custom/resetnpc.txt
+++ b/npc/custom/resetnpc.txt
@@ -1,62 +1,62 @@
-//===== rAthena Script =======================================
-//= Reset NPC
-//===== By: ==================================================
-//= rAthena Dev Team
-//===== Current Version: =====================================
-//= 1.1
-//===== Compatible With: =====================================
-//= rAthena SVN
-//===== Description: =========================================
-//= Resets skills, stats, or both.
-//===== Additional Comments: =================================
-//= 1.0 First Version
-//= 1.1 Optimized for the greater good. [Kisuka]
-//= 1.2 Cleaning [Euphy]
-//============================================================
-
-prontera,150,193,4 script Reset Girl 124,{
-
- set .@ResetStat,5000; // Zeny for stat reset
- set .@ResetSkill,5000; // Zeny for skill reset
- set .@ResetBoth,9000; // Zeny for resetting both together
-
- mes "[Reset Girl]";
- mes "I am the Reset Girl.";
- mes "Reset Stats: "+ .@ResetStat +"z";
- mes "Reset Skills: "+ .@ResetSkill +"z";
- mes "Reset Both: "+ .@ResetBoth +"z";
- mes "Please select the service you want:";
- next;
- switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")) {
- case 1:
- mes "[Reset Girl]";
- if (Zeny < .@ResetSkill) {
- mes "Sorry, you don't have enough Zeny.";
- close; }
- set Zeny, Zeny-.@ResetSkill;
- ResetSkill;
- mes "There you go!";
- close;
- case 2:
- mes "[Reset Girl]";
- if (Zeny < .@ResetStat) {
- mes "Sorry, you don't have enough Zeny.";
- close; }
- set Zeny, Zeny-.@ResetStat;
- ResetStatus;
- mes "There you go!";
- close;
- case 3:
- mes "[Reset Girl]";
- if (Zeny < .@ResetBoth) {
- mes "Sorry, you don't have enough Zeny.";
- close; }
- set Zeny, Zeny-.@ResetBoth;
- ResetSkill;
- ResetStatus;
- mes "There you go!";
- close;
- case 4:
- close;
- }
+//===== rAthena Script =======================================
+//= Reset NPC
+//===== By: ==================================================
+//= rAthena Dev Team
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= rAthena SVN
+//===== Description: =========================================
+//= Resets skills, stats, or both.
+//===== Additional Comments: =================================
+//= 1.0 First Version
+//= 1.1 Optimized for the greater good. [Kisuka]
+//= 1.2 Cleaning [Euphy]
+//============================================================
+
+prontera,150,193,4 script Reset Girl 124,{
+
+ set .@ResetStat,5000; // Zeny for stat reset
+ set .@ResetSkill,5000; // Zeny for skill reset
+ set .@ResetBoth,9000; // Zeny for resetting both together
+
+ mes "[Reset Girl]";
+ mes "I am the Reset Girl.";
+ mes "Reset Stats: "+ .@ResetStat +"z";
+ mes "Reset Skills: "+ .@ResetSkill +"z";
+ mes "Reset Both: "+ .@ResetBoth +"z";
+ mes "Please select the service you want:";
+ next;
+ switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")) {
+ case 1:
+ mes "[Reset Girl]";
+ if (Zeny < .@ResetSkill) {
+ mes "Sorry, you don't have enough Zeny.";
+ close; }
+ set Zeny, Zeny-.@ResetSkill;
+ ResetSkill;
+ mes "There you go!";
+ close;
+ case 2:
+ mes "[Reset Girl]";
+ if (Zeny < .@ResetStat) {
+ mes "Sorry, you don't have enough Zeny.";
+ close; }
+ set Zeny, Zeny-.@ResetStat;
+ ResetStatus;
+ mes "There you go!";
+ close;
+ case 3:
+ mes "[Reset Girl]";
+ if (Zeny < .@ResetBoth) {
+ mes "Sorry, you don't have enough Zeny.";
+ close; }
+ set Zeny, Zeny-.@ResetBoth;
+ ResetSkill;
+ ResetStatus;
+ mes "There you go!";
+ close;
+ case 4:
+ close;
+ }
} \ No newline at end of file