quesoph - Mar 29, 2014 16:30
As the title says..
I am using this NPC.
[spoiler][code=auto:0]- script Healer -1,{
set .@Price,0; // Zeny required for heal
set .@Buffs,1; // Also buff players? (1: yes / 0: no)
set .@Delay,0; // Heal delay, in seconds
callfunc "F_ClearGarbage",0;
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 EF_HEAL2; percentheal 100,100;
if (.@Buffs) {
for( .@i = 0; .@i < .size_buff; .@i++ ) {
.@sum = atoi(.@b$[.@i]) + .min_Levels[.@i];
.@j = .Buffs$[.@i];
// stand (strcharinfo(0)); /// <<-- added this so that character dont get stuck..
if( .@sum )
sc_start .@j, 240000, .@sum;
if ( .min_Levels[3] ) {
skilleffect 461, 5;
message strcharinfo(0),jobname(BaseJob)=="Bard"||jobname(BaseJob)=="Dancer"?"Bard and Dancer Spirit !!":jobname(BaseJob)+" Spirit !!";
}
}
}
if (.@Delay) set @HD, gettimetick(2)+.@Delay;
close;
OnInit:
deletearray .Buffs$;
deletearray .min_Levels;
setarray .Buffs$, SC_INC_AGI, SC_BLESSING, SC_KYRIE, SC_SOULLINK;
setarray .min_Levels, 5, 5, 1, 1;
.size_buff = getarraysize( .Buffs$ );
end;
}
prontera,163,185,6 duplicate(Healer) Healer#alb 909[/code]
[/spoiler]
Please confirm.
bgamez23 - Mar 29, 2014 18:39
this is the script that i post script support section right? the bug is on the skilleffect [color=rgb(0,102,102)]461[/color][color=rgb(102,102,0)],[/color] [color=rgb(0,102,102)]5[/color][color=rgb(102,102,0)];. if you are sitting and talk to the npc. your character make automatically stand up and with formation.[/color]
This post has been edited by
bgamez23
on Mar 29, 2014 18:40