TehAroil 0 Posted December 13, 2015 Simply put:1) A refiner NPC script which uses HD Carnium/Bradium to refine Shadow Equipment and Costume Headgear from +10~20.Bonus: For it also to be able to use HD Elunium for safe +7~10 refines, it would be very much appreciated but not necessary.--If an HD Carnium refiner which takes Shadow Equipment already exists, let me know. As to the best of my knowledge it doesn't. Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted December 16, 2015 prontera,155,185,5 script kjdshfkjsf 1_F_MARIA,{ disable_items; mes "select which part of your custome to refine"; next; for ( .@i = EQI_COSTUME_HEAD_LOW; .@i <= EQI_SHADOW_ACC_L; ++.@i ) .@menu$ += ( getequipid(.@i) == -1 )? ":" : getequipname(.@i) +":"; if ( .@menu$ == "::::::::::" ) { mes "sorry you don't have a costume equipped"; close; } .@s = select(.@menu$) +10; if ( !getequipisenableref(.@s) ) { mes "This item is not refine-able"; close; } if ( getequiprefinerycnt(.@s) < 10 || getequiprefinerycnt(.@s) >= 20 ) { mes "I only refine item from +10 ~ +19"; // lazy description close; } .@item = getequipweaponlv(.@s)? HD_Bradium : HD_Carnium; if ( !countitem(.@item) ) { mes "you don't have "+ getitemname(.@item) +" for me to refine this item."; close; } if ( getequiprefinerycnt(.@s) < 100 ) { mes "There are chance to fail, proceed ?"; next; if ( select( "Yes", "No" ) == 2 ) close; delitem .@item, 1; if ( getequippercentrefinery(.@s) <= rand(100) && getequippercentrefinery(.@s) <= rand(100) ) { downrefitem .@s; mes "sry I failed"; close; } } else delitem .@item, 1; successrefitem .@s; mes "successful"; close;}you didn't say in the topic, so I'm lazy so made it 100% chance success LOLwell it was just a copy paste from https://github.com/HerculesWS/Hercules/blob/master/npc/merchants/hd_refine.txt Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted December 13, 2015 1) A refiner NPC script which uses HD Carnium/Bradium to refine Shadow Equipment and Costume Headgear from +10~20. prontera,155,185,5 script kjdshfkjsf 1_F_MARIA,{disable_items;mes "select which part of your custome to refine";next;for ( .@i = EQI_COSTUME_HEAD_LOW; .@i <= EQI_SHADOW_ACC_L; ++.@i ).@menu$ += ( getequipid(.@i) == -1 )? ":" : getequipname(.@i) +":";if ( .@menu$ == "::::::::::" ) {mes "sorry you don't have a costume equipped";close;}.@s = select(.@menu$) +10;if ( getequiprefinerycnt(.@s) < 10 || getequiprefinerycnt(.@s) >= 20 ) {mes "I only refine item from +10 ~ +19"; // lazy descriptionclose;}.@item = getequipweaponlv(.@s)? HD_Bradium : HD_Carnium;if ( !countitem(.@item) ) {mes "you don't have "+ getitemname(.@item) +" for me to refine this item.";close;}delitem .@item, 1;successrefitem .@s;mes "always successful";close;} . . Bonus: For it also to be able to use HD Elunium for safe +7~10 refines, it would be very much appreciated but not necessary. prontera,155,185,5 script kjdshfkjsf 1_F_MARIA,{disable_items;mes "select which part of your equipment to refine";next;for ( .@i = EQI_HEAD_TOP; .@i <= EQI_HEAD_LOW; ++.@i ).@menu$ += ( getequipid(.@i) == -1 )? ":" : getequipname(.@i) +":";if ( .@menu$ == "::::::::::" ) {mes "sorry you don't have a equipment equipped";close;}.@s = select(.@menu$);if ( getequiprefinerycnt(.@s) < 7 || getequiprefinerycnt(.@s) >= 10 ) {mes "I only refine item from +7 ~ +9"; // lazy descriptionclose;}.@item = getequipweaponlv(.@s)? HD_Oridecon : HD_Elunium;if ( !countitem(.@item) ) {mes "you don't have "+ getitemname(.@item) +" for me to refine this item.";close;}delitem .@item, 1;successrefitem .@s;mes "always successful";close;} . . lazy .... just copy paste Quote Share this post Link to post Share on other sites
0 TehAroil 0 Posted December 15, 2015 prontera,155,185,5 script kjdshfkjsf 1_F_MARIA,{disable_items;mes "select which part of your custome to refine";next;for ( .@i = EQI_COSTUME_HEAD_LOW; .@i <= EQI_SHADOW_ACC_L; ++.@i ).@menu$ += ( getequipid(.@i) == -1 )? ":" : getequipname(.@i) +":";if ( .@menu$ == "::::::::::" ) {mes "sorry you don't have a costume equipped";close;}.@s = select(.@menu$) +10;if ( getequiprefinerycnt(.@s) < 10 || getequiprefinerycnt(.@s) >= 20 ) {mes "I only refine item from +10 ~ +19"; // lazy descriptionclose;}.@item = getequipweaponlv(.@s)? HD_Bradium : HD_Carnium;if ( !countitem(.@item) ) {mes "you don't have "+ getitemname(.@item) +" for me to refine this item.";close;}delitem .@item, 1;successrefitem .@s;mes "always successful";close;} Can you confirm if this works? Tried to add it in, with and without editing and it doesn't seem to want to appear. Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted December 15, 2015 Replace space with tab in header prontera,155,185,5<tab>script<tab>kjdshfkjsf<tab>1_F_MARIA,{ Quote Share this post Link to post Share on other sites
0 TehAroil 0 Posted December 15, 2015 Replace space with tab in header prontera,155,185,5<tab>script<tab>kjdshfkjsf<tab>1_F_MARIA,{ Ah! I see! Thank you so much! Noticed that Shadow Garments need HD Bradium to be refined, as well it not producing the same 'failure and derefinement' aspects of your typical HD Carnium/Bradium refiner. Any way that can also be implemented into this script? downrefitem .@part; next; emotion e_omg; mes "[Blacksmith Mighty Hammer]"; mes "Oops!!"; next; mes "[Blacksmith Mighty Hammer]"; mes "I am sure a person like you would never blame me for a decrease in refine level by 1. Hmm."; close; Quote Share this post Link to post Share on other sites
Simply put:
1) A refiner NPC script which uses HD Carnium/Bradium to refine Shadow Equipment and Costume Headgear from +10~20.
Bonus: For it also to be able to use HD Elunium for safe +7~10 refines, it would be very much appreciated but not necessary.
--
If an HD Carnium refiner which takes Shadow Equipment already exists, let me know. As to the best of my knowledge it doesn't.
Share this post
Link to post
Share on other sites