Update Player Skills

Guillaume 2023-04-03 21:09:57 +00:00
parent 9c086a6799
commit d4c8c1b5a1

@ -22,6 +22,11 @@ Select the skill you'd like to upgrade by clicking on it, once it's selected it
![](https://i.imgur.com/mfLkMB9.gif)
## Skill Unlocking
Each skill can be either locked, unlocked but not usable, or usable. Locking a skill means that it can't be seen in the player skills UI and that the player doesn't even know its existence. When a skill is unlocked it can be seen in the player UI but can be bound only if the player matches the level requirements associated to the skill.
If you unlock a skill which information is not filled in the class folder, it will be considered as directly usable (at level 1) and won't be upgradable.
## Skill Folder
The `/skills` folder houses all of the skills that come with the plugin. Most skills are hardcoded into the plugin jar. If you do not want to use a skill, simply do not assign it to a class. Each skill has its **own YML file** where you can edit the lore and how it looks in the /skills menu. It is best to only edit the plain words, and not try and mess with the value placeholders.
@ -65,6 +70,8 @@ For each skill you can edit the display name, how it looks in the /skills, and t
The `material` option determines what icon will display in the player's skill list. Using `<MATERIAL_NAME>:<integer>` will apply a custom model data to your skill icon, where the integer input is the custom model data being used.
Finally the `unlocked-by-default` option enables to say if a skill is unlocked or not by default. If this option is not filled the skill will be considered as unlocked-by-default.
![](https://i.imgur.com/PhIpbOr.png)
## Binding MythicMobs skills to MMOCore skills