From 6979b1d621c2e5c6dab882e3825c4a867d19ba98 Mon Sep 17 00:00:00 2001 From: euphyy Date: Fri, 1 Jun 2012 02:36:44 +0000 Subject: /custom/ folder overhaul: ==== Script Changes ==== * Warper replaced with Euphy's Warper v1.2 * Stylist replaced with a much more efficient script * Healer replaced with more efficient script * MVP Arena heavily condensed, and text edited * Removed logout suggestion in Reset NPC (why was that there?) * Quest Warper added to scripts_custom.conf [bug fix] ==== Reorganization ==== * All folders in root directory removed except "battleground", "events", "quests" * All non-essential scripts in root directory moved to "etc" folder * A few files renamed for easier identification * scripts_custom.conf reordered for easier identification git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16193 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/custom/healer.txt | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 npc/custom/healer.txt (limited to 'npc/custom/healer.txt') diff --git a/npc/custom/healer.txt b/npc/custom/healer.txt new file mode 100644 index 000000000..34f5b6a39 --- /dev/null +++ b/npc/custom/healer.txt @@ -0,0 +1,49 @@ +//===== rAthena Script ======================================= +//= Healer +//===== By: ================================================== +//= Euphy +//===== Current Version: ===================================== +//= 1.0 +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= Basic healer script. +//============================================================ + +- script Healer -1,{ + + set .@Price,0; // Zeny required for heal + set .@Buffs,0; // Also buff players? (1: yes / 0: no) + set .@Delay,0; // Heal delay, in seconds + + if (@HD > gettimetick(2)) end; + if (.@Price) { + message strcharinfo(0),"Healing costs "+.@Price+" Zeny."; + if (Zeny < .@Price) end; + if(select("^0055FFHeal^000000:^777777Cancel^000000")==2) close; + set Zeny, Zeny-.@Price; } + specialeffect2 313; percentheal 100,100; + if (.@Buffs) { + specialeffect2 37; sc_start SC_INCREASEAGI,240000,10; + specialeffect2 42; sc_start SC_BLESSING,240000,10; } + if (.@Delay) set @HD, gettimetick(2)+.@Delay; + if (.@Price) close; + end; +} + +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 \ No newline at end of file -- cgit v1.2.3-70-g09d2