Jump to content
  • 0

Augumentation


ernis12345

Question

Hello! maybe some one  can tell me  where i can make  the free augumentation? becouse now i   remowe the prise but still in server  need 480k aden to remove augument from weapon. they need just ammount  becouse  they not take adena  from you inventory. 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello! maybe some one  can tell me  where i can make  the free augumentation? becouse now i   remowe the prise but still in server  need 480k aden to remove augument from weapon. they need just ammount  becouse  they not take adena  from you inventory. 

Hi, you can make prices lower or just delete this lines. RequestRefineCancel.java

// get the price
		int price = 0;
		switch (targetItem.getItem().getCrystalType())
		{
			case L2Item.CRYSTAL_C:
				if (targetItem.getCrystalCount() < 1720)
					price = 95000;
				else if (targetItem.getCrystalCount() < 2452)
					price = 150000;
				else
					price = 210000;
				break;
			
			case L2Item.CRYSTAL_B:
				if (targetItem.getCrystalCount() < 1746)
					price = 240000;
				else
					price = 270000;
				break;
			
			case L2Item.CRYSTAL_A:
				if (targetItem.getCrystalCount() < 2160)
					price = 330000;
				else if (targetItem.getCrystalCount() < 2824)
					price = 390000;
				else
					price = 420000;
				break;
			
			case L2Item.CRYSTAL_S:
				price = 480000;
				break;
			
			// any other item type is not augmentable
			default:
				activeChar.sendPacket(new ExVariationCancelResult(0));
				return;
		}
		
		// try to reduce the players adena
-		if (!activeChar.reduceAdena("RequestRefineCancel", price, null, true))
-		{
-			activeChar.sendPacket(new ExVariationCancelResult(0));
-			return;
-		}
Edited by admirolas3
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.
Note: Your post will require moderator approval before it will be visible.

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