Jump to content
  • 0
Sign in to follow this  
kerbiii

refiner NPC

Question

on the official server they have this item

 

6635,Blacksmith_Blessing,Blacksmith's Blessing,3,20,,0,,,,,,,,,,,,,{},{},{}

 

they can use it to avoid reduction while refining

 

anyone can add it on our existing refine npc?

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

^ You dont have to add a script on that item. just edit your refine.txt and add item checker on the script countitem(6635) a

 

example on line:

		if(getequippercentrefinery(.@part) <= rand(100) && !countitem(6635)) { <-- add item check			failedrefitem .@part;			mes "[" + getarg(0) + "]";			emotion (!rand(5))?e_cash:e_omg;			set .@lose,rand(1,3);			if (.@lose == 1) {				mes "OH! MY GOD!";				mes "Damn it! Not again!";				mes "I'm terribly sorry, but you know practice does make perfect.";				mes "Um, right? Heh heh...";			} else if(.@lose == 2) {				mes "Nooooooo!";				mes "It broke!";				mes "I-I'm sorry!";			} else {				mes "Crap!";				mes "It couldn't take";				mes "much more tempering!";				mes "Sorry about this...";			}			close;		}		mes "["+getarg(0)+"]";		successrefitem .@part;		if(countitem(6635)) delitem 6635,1; <-- Delete item		emotion e_heh;
Edited by sevenzz23

Share this post


Link to post
Share on other sites
  • 0

 

^ You dont have to add a script on that item. just edit your refine.txt and add item checker on the script countitem(6635) a

 

example on line:

		if(getequippercentrefinery(.@part) <= rand(100) && !countitem(6635)) { <-- add item check			failedrefitem .@part;			mes "[" + getarg(0) + "]";			emotion (!rand(5))?e_cash:e_omg;			set .@lose,rand(1,3);			if (.@lose == 1) {				mes "OH! MY GOD!";				mes "Damn it! Not again!";				mes "I'm terribly sorry, but you know practice does make perfect.";				mes "Um, right? Heh heh...";			} else if(.@lose == 2) {				mes "Nooooooo!";				mes "It broke!";				mes "I-I'm sorry!";			} else {				mes "Crap!";				mes "It couldn't take";				mes "much more tempering!";				mes "Sorry about this...";			}			close;		}		mes "["+getarg(0)+"]";		successrefitem .@part;		if(countitem(6635)) delitem 6635,1; <-- Delete item		emotion e_heh;

can you please add it on the hd_refiner.txt i dont really get it, 

 

if you have blacksmith's blessing

it will ask you if you want to use blacksmith's blessing to avoid decrease by 1 refine level,

you can choose yes or not

if you use it bs blessing it will be deleted upon failing or suceding

Edited by kerbiii

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.