Use forgotten power skill auto learn config for subclass additions.

This commit is contained in:
MobiusDevelopment
2019-03-23 13:28:28 +00:00
parent 8a9a1d4a61
commit 426fa2515d

View File

@@ -9684,6 +9684,11 @@ public final class L2PcInstance extends L2Playable
final Map<Integer, Skill> prevSkillList = new HashMap<>();
for (L2SkillLearn skillInfo : skillTree.values())
{
if (!Config.AUTO_LEARN_FP_SKILLS && (skillInfo.getSkillId() > 11399) && (skillInfo.getSkillId() < 11405))
{
continue;
}
if (skillInfo.getGetLevel() <= newClass.getLevel())
{
final Skill prevSkill = prevSkillList.get(skillInfo.getSkillId());