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

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!

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