Jump to content
  • 0
Sign in to follow this  
Bringer

FCP NPC Script

Question

once i FCP myself  getting stone curse not FCP anyone?

 

 

Askydun,82,108,5	script	Hunyango	450,{    mes "[Hunyango]";    mes "Hey I can give you Full Chemical Protection for "+.amount+" "+getitemname(7139)+"";    mes "So do you want Full Chemical Protection?";    next;    if(select("Yes:No") == 2) close;    if(countitem(.item) < .amount) {        mes .n$;        mes "Sorry you don't have enough glistening coat";    }    mes "[Chemical protector]";    mes "Thank you, you will be chemically protected now";    close2;    delitem .item,.amount;    skilleffect 479,0;    sc_start SC_CP_ARMOR,600000,5;     sc_start SC_CP_WEAPON,600000,5;    sc_start SC_CP_SHIELD,600000,5;         sc_start SC_CP_HELM,600000,5;     end;OnInit:        set .item,7139; //Item you want to use    set .amount,1; //The amount of items you want    end;}Askydun	mapflag	nowarpAskydun	mapflag	noteleportAskydun	mapflag	nomemoAskydun	mapflag	nogo Askydun	mapflag	nodropAskydun	mapflag	noicewallAskydun	mapflag	nobranch

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

 

SC_PROTECTWEAPON	72SC_PROTECTSHIELD	73SC_PROTECTARMOR	74SC_PROTECTHELM	75

https://github.com/HerculesWS/Hercules/blob/master/db/const.txt

sc_start SC_PROTECTWEAPON,600000,5;

sc_start SC_PROTECTSHIELD,600000,5;

sc_start SC_SC_PROTECTARMOR,600000,5;

sc_start SC_SC_PROTECTHELM,600000,5;

 

like this sir?

Edited by Bringer

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.