Jump to content
  • 0
TehAroil

Script Request, will pay. (Be fair though)

Question

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.
 

post-7771-0-26478600-1450031978_thumb.png

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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 LOL

well it was just a copy paste from

https://github.com/HerculesWS/Hercules/blob/master/npc/merchants/hd_refine.txt

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

 

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.

Share this post


Link to post
Share on other sites
  • 0

 

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;

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...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.