diff options
author | jmanfffreak <jmanfffreak@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-28 21:19:30 +0000 |
---|---|---|
committer | jmanfffreak <jmanfffreak@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-28 21:19:30 +0000 |
commit | 72cd35c33dee93b88969b579a0cc3327b2e7f2d6 (patch) | |
tree | 91b88d46c64c35aafa450284f989d769f0f42e0f /npc/custom/reset.txt | |
parent | 2aa1029edac5ac7cfb19de5ca5a1050ac5b8f87c (diff) | |
download | hercules-72cd35c33dee93b88969b579a0cc3327b2e7f2d6.tar.gz hercules-72cd35c33dee93b88969b579a0cc3327b2e7f2d6.tar.bz2 hercules-72cd35c33dee93b88969b579a0cc3327b2e7f2d6.tar.xz hercules-72cd35c33dee93b88969b579a0cc3327b2e7f2d6.zip |
Massive updates to /npc/custom folder:
* Removed eAAC scripts, which were outdated. (tid: 64380) (will be released in downloads section)
* Removed scripts in /Lance/ folder, which haven't been updated in years. (will be released in downloads section)
* Combined heal.txt and heal_payment.txt into one script, set options within file to enable or disable zeny requirement.
* Added choice in job changer if you allow third job changes.
* Updated warper with new towns and some dungeons.
* Card remover now has option to prevent or allow item destruction upon removing failure
* Removed 2-2shop and replaced with a full itemmall (thanks Masao!)
* General file structure changes (possibly more later)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16164 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/reset.txt')
-rw-r--r-- | npc/custom/reset.txt | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/npc/custom/reset.txt b/npc/custom/reset.txt new file mode 100644 index 000000000..2b185b958 --- /dev/null +++ b/npc/custom/reset.txt @@ -0,0 +1,63 @@ +//===== 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] +//============================================================ + +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: "+ .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 < .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-.rskill; + ResetSkill; + close; + case 2: + mes "[Reset Girl]"; + 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-.rstat; + ResetStatus; + close; + case 3: + mes "[Reset Girl]"; + 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-.rboth; + ResetSkill; + ResetStatus; + close; + case 4: + mes "Come again soon!"; + close; + } +}
\ No newline at end of file |