summaryrefslogtreecommitdiff
path: root/npc/custom/jobs
diff options
context:
space:
mode:
authorjmanfffreak <jmanfffreak@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-07 04:25:26 +0000
committerjmanfffreak <jmanfffreak@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-07 04:25:26 +0000
commit6e671afff0eebd6459f8c56b8ec6d9ee40cf2f14 (patch)
treef0a10004f684da02405c34a3be69a5609076f4ec /npc/custom/jobs
parent73ad7989194c210cd90f6f3a696250df162b69eb (diff)
downloadhercules-6e671afff0eebd6459f8c56b8ec6d9ee40cf2f14.tar.gz
hercules-6e671afff0eebd6459f8c56b8ec6d9ee40cf2f14.tar.bz2
hercules-6e671afff0eebd6459f8c56b8ec6d9ee40cf2f14.tar.xz
hercules-6e671afff0eebd6459f8c56b8ec6d9ee40cf2f14.zip
First round of /npc/custom folder cleanups.
* Rewrote /npc/custom/banks/bank.txt to be a little more optimized. * Added cost variables to /npc/custom/jobs/reset.txt * Removed /npc/custom/devnpc.txt (perhaps we can rewrite another one for rA?) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15405 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/jobs')
-rw-r--r--npc/custom/jobs/reset.txt24
1 files changed, 14 insertions, 10 deletions
diff --git a/npc/custom/jobs/reset.txt b/npc/custom/jobs/reset.txt
index ab4be4353..8d69650df 100644
--- a/npc/custom/jobs/reset.txt
+++ b/npc/custom/jobs/reset.txt
@@ -14,46 +14,50 @@
//============================================================
prontera,150,193,4 script Reset Girl 124,{
+ set @rskill,5000; // Set value in zeny for skill reset here
+ set @rstat,5000; // Set value in zeny for stat reset here
+ set @rboth,9000; // Set value for "package deal" (i.e.: reseting both) here.
mes "[Reset Girl]";
mes "I am a Reset Girl.";
- mes "Reset Stats: 5,000z";
- mes "Reset Skills: 5,000z";
- mes "Reset Both: 9,000z";
+ mes "Reset Stats: "+ @rstat +"z";
+ mes "Reset Skills: "+ @rskill +"z";
+ mes "Reset Both: "+ @rboth +"z";
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) {
+ if (Zeny < @rskill) {
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;
+ set Zeny,Zeny-@rskill;
ResetSkill;
close;
case 2:
mes "[Reset Girl]";
- if (Zeny < 5000) {
+ if (Zeny < @rstat) {
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;
+ set Zeny,Zeny-@rstat;
ResetStatus;
close;
case 3:
mes "[Reset Girl]";
- if (Zeny < 9000) {
+ if (Zeny < @rboth) {
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;
+ set Zeny,Zeny-@rboth;
ResetSkill;
ResetStatus;
close;
case 4:
+ mes "Come again soon!";
close;
}
-}
+} \ No newline at end of file