Script Request, will pay. (Be fair though)

TehAroil

New member
Messages
9
Points
0
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.
 

Heart2.png

 
1) A refiner NPC script which uses HD Carnium/Bradium to refine Shadow Equipment and Costume Headgear from +10~20.
Code:
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.
Code:
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

 
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.

 
Replace space with tab in header

Code:
prontera,155,185,5<tab>script<tab>kjdshfkjsf<tab>1_F_MARIA,{
 
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? 

Code:
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;
 
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

 
Back
Top