Special Offer Until 32 May
Complete Server Pack + Source Files:
C4 Scions Of Destiny: P656
Retail X1 L2OFF Server Pack + Source: Price: 150EUR
C4 Scions Of Destiny: P656
ESL2 Athena x45 L2OFF Server Pack + Source: Price: 200EUR
Screenshots: https://imgur.com/a/eternal-sin-l2-athena-x45-c4-WYCpbjl
C6 Interlude: P746
ESL2 Athena x45 L2OFF Server Pack + Source: Price: 200EUR
The same as C4 but in C6 Client so the Screenshots is the same: https://imgur.com/a/eternal-sin-l2-athena-x45-c4-WYCpbjl
C6 Interlude: P746
ESL2 Athena x45 Java Server Pack + Source: Price: 100EUR
The same as C4 but in C6 Client so the Screenshots is the same: https://imgur.com/a/eternal-sin-l2-athena-x45-c4-WYCpbjl
C6 Interlude: P746
L2Gold L2OFF Server Pack + Source: Price: 200EUR
Screenshots: https://imgur.com/a/9kB3oA9
C6 - Classic Interlude: P110
ESL2 Athena x45 L2OFF Server Pack + Source: Price: 300EUR
Screenshots: https://imgur.com/a/Z2kZxuv
Contact me here via PM (only serious buyers).
Payments via:
- Paypal (Friends and Family)
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