-
Notifications
You must be signed in to change notification settings - Fork 14
sets thorny
goflishMC edited this page Jun 30, 2025
·
1 revision
This file defines the Thorny set, a single-item set that grants a passive bonus when equipped. It uses the prefix system to identify matching gear and applies a thornmail effect through item stats.
plugins/Divinity/modules/sets/items/thorny.yml
name: '&6Prefix Bonus'
prefix: 'Thorny'
suffix: ''
color:
active: '&e'
inactive: '&8'
elements:
barbaricsplinteredsword:
materials:
- WOODEN_SWORD
name: 'Barbaric %prefix% Sword'
bonuses:
by-elements-amount:
'1':
lore:
- '&6- &eThornmail: &f2'
item-stats:
THORNMAIL: 20.0
damage-types: {}
defense-types: {}
potion-effects: {}
Key | Description |
---|---|
prefix |
The "Thorny" prefix is inserted into the item name using %prefix% and used to identify the item as part of the set. |
elements |
Defines the set item: |
-
barbaricsplinteredsword
is aWOODEN_SWORD
named"Barbaric Thorny Sword"
. | |color.active
/inactive
| Controls the lore color shown when the set bonus is active or incomplete. |
This is a one-item set, meaning the bonus is activated as soon as the item is equipped. The set is identified by the presence of the "Thorny"
prefix in the item's name.
When the sword is equipped:
- A lore line is added:
Thornmail: 2
- The player gains
THORNMAIL: 20.0
in item stats
Other sections like damage-types
, defense-types
, and potion-effects
are unused in this case.
🔍 The
THORNMAIL
stat typically reflects a reactive damage mechanic—damaging attackers when hit.