FactorX Posted October 18, 2017 Posted October 18, 2017 (edited) In this settings..how i can set up enchant system from 1000 to 2000? QuestState st = player.getQuestState(getName()); int currentEnchant = 0; int newEnchantLevel = 2500; if (st.getQuestItemsCount(itemRequired) >= itemRequiredCount) { try { L2ItemInstance item = getItemToEnchant(player, armorType); if (item != null) { currentEnchant = item.getEnchantLevel(); if ( currentEnchant < 2500 ) { newEnchantLevel = setEnchant(player, item, currentEnchant+100, armorType); if ( newEnchantLevel > 0 ) { Edited October 18, 2017 by FactorX Quote
0 FactorX Posted October 18, 2017 Author Posted October 18, 2017 (edited) ? Edited October 18, 2017 by FactorX Quote
0 melron Posted October 18, 2017 Posted October 18, 2017 Can you explain what exactly you looking for? you want instant 1k enchants? or ? Quote
0 FactorX Posted October 18, 2017 Author Posted October 18, 2017 (edited) no...i want to enchant with first npc +1000 and with a same but 2nd npc from +1000 to +2000 this is first npc enchanthttp:// and i want to make a same npc but with enchant from 1000 to 2 k (and i don;t know to edit java file for 2nd npc) Edited October 18, 2017 by FactorX Quote
0 melron Posted October 18, 2017 Posted October 18, 2017 Why you need 2nd instance based on the other? just add two buttons with the only difference the enchant check and the price lol Quote
Question
FactorX
In this settings..how i can set up enchant system from 1000 to 2000?
5 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.