Jump to content

Question

Posted

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. 

1 answer to this question

Recommended Posts

  • 0
Posted (edited)

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock