kerbiii 5 Posted November 29, 2013 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? Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted November 29, 2013 (edited) ^ 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 November 29, 2013 by sevenzz23 Quote Share this post Link to post Share on other sites
0 hemagx 69 Posted November 29, 2013 Or simply use the officail script : https://github.com/HerculesWS/Hercules/blob/master/npc/re/merchants/blessed_refiner.txt Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted November 30, 2013 (edited) Or simply use the officail script : https://github.com/HerculesWS/Hercules/blob/master/npc/re/merchants/blessed_refiner.txt that's using blessed ores not blacksmith's blessing Edited November 30, 2013 by sevenzz23 Quote Share this post Link to post Share on other sites
0 kerbiii 5 Posted November 30, 2013 (edited) ^ 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 November 30, 2013 by kerbiii Quote Share this post Link to post Share on other sites
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