refiner NPC

kerbiii

New member
Messages
342
Points
0
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?

 
^ 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:

Code:
		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;
 
Last edited by a moderator:
^ 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

 
Last edited by a moderator:
Back
Top