Jump to content
  • 0

Limit To Skill Enchanting Code


Alcark

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
Link to comment
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!

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

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

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


  • Posts

    • L2 Insignia High Five 20x MID SERVER FOCUSED ON OLYMPIAD | PVP | AUTOFARM       OPEN BETA TEST SERVER 3 MAY 2024   GRAND OPENING 10 MAY 2024    Rates: 📜 XP/SP 20x | Spoil 15x | Drop 10x | Adena 10x 📜     Server Features: 🔥 No Olf-T Shirt, No big over-enchant, No over-power Donate 🔥 🔥 VIP Gold Color Chat, Unique Olympiad Extra Points Engine, GvG Event 🔥 🔥 Auto-Farm, LoA and DV scheduled PvP Zone, Calendar Daily Reward 🔥 🔥 Castle Instance, Solo Instance, PvP Solo Rift, Dress me system, Adena Boxes 🔥        Website: https://www.l2insignia.com  Discord: https://discord.com/invite/yEgsrHn2hQ      
    • I am selling the essence project which includes versions 388 and 439 that have been running for over 2 years or (447 as custom PVP like Pride). I have a test server for you to test them out. If you are really interested in it then contact my seller at discord: kiwi7106. Price: 4000 Euro P/s: This is a project that I have spent a lot of money and time developing, so if you are not interested in it, please get out of this topic, thank you. P/s 2: If you find the price too expensive, it's best to skip this article and find another project and don't comment negatively on my topic, thank you.
    • Someone ask me for this, it should work on any client that has Kamael race, preview:     Installation - there are two ways to install depending on how you want to use it:   Method 1: If you want to completely replace the original, do:   Copy all lines from your armorgrp to Notepad++, press Ctrl+H, check the "match whole word" option and replace:   kamael.Mkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_MKamael_m001_w_ad00   Then replace:   MKamael.Mkamael_m000_t00_w   by:   AvengersKamaelWings.MKamael_m001_t00_w   Now repeat the same process with the female, replace:   kamael.Fkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_FKamael_m001_w_ad00   Then replace:   FKamael.Fkamael_m000_t00_w   by:   AvengersKamaelWings.FKamael_m001_t00_w   You're done, paste everything back into File Edit and save!   Method 2: If you only want to replace in specific sets, execute the above process only on the armorgrp of those sets.   Repack by: AvengersTeamBr Password: LadrãoDeFrango      
  • Topics

×
×
  • Create New...