FactorX Posted October 18, 2017 Share 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 Link to comment Share on other sites More sharing options...
0 FactorX Posted October 18, 2017 Author Share Posted October 18, 2017 (edited) ? Edited October 18, 2017 by FactorX Quote Link to comment Share on other sites More sharing options...
0 melron Posted October 18, 2017 Share Posted October 18, 2017 Can you explain what exactly you looking for? you want instant 1k enchants? or ? Quote Link to comment Share on other sites More sharing options...
0 FactorX Posted October 18, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
0 melron Posted October 18, 2017 Share 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 Link to comment Share on other sites More sharing options...
0 FactorX Posted October 18, 2017 Author Share Posted October 18, 2017 i don;t know how to do that Quote Link to comment Share on other sites More sharing options...
Question
FactorX
In this settings..how i can set up enchant system from 1000 to 2000?
Link to comment
Share on other sites
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.