Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

  • 0

Request Limit To Skill Enchanting Code


Question

Regards
I will try to be accurate. I've created my server with this: eliteadmins.l2jhispano.com/threads/high-five-preconfigurado-ii-masterio-pack-mods-custom-eventos-npcs.6705/

Well... I need the java code to limit the maximum enchant of the player skills to 10 or 15. I searched in other forums but only found half codes or requiring of eclipse (I dont know how to use it u_u ).
The server has not open yet (there's no player with skills already enchanted), so I just need only the limitation.

Please some help :D

Edited by Alcark

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Well, the whole process of building a server requires Eclipse due to various reasons like editing the core, fixing something etc.. :lol:

You really should learn how to use Eclipse, there is not another way!

Share this post


Link to post
Share on other sites
  • 0

This will be a fast server and... well...  I've created and opened servers before, only fast servers 'course (not requiring too many fixes) without knowing eclipse, just the basics in java and db management. So... any help with the code? >.<

Edited by Alcark

Share this post


Link to post
Share on other sites
  • 0

Ok, go to data/stats/skills, find ALL enchantable skills and remove the last 15 numbers in "#enchMagicLvl"... it looks like this:

Triple Slash

<table name="#enchMagicLvl"> 76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 83 83 83 84 84 84 85 85 85 </table>

You should do that for each enchantable skill in the xml files... or you can download Eclipse and just put one if statement to do that for you.

Share this post


Link to post
Share on other sites
  • 0

That won't change the fact that you (still) can enchant those skills - just no bonus. So, you can do like Tessa suggested, change > 10 the bonus, keep the same as 10.

 

To restrict the enchantment > 10, you must do it from core side.

Share this post


Link to post
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.