Jump to content
  • 0
Sign in to follow this  
ThyroDree

2 Diablo Set to 1 Valkyrie Set

Question

6 answers to this question

Recommended Posts

  • 0

Try : 

prontera,150,150,0	script	Sample	123,{	// diablo parts id here	setarray .id[0],2729,2375;	// put valkyrie parts id here	setarray .vid[0],2357,2115;	mes "Bring me 2 diablo set for 1 valkyrie set";	next;	if (select("I have those requirements:Ok")-1) close;	for ( .@i = 0; .@i < getarraysize(.id); .@i++ ) {		if ( countitem(.id[.@i]) < 2 ) {			mes "You need the following : ";			for ( .@x = 0; .@x < getarraysize(.id); .@x++ )				mes "2x " +getitemname(.id[.@x]);			close;		}	}		for ( .@i = 0; .@i < getarraysize(.id); .@i++ )		 delitem .id[.@i], 2;	for ( .@i = 0; .@i < getarraysize(.vid); .@i++ )		 getitem .vid[.@i], 1;	mes "Done!";	close;}

Share this post


Link to post
Share on other sites
  • 0

 

Try : 

prontera,150,150,0	script	Sample	123,{	// diablo parts id here	setarray .id[0],2729,2375;	// put valkyrie parts id here	setarray .vid[0],2357,2115;	mes "Bring me 2 diablo set for 1 valkyrie set";	next;	if (select("I have those requirements:Ok")-1) close;	for ( .@i = 0; .@i < getarraysize(.id); .@i++ ) {		if ( countitem(.id[.@i]) < 2 ) {			mes "You need the following : ";			for ( .@x = 0; .@x < getarraysize(.id); .@x++ )				mes "2x " +getitemname(.id[.@x]);			close;		}	}		for ( .@i = 0; .@i < getarraysize(.id); .@i++ )		 delitem .id[.@i], 2;	for ( .@i = 0; .@i < getarraysize(.vid); .@i++ )		 getitem .vid[.@i], 1;	mes "Done!";	close;}

when i click OK nothing happens. can you change like 1 silver valk set and 1 white valk set to 1 valkyrie set? (Armor,Mantue,and Shoes) not hg's

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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