Looked in the code, when adding a sub class, it assigns the desired index. You re-assign the index -1 to the skills.
try
// solo le enseniamos el skill si es que el mismo no lo tiene aun o si es el inferior al q le vamos a enseniar
if (player.getSkillLevel(id) < level)
{
// Add the L2Skill object to the L2Character _skills and its Func objects to the calculator set of the L2Character
player.addSkill(skill, false);
}
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
AdBlock Extension Detected!
Our website is made possible by displaying online advertisements to our members.
Please disable AdBlock browser extension first, to be able to use our community.