Jump to content
  • 0
Sign in to follow this  
zackpinoy

healer script adding buff

Question

hi po pano po magdagdag ng agi bless sa na automatic buff pag click ng healer? e2 po ang script ng healer npc.  :D

 

- script Healer -1,{
 
.@price = 0; // Zeny required for heal
.@Buffs = 0; // Also buff players? (1: yes / 0: no)
.@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;
Zeny -= .@price;
}
specialeffect2 EF_HEAL2; percentheal 100,100;
if (.@Buffs) {
specialeffect2 EF_INCAGILITY; sc_start SC_INC_AGI,240000,10;
specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10;
}
if (.@Delay) @HD = gettimetick(2)+.@Delay;
close;
}

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

minsan kailangan mo rin po muna intindihin bago ka po gumawa nang topic :)

 

wag laging i-asa sa iba :D

hehe ganito siguro ang feeling kpag bago lang po, mejo wala pang confidence. salamat sa laging pag alalay.  :D

Share this post


Link to post
Share on other sites

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...
Sign in to follow this  

×
×
  • Create New...

Important Information

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