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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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