L2JMobius

Public Development => General Discussion => Topic started by: Maestro on June 15, 2020, 11:04:21 PM

Title: Custom skills learning
Post by: Maestro on June 15, 2020, 11:04:21 PM
How can I implement the study of custom skills at the NPC for example Aden example? I looked at examples of clan or fishing skills, but I couldn’t figure out how to make it work the way I want.
Title: Re: Custom skills learning
Post by: G-hamsteR on June 16, 2020, 07:10:49 PM
Hello,

You create the skills from the xmls (game/data/stats/skills) and then edit skill_trees from database. Just fill-in the class, the skill id and level, the player level and the SP cost. It should work.
Title: Re: Custom skills learning
Post by: Maestro on June 16, 2020, 09:39:05 PM
Hello,

You create the skills from the xmls (game/data/stats/skills) and then edit skill_trees from database. Just fill-in the class, the skill id and level, the player level and the SP cost. It should work.

I figured it out with this, and how to make the skill available for all classes, and how to add this skill to the custom NPC
Title: Re: Custom skills learning
Post by: Liviades on June 17, 2020, 06:05:59 AM
You must have some other points in mind.
For Example:

To add an skilll its not just add it on the skill tree of the class. You must edit your client side too, adding the new skill or the new lvl of the skill (out of ordinary ones)