Gurment Posted July 28, 2010 Posted July 28, 2010 My question is...can we make different max enchant for every item in interlude? what i mean? Weapons = Max + X Armor Upper/Body = Max + X Helmet = Max + X Gloves = Max + X Boots = Max + X Jewels = Max + X If we have anything like that in our forum please let me know. I've search for that but i'm not sure what exactly i must put in search. That system have the L2Elite.us! Thanks in advance!
0 Erol Posted July 28, 2010 Posted July 28, 2010 1st l2elite use dempax64 l2off c4 files gotten by NCSoft 2nd the apella armors on l2elite are given only by donates and can be enchanted only by GMs 3rd l2elite doesn't have different max enchant for every item .... there is not a limit of enchant at all
0 Gurment Posted July 28, 2010 Author Posted July 28, 2010 1. If you have notice they say Powered by depmax64. When you login...look at the chat ;) 2. I believe that they have limit for every part. Second i know how you can take apella armor etc...! 3. I don't care exactly what they have or not...i explain what i need and searching for...! 4. Please next time try to be polite. If someone can help me feel free to reply...if you can't please don't say again what L2Elite have...! Thanks!
0 adenaman Posted July 28, 2010 Posted July 28, 2010 2. I believe that they have limit for every part. Second i know how you can take apella armor etc...! they dont have any limit, b4 it has been fixed (now i think that you can not enchant with scrolls) iv seen a heavy main part +22 anyway clientpackets/AbstractEnchantPacket.java public final boolean isValid(L2ItemInstance enchantItem) { ... switch (type2) { // weapon scrolls can enchant only weapons case L2Item.TYPE2_WEAPON: if (!_isWeapon || (Config.ENCHANT_MAX_WEAPON > 0 && enchantItem.getEnchantLevel() >= Config.ENCHANT_MAX_WEAPON)) return false; break; // armor scrolls can enchant only accessory and armors case L2Item.TYPE2_SHIELD_ARMOR: if (_isWeapon || (Config.ENCHANT_MAX_ARMOR > 0 && enchantItem.getEnchantLevel() >= Config.ENCHANT_MAX_ARMOR)) return false; break; ... there you just have to make some if and return false if enchant >= max
0 Gurment Posted July 28, 2010 Author Posted July 28, 2010 there you just have to make some if and return false if enchant >= max Thanks a lot my friend for the help!
0 adenaman Posted July 28, 2010 Posted July 28, 2010 Thanks a lot my friend for the help! lol, w8, i didnt see that its for interlude, my idea was for epilogue, give me a sec, to find where in interlude is that source EDIT: it should be then clientpackets/RequestEnchantItem.java L2ItemInstance item = activeChar.getInventory().getItemByObjectId( _objectId); L2ItemInstance scroll = activeChar.getActiveEnchantItem(); if (item == null || scroll == null) { activeChar.setActiveEnchantItem(null); return; } // can't enchant rods, hero weapons and shadow items, donator rented // items if (item.getItem().getItemType() == L2WeaponType.ROD || !Config.ENCHANT_HERO_WEAPONS && item.getItemId() >= 6611 && item.getItemId() <= 6621 || item.getItemId() >= 7816 && item.getItemId() <= 7831 || item.isShadowItem() || item.isDonatorRented()) { activeChar.sendPacket(new SystemMessage( SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION)); activeChar.setActiveEnchantItem(null); return; } the same, some more || or another if
Question
Gurment
My question is...can we make different max enchant for every item in interlude? what i mean?
If we have anything like that in our forum please let me know. I've search for that but i'm not sure
what exactly i must put in search.
That system have the L2Elite.us!
Thanks in advance!
5 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now