l2balancex Posted April 13, 2017 Posted April 13, 2017 Hello, I would like to ask you for help, is it possible to drop or trade an augmented weapon? Get me that doubt, please! Quote
0 rjstjd Posted April 13, 2017 Posted April 13, 2017 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 Quote
0 l2balancex Posted April 13, 2017 Author Posted April 13, 2017 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 Quote
0 Mellion Posted April 14, 2017 Posted April 14, 2017 Sorry for posting, but how make also show augment when you trade. Quote
0 l2balancex Posted April 14, 2017 Author Posted April 14, 2017 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! Quote
0 smeli Posted April 14, 2017 Posted April 14, 2017 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) Quote
0 GLO Posted April 14, 2017 Posted April 14, 2017 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 Quote
0 l2balancex Posted April 14, 2017 Author Posted April 14, 2017 I can not edit or give spaces, how do I edit? I can not edit or give spaces, how do I edit? Quote
0 rjstjd Posted April 15, 2017 Posted April 15, 2017 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(); } Quote
0 l2balancex Posted April 15, 2017 Author Posted April 15, 2017 Thanks again! But my problem now is that I can not edit the java file in ECLIPSE. (I've never used java) so it's like I've locked the edit! Quote
0 UgliBiBagli Posted April 15, 2017 Posted April 15, 2017 i bet l2balance is going to be a great server Quote
0 l2balancex Posted April 15, 2017 Author Posted April 15, 2017 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! Quote
Question
l2balancex
Hello, I would like to ask you for help, is it possible to drop or trade an augmented weapon?
Get me that doubt, please!
11 answers to this question
Recommended Posts
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.