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/heal.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/heal.txt')
-rw-r--r-- | npc/custom/heal.txt | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/npc/custom/heal.txt b/npc/custom/heal.txt new file mode 100644 index 000000000..9ef5a6fc5 --- /dev/null +++ b/npc/custom/heal.txt @@ -0,0 +1,48 @@ +- script healer -1,{ + set .payment,0; // Charge for heals? 1 = yes, 0 = no + .price = 100; // How much zeny to charge for heals? + callfunc "F_ClearGarbage",0; + + mes "[Healer]"; + mes "I have amazing healing powers!!"; + mes "You look like a person who needs them."; + mes "Want some?"; + if (.payment==1) { + mes "My healing powers cost "+.price+" zeny."; + } + next; + switch(select("Heal:No thanks")) { + case 1: + if (.payment==1) { + Zeny = Zeny-.price; + } + percentheal 100,100; + mes "[Healer]"; + mes "Wonderful, You are now healed!."; + mes "Have fun adventuring!!"; + break; + case 2: + mes "[Healer]"; + mes "Alright, come back if you need a heal."; + break; + } + close; +} + +// NPC Duplicates +alberta,185,144,5 duplicate(healer) Healer#alb 742 +aldebaran,134,123,5 duplicate(healer) Healer#alde 742 +amatsu,200,80,5 duplicate(healer) Healer#ama 742 +ayothaya,155,111,5 duplicate(healer) Healer#ayo 742 +comodo,188,162,5 duplicate(healer) Healer#com 742 +geffen,121,61,5 duplicate(healer) Healer#gef 742 +gonryun,164,130,5 duplicate(healer) Healer#gon 742 +izlude,125,118,5 duplicate(healer) Healer#izl 742 +louyang,225,103,5 duplicate(healer) Healer#lou 742 +morocc,159,96,5 duplicate(healer) Healer#mor 742 +niflheim,188,180,5 duplicate(healer) Healer#nif 742 +payon,180,105,5 duplicate(healer) Healer#pay 742 +prontera,150,184,5 duplicate(healer) Healer#pront 742 +umbala,94,162,5 duplicate(healer) Healer#umb 742 +xmas,149,136,5 duplicate(healer) Healer#xmas 742 +yuno,152,186,5 duplicate(healer) Healer#yuno 742 |