|
|
|
Items sets allow you to link multiple items together to make them stronger when worn at the same time. Item sets give extra stats to the player if he wears enough items from the same item set. The config file is pretty self explanatory, yet here are a few comments about the sets system.
|
|
|
|
```
|
|
|
|
ARCANE:
|
|
|
|
name: '&2Arcane Set'
|
|
|
|
bonuses:
|
|
|
|
'3':
|
|
|
|
magic-damage: 20
|
|
|
|
'4':
|
|
|
|
max-mana: 30
|
|
|
|
speed: 1
|
|
|
|
lore-tag:
|
|
|
|
- '&7Arcane Set Bonus:'
|
|
|
|
- '&8[3] +20% Magic Damage'
|
|
|
|
- '&8[4] 30 Max Mana'
|
|
|
|
- '&8[4] Permanent Speed I'
|
|
|
|
```
|
|
|
|
|
|
|
|
Set bonuses can be displayed in the item lore using the _lore-tag_ option. You can really put anything in that list, but I like to precisely give the amount of additional stats the item gives. The bonuses section defines what bonuses the item set gives. The subsections with numbers correspond to the stats the item set grants for each amount of items the player wears.
|
|
|
|
|
|
|
|
|
|
|
|
Set bonuses can also grant **permanent potion effects** to the player. You need to specify the potion effect name (names can be found here) and the potion level which needs to be an integer.
|
|
|
|
```
|
|
|
|
SPEED:
|
|
|
|
name: '&2Speed Set'
|
|
|
|
bonuses:
|
|
|
|
'4':
|
|
|
|
speed: 1
|
|
|
|
```
|
|
|
|
|
|
|
|
Last but not least, you may also setup **abilities **as full set bonuses. Pretty easy to setup since it's the same format as for item abilities. In the following example, any player who holds at least 2 items from the Hatred Set will be temporarily granted a Life Ender ability which will trigger when hitting any entity. The ability has a 30sec cooldown.
|
|
|
|
```
|
|
|
|
HATRED:
|
|
|
|
name: '&cHatred Set'
|
|
|
|
bonuses:
|
|
|
|
'2':
|
|
|
|
ability-1:
|
|
|
|
type: LIFE_ENDER
|
|
|
|
cooldown: 30
|
|
|
|
mode: ON_HIT
|
|
|
|
``` |
|
|
|
\ No newline at end of file |