Jump to content
  • 0

Question

7 answers to this question

Recommended Posts

Posted

Im looking for a Refiner that only Upgrade Headgears Like in Upper Middle Lower and up to +10 only..

 

 

thanks!

 

Here;

prontera,200,180,4	script	Refiner	123,{
	mes "What can I do for you?";
	swtch(select("Refine Middle Headgear:Refine Lower Headgear")){
case 1:
	next;
	mes "Clang Clang!";
	atcommand "@refine 512 1";
	close;

case 2:
	next;
	mes "Clang Clang!";
	atcommand "@refine 1 1";
	close;
	}
}
  • Upvote 1
Posted

Thanks Capuche, for suggesting this script =) i would love to try this but i just need the Upper,Middle,Lower gears only to be refined..  /no1

 

prontera,200,180,4	script	Refiner	123,{
	mes "What can I do for you?";
	switch(select("Refine Middle Headgear:Refine Lower Headgear")){
case 1:
	next;
	mes "Clang Clang!";
	atcommand "@refine 512 1";
	close;

case 2:
	next;
	mes "Clang Clang!";
	atcommand "@refine 1 1";
	close;
	}
}
Posted

 

swtch

=> switch

 

 

or you can try Emistry's refine function

http://pastebin.com/raw.php?i=g8W9yhSs

Thanks Capuche, for suggesting this script =) i would love to try this but i just need the Upper,Middle,Lower gears only to be refined..  /no1

//--- Bitmasks ----
//	1	-	Top Headgear
//	2	-	Armor
//	4	-	Left Hand
//	8	-	Right Hand
//	16	-	Garment
//	32	-	Shoes
//	64	-	Left Accessory
//	128	-	Right Accessory
//	256	-	Middle Headgear
//	512	-	Lower Headgear

// .....callfunc( "RefineFunc",<itemID>,<Amount>,<BitMasks>,<MinRefine>,<MaxRefine>,<CheckEquip>,<RefineMode>,<Percent> );
//		1.	itemID		->	Item that will be used during Refine.
//		2.	Amount		->	Amount of Required Items.
//		3.	BitMask		->	Refer to above bitmask table.
//		4.	MinRefine	->	Required Min Refine to use.
//		5.	MaxRefine	->	What is the Max Refine. [ Can Bypass Default Server Max Refine ]
//		6.	CheckEquip	->	Check Equipments is Refineable or not. [ 0 = Disable / 1 = Enable ]
//		7.	RefineMode	->	+1 / Max Refine. [ 0 = +1 Refine / 1 = Max Refine ]
//		8.	Percent		->	Rate of Success to refine current Equipment.

 

edit the bitmask value..

 

 

@Anakid

should refrain from using @command in npc script if possible..it will generate tons of unecessary @command logs when the server have saved @command logs.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...