Jump to content
  • 0

How to Edit this script?


Kozima

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  82
  • Reputation:   2
  • Joined:  10/30/13
  • Last Seen:  

Hello Master..

 

Can all of you help me, to edit this script like i want,

prontera,150,150,3,	script	+10 Refiner	813,{
for(set @part,1;@part<11;set @part,@part+1) if(getequipisequiped(@part)) while(getequiprefinerycnt(@part) < 4) successrefitem @part;
end;
}

This Script make my armor get refine to +4

 

can all of you fix this script

 

make This script only refine 

 

- Armor

- Shoes

- Muffler

- Weapon

- Shield

 

Thanks Master  /kis  /kis

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  666
  • Reputation:   674
  • Joined:  11/12/12
  • Last Seen:  

If I understood this right, you want all gears to be upgraded to +4, expect for accessories and headgears?
 

prontera,150,150,3,	script	+10 Refiner	813,{
	for (.@part = EQI_ARMOR; .@part <= EQI_SHOES; .@part++) {
		if (!getequipisequiped(.@part)) continue;
		.@up = 4 - getequiprefinerycnt(.@part);
		
		if (.@up > 0) {
			successrefitem .@part, .@up;
		}
	}
	
	end;
}
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  82
  • Reputation:   2
  • Joined:  10/30/13
  • Last Seen:  

 

If I understood this right, you want all gears to be upgraded to +4, expect for accessories and headgears?

 

prontera,150,150,3,	script	+10 Refiner	813,{
	for (.@part = EQI_ARMOR; .@part <= EQI_SHOES; .@part++) {
		if (!getequipisequiped(.@part)) continue;
		.@up = 4 - getequiprefinerycnt(.@part);
		
		if (.@up > 0) {
			successrefitem .@part, .@up;
		}
	}
	
	end;
}

Thanks Sirr ^^  /kis  /kis

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