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

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!

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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