mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2025-03-12 13:19:25 +01:00
Update Player Skills
parent
428a74af4e
commit
75613d2f2c
@ -31,6 +31,25 @@ If you unlock a skill for which information is not filled in the class folder, i
|
|||||||
## Skill categories & formula
|
## Skill categories & formula
|
||||||
Each skill can be assigned to a list of categories through the field `categories`. By default each skill is associated to its own category represented by its skill ID and to the categorie PASSIVE/ACTIVE depending on if it is an passive/active skill. These categories can be used to parse formulas and target a specific subset of skills. It can be used to filter which skills can be bound to a specific [skill slot](20Classes#skill-slots-since-1120) or to apply skill buffs to a subset of skills.
|
Each skill can be assigned to a list of categories through the field `categories`. By default each skill is associated to its own category represented by its skill ID and to the categorie PASSIVE/ACTIVE depending on if it is an passive/active skill. These categories can be used to parse formulas and target a specific subset of skills. It can be used to filter which skills can be bound to a specific [skill slot](20Classes#skill-slots-since-1120) or to apply skill buffs to a subset of skills.
|
||||||
|
|
||||||
|
````
|
||||||
|
#Examples
|
||||||
|
|
||||||
|
#You must add < > before and after the category for the formula to be parsed correctly.
|
||||||
|
formula: "<FIRE_STORM>" #Will only target fire storm
|
||||||
|
formula: "!<PASSIVE>&&<FIRE>" #Will target active skills with the fire category
|
||||||
|
#This is the same as <ACTIVE>&&<FIRE>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Skill Buffs
|
||||||
|
A skill buff modifies the value of a certain skill modifier. It can target one or multiple skills using [category formulas]() and can only target 1 modifier. Skill Buffs can only be created through [Skill slots](20Classes#skill-slots-since-1120) and [triggers](Triggers).
|
||||||
|
```
|
||||||
|
#Example
|
||||||
|
|
||||||
|
triggers:
|
||||||
|
- 'skill_buff{formula="true";modifier="cooldown";amount=-10;type="RELATIVE"}' #-10% cooldown to all skills.
|
||||||
|
- 'skill_buff{formula="<FIRE_STORM>";modifier="damage";amount=20;type="FLAT"}'#+20 dmg to fire storm.
|
||||||
|
- 'skill_buff{formula="<MY_OWN_CATEGORY>";modifier="damage";amount=20;type="FLAT"}'#Will target all the skills who have `MY_OWN_CATEGORY` in their categories list.
|
||||||
|
```
|
||||||
|
|
||||||
## Skill Folder
|
## Skill Folder
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user