Jump to content
  • 0
ThyroDree

Healer will remove status like curse, etc.,

Question

Anyone can help me? I have tried this and it  doesn't remove curse status

//===== Hercules Script ======================================
//= Healer
//===== By: ==================================================
//= Euphy
//===== Current Version: =====================================
//= 1.2
//===== Description: =========================================
//= Basic healer script.
//===== Additional Comments: =================================
//= 1.0 Initial script.
//= 1.1 Aligned coordinates with @go.
//= 1.2 Fix variables and character stuck at healing
//============================================================

-	script	Healer	FAKE_NPC,{

	.@price = 0;	// Zeny required for heal
	.@Buffs = 0;	// Also buff players? (1: yes / 0: no)
	.@Delay = 1;	// Heal delay, in seconds

	if (@HD > gettimetick(2)) end;
	if (.@price) {
		message strcharinfo(PC_NAME),"Healing costs "+.@price+" Zeny.";
		if (Zeny < .@price) end;
		if(select("^0055FFHeal^000000", "^777777Cancel^000000") == 2) close;
		Zeny -= .@price;
	}
	specialeffect(EF_HEAL2, AREA, playerattached()); percentheal 100,100;
	getinventorylist;
	for( set .@i,0; .@i < @inventorylist_count; set .@i, .@i + 1 ) {
	if ( @inventorylist_identify[.@i] == 1 ) continue;
	delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0;
	getitem @inventorylist_id[.@i],1;
	}
        // Remove negative status effects
        for ( .@i = 0; .@i < getarraysize( .debuffs ); ++.@i ) {
            sc_end .debuffs[ .@i ];
        }
        // Repair equipment
        while( getbrokenid(1) ) {
            repairall;
        }
	if (.@Buffs) {
		specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start SC_INC_AGI,240000,10;
		specialeffect(EF_BLESSING, AREA, playerattached()); sc_start SC_BLESSING,240000,10;
	}
	if (.@Delay) @HD = gettimetick(2)+.@Delay;
	end;
}


// Duplicates
//============================================================
alberta,186,143,6	duplicate(Healer)	Healer#alb	4_M_ALCHE_C
aldebaran,135,118,6	duplicate(Healer)	Healer#alde	4_M_ALCHE_C
amatsu,200,79,4	duplicate(Healer)	Healer#ama	4_M_ALCHE_C
ayothaya,207,169,6	duplicate(Healer)	Healer#ayo	4_M_ALCHE_C
comodo,184,158,6	duplicate(Healer)	Healer#com	4_M_ALCHE_C
einbech,57,36,6	duplicate(Healer)	Healer#einbe	4_M_ALCHE_C
einbroch,57,202,6	duplicate(Healer)	Healer#einbr	4_M_ALCHE_C
geffen,115,72,6	duplicate(Healer)	Healer#gef	4_M_ALCHE_C
gonryun,156,122,6	duplicate(Healer)	Healer#gon	4_M_ALCHE_C
hugel,89,150,6	duplicate(Healer)	Healer#hug	4_M_ALCHE_C
izlude,125,118,5	duplicate(Healer)	Healer#izl	4_M_ALCHE_C
jawaii,250,139,4	duplicate(Healer)	Healer#jaw	4_M_ALCHE_C
lighthalzen,152,100,6	duplicate(Healer)	Healer#lhz	4_M_ALCHE_C
louyang,212,43,5	duplicate(Healer)	Healer#lou	4_M_ALCHE_C
manuk,272,144,6	duplicate(Healer)	Healer#man	4_M_ALCHE_C
mid_camp,203,289,6	duplicate(Healer)	Healer#mid	4_M_ALCHE_C
moc_ruins,72,164,4	duplicate(Healer)	Healer#moc	4_M_ALCHE_C
morocc,153,97,6	duplicate(Healer)	Healer#mor	4_M_ALCHE_C
moscovia,220,191,4	duplicate(Healer)	Healer#mos	4_M_ALCHE_C
niflheim,212,182,5	duplicate(Healer)	Healer#nif	4_M_ALCHE_C
payon,179,106,4	duplicate(Healer)	Healer#pay	4_M_ALCHE_C
payon,163,229,4	duplicate(Healer)	Healer#pay2	4_M_ALCHE_C
prontera,151,185,4	duplicate(Healer)	Healer#prt	4_M_ALCHE_C
rachel,125,116,6	duplicate(Healer)	Healer#rac	4_M_ALCHE_C
splendide,201,153,4	duplicate(Healer)	Healer#spl	4_M_ALCHE_C
thor_camp,249,74,4	duplicate(Healer)	Healer#thor	4_M_ALCHE_C
umbala,105,148,3	duplicate(Healer)	Healer#umb	4_M_ALCHE_C
veins,217,121,4	duplicate(Healer)	Healer#ve	4_M_ALCHE_C
xmas,143,136,4	duplicate(Healer)	Healer#xmas	4_M_ALCHE_C
yuno,164,45,4	duplicate(Healer)	Healer#yuno	4_M_ALCHE_C

// Duplicates (Renewal)
//============================================================
brasilis,194,221,6	duplicate(Healer)	Healer#bra	4_M_ALCHE_C
dewata,195,187,4	duplicate(Healer)	Healer#dew	4_M_ALCHE_C
dicastes01,201,194,4	duplicate(Healer)	Healer#dic	4_M_ALCHE_C
ecl_in01,45,60,4	duplicate(Healer)	Healer#ecl	4_M_ALCHE_C
malangdo,132,114,6	duplicate(Healer)	Healer#mal	4_M_ALCHE_C
malaya,205,205,6	duplicate(Healer)	Healer#ma	4_M_ALCHE_C
mora,55,152,4	duplicate(Healer)	Healer#mora	4_M_ALCHE_C

 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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