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

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.