Jump to content

Question

11 answers to this question

Recommended Posts

  • 0
Posted

l2jserver/gameserver/model/item/instance/L2ItemInstance.java

 

public boolean isDropable()
{
return isAugmented() ? Config.AUG_ITEM_DROP : _item.isDropable();
}
 
public boolean isTradeable()
{
return isAugmented() ? Config.AUG_ITEM_TRADE : _item.isTradeable();
}

 

public boolean isSellable()
{
return isAugmented() ? Config.AUG_ITEM_SELL : _item.isSellable();
}
 
 
------------------------------------------------------------------------------------------
 
 
l2jserver/Config.java
 
public static boolean AUG_ITEM_TRADE;
public static boolean AUG_ITEM_DROP;
public static boolean AUG_ITEM_SELL;
 
 
 
AUG_ITEM_TRADE = L2JMods.getBoolean("AugItemTrade", false);
AUG_ITEM_DROP = L2JMods.getBoolean("AugItemDrop", false);
AUG_ITEM_SELL = L2JMods.getBoolean("AugItemSell", false);
 
------------------------------------------------------------------------------------------
 
L2JMods.properties
 
# trade
AugItemTrade = True
 
# drop
AugItemDrop = True
 
# sell
AugItemSell = True
  • 0
Posted

 

l2jserver/gameserver/model/item/instance/L2ItemInstance.java

 

public boolean isDropable()
{
return isAugmented() ? Config.AUG_ITEM_DROP : _item.isDropable();
}
 
public boolean isTradeable()
{
return isAugmented() ? Config.AUG_ITEM_TRADE : _item.isTradeable();
}

 

public boolean isSellable()
{
return isAugmented() ? Config.AUG_ITEM_SELL : _item.isSellable();
}
 
 
------------------------------------------------------------------------------------------
 
 
l2jserver/Config.java
 
public static boolean AUG_ITEM_TRADE;
public static boolean AUG_ITEM_DROP;
public static boolean AUG_ITEM_SELL;
 
 
 
AUG_ITEM_TRADE = L2JMods.getBoolean("AugItemTrade", false);
AUG_ITEM_DROP = L2JMods.getBoolean("AugItemDrop", false);
AUG_ITEM_SELL = L2JMods.getBoolean("AugItemSell", false);
 
------------------------------------------------------------------------------------------
 
L2JMods.properties
 
# trade
AugItemTrade = True
 
# drop
AugItemDrop = True
 
# sell
AugItemSell = True

 

Thanks <3

  • 0
Posted

Sorry for posting, but how make also show augment when you trade.

Sure would be wonderful, I have not added this mod I asked for, but showing it in the trade would be perfect!

  • 0
Posted

Fr7QOXH.png

 

I can not edit or give spaces, how do I edit?

 

I can not edit or give spaces, how do I edit?

public boolean isTradeable()
{
return isAugmented() ? false : _item.isTradeable();
}
 
 
change this.
 
 
public boolean isTradeable()
{
return isAugmented() ? Config.AUG_ITEM_TRADE : _item.isTradeable();
}
  • 0
Posted

i bet l2balance is going to be a great server

I'm sorry, but I'm learning, I know you're a long way away from having a server!

I'm sorry, but I'm learning, I know you're a long way away from having a server!

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