Jump to content
  • 0
Sign in to follow this  
Sikdope

healer no need to approach

Question

1 answer to this question

Recommended Posts

  • 0

add OnTouch and emotion ...

-	script	Healer	-1,{
OnTouch:
	.@Price = 0;	// Zeny required for heal
	.@Buffs = 1;	// Also buff players? (1: yes / 0: no)
	.@Delay = 1;	// Heal delay, in seconds

	if (@HD > gettimetick(2))
		end;
	if (.@Price) {
		message strcharinfo(0), "Healing costs " + callfunc("F_InsertComma",.@Price) + " Zeny.";
		if (Zeny < .@Price)
			end;
		if (select("^0055FFHeal^000000:^777777Cancel^000000") == 2)
			end;
		Zeny -= .@Price;
	}
	specialeffect2 EF_HEAL2;
	percentheal 100,100;
	emotion ET_CHUP;
	if (.@Buffs) {
		specialeffect2 EF_INCAGILITY;
		sc_start SC_INCREASEAGI,620000,10;
		specialeffect2 EF_BLESSING;
		sc_start SC_BLESSING,620000,10;
		repairall;
		identifyall;
	}

	if (.@Delay)
		@HD = gettimetick(2) + .@Delay;
	end;
}
                           
prontera,151,188,5	duplicate(Healer)	Healer#prt	909,14,14

honestly rathena still has a few script commands that hercules lacks, like this *identifyall

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.