Jump to content
  • 0

Refiner refines Unrefinable Items


awesomazingxed

Question


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   0
  • Joined:  10/24/14
  • Last Seen:  

Hello everyone, can somebody help me. 

This is a working Instant +4 refiner. 

My problem is this also upgrade headgears like beret, and any other items that is not refinable. 

Thank you. 

turbo_room,64,86,5	script	Insta +4 Refiner	907,{
mes "[Smith]";
mes "Hi,I can Refine your";
mes "Equipment to +4";
mes "or Repair your";
mes "Equipment.Also I'm able";
mes "to Derefine your Equipment.";
mes "What do you want from me?";
next;
switch(select("I want a Repair:I want a Refine:I want a Derefine:Nothing")) {
	case 1:
	mes "[Smith]";
	mes "Okay I'm going to repair";
	mes "your Equipment.";
	next;
	while (getbrokenid(1)) {
	repair(1);
	set .@i, .@i +1;
	}
	if (.@i) dispbottom .@i + " items repaired.";
	mes "[Smith]";
	mes "Congrats!Enjoy!";
	close;
	end;
	case 2:
	mes "[Smith]";
	mes "Okay I'm going";
	mes "to refine your Equipment";
	mes "to +4,Thx for using my Service!";
	next;
	for(set @part,1;@part<101;set @part,@part+1) 
	if(getequipisequiped(@part)) 
	while(getequiprefinerycnt(@part) < 4) 
	successrefitem @part;
	mes "[Smith]";
	mes "Congrats Enjoy it!";
	close;
	end;
	case 3:
	mes "[ Smith ]";
	mes "Okay I'm going to Derifne your Equipment now.";
	next;
	setarray .@a[1],4,16,64,256;
	select(getequipname(1),getequipname(2),getequipname(3),getequipname(4),getequipname(5),getequipname(6),getequipname(7),getequipname(8),getequipname(9),getequipname(10));
		if ( !getequipisequiped(@menu) ) {
			mes "[ Smith ]";
			mes "There's nothing equipped there...";
			close; }
		if ( zeny < 1 ) {
			mes "[ Smith ]";
			mes "You don't have enough zeny";
			close; }
		if ( getequiprefinerycnt(@menu) > 10 || getequiprefinerycnt(@menu) == 0 ) {
			mes "[ Smith ]";
			mes "This item cannot be de-refined.";
			close; }
	atcommand "@refine "+ .@a[@menu] +" -90";
	set zeny,zeny - 1;
	mes "[ Smith ]";
	mes "Your item has de-refined successfully";
	close;
	case 4:
	mes "[ Smith ]";
	mes "Okay,come back when you need me.";
	close;
	}
}
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

try to add this in your script.

	if (!getequipisenableref(@part)) {
		mes "Go find another Blacksmith. You can't refine this thing.";
		close;
	}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   0
  • Joined:  10/24/14
  • Last Seen:  

 

try to add this in your script.

	if (!getequipisenableref(@part)) {
		mes "Go find another Blacksmith. You can't refine this thing.";
		close;
	}

 

Can you remake my script? Thanks. 

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...