Booo!! You didn't press the button (yes, it's a big deal).
Anyway, the specialeffect2 command only displays the effect/visuals and doesn't do anything at all (aside from that). What you want is to use the sc_start, which is actually the command that buffs (or debuffs) players. Click the links and you'll see the explanation for each. If you want, you can also use npcskill command, which is easier than the sc_start command.
Here's a revamped version of the file from above:
Paste: 1b9xqn2i457du
Remember that button.
Oh wait? You want me to separate the Payment and the Buffer? Then you need to provide your NPC healer script.
hehehe....sorry....tooo excited and forgot to mark as solve....thanks a lot now i get it....ya i need to separate the payment and the buffer...here is my healer..
- 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 "+callfunc("F_InsertComma",.@Price)+" Zeny.";
if (Zeny < .@Price) end;
if(select("^0055FFHeal^000000:^777777Cancel^000000") == 2) end;
set Zeny, Zeny-.@Price;
}
specialeffect2 EF_HEAL2; percentheal 100,100;
if (.@Buffs) {
specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,240000,10;
specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10;
}
if (.@Delay) set @HD, gettimetick(2)+.@Delay;
end;
}
really thanks a lot...