Jump to content
  • 0

Trade/drop Weapon Augmented


l2balancex

Question

11 answers to this question

Recommended Posts

  • 0

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
Link to comment
Share on other sites

  • 0

 

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

Link to comment
Share on other sites

  • 0

weapon cant' be augmented

only your body can be augmented to better use of specific weapon

see more

 

 

https://en.wikipedia.org/wiki/Augmentation_(pharmacology)

LOL

Link to comment
Share on other sites

  • 0

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();
}
Link to comment
Share on other sites

  • 0

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!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...