Im writing for someone that share my vision a good L2 gold style server that won't just randomly shut like L2 Gold.in and will help me maybe build the server for the comunity
Reborn C4 x1 = 8 eu for 1kk
Reborn orgign x1 Eternal x10 = 0.1 eu = 1kk
-----------------------------------------------------
Eu core = 0.5 eu 1b
Na Chronos = 0.4 eu = 1b
Na Naia = 0.3 eu = 1b
Eu Orfen = 0.5 eu = 1b
Eu Eva = 0.10 = 1kk
-------------------------------------------------------
Elmorelab x1x3x5
0.5 eu = 1kk
Classic.club = 70 eu = 1b
-------------------------------------------------------
For the rest of the servers write to DM in discord. Price and stocks are changin
Question
l2fire
Hello, how to make max skill enchant for l2jfrozen?
I want to make max skill enchant to +12
I have found code for l2jserver but i dont know where can add code to l2pcinstance.java
+++ java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -15769,6 +15769,31 @@ for (int id : getSkills().keySet()) { int level = getSkillLevel(id); + if (Config.ENABLE_SKILL_MAX_ENCHANT_LIMIT) + { + L2Skill fixedSkill = null; + int oldLevel = level % 100; + if (Config.SKILL_MAX_ENCHANT_LIMIT_LEVEL > 0) // Nerf enchantment + { + if (oldLevel > Config.SKILL_MAX_ENCHANT_LIMIT_LEVEL) + { + level = ((level / 100) * 100) + Config.SKILL_MAX_ENCHANT_LIMIT_LEVEL; + fixedSkill = SkillTable.getInstance().getInfo(id, level); + } + } + else if (Config.SKILL_MAX_ENCHANT_LIMIT_LEVEL == 0) // Remove enchantment + { + level = SkillTable.getInstance().getMaxLevel(id); + fixedSkill = SkillTable.getInstance().getInfo(id, level); + } + // Setting the new level enchat for the skill. + if (fixedSkill != null) + { + _log.info("Decreasing skill enchantment from " + oldLevel + " to " + level + " on skill " + id + " from Player: " + getName() + "!"); + addSkill(fixedSkill, true); + } + } + if (level >= 100) { level = SkillTable.getInstance().getMaxLevel(id);
9 answers to this question
Recommended Posts