-
Notifications
You must be signed in to change notification settings - Fork 14
sets slashingaxe
goflishMC edited this page Jun 30, 2025
·
1 revision
This file defines the Slashing Axe set. When both matching elements are equipped, the player gains a slashing damage bonus. The set uses the prefix "Slashing" to group related items together.
plugins/Divinity/modules/sets/items/slashingaxe.yml
name: '&6Prefix Bonus'
prefix: 'Slashing'
suffix: ''
color:
active: '&e'
inactive: '&8'
elements:
slashingwoodenlightaxe:
materials:
- GOLDEN_HELMET
name: '%prefix% Wooden Light Axe'
slashingwoodenlightaxei:
materials:
- GOLDEN_CHESTPLATE
name: '%prefix% Wooden Light Axe'
bonuses:
by-elements-amount:
'2':
lore:
- '&6- &eSlashing Damage: &f+2'
item-stats: {}
damage-types:
damage_slashing: 5
defense-types: {}
potion-effects: {}| Key | Description |
|---|---|
prefix |
All items in this set share the prefix "Slashing" which is inserted into their names using %prefix%. |
elements |
Defines the set items and their materials: |
-
slashingwoodenlightaxe:GOLDEN_HELMET -
slashingwoodenlightaxei:GOLDEN_CHESTPLATE
Both items have the same name and prefix and will be recognized as part of the same set. | |color.active/inactive| Controls how the set bonus appears in item lore when active or not fully equipped. |
The system dynamically constructs the display names of the items using the defined prefix. When both items are equipped, they are counted as a full set due to the shared prefix and name:
-
"Slashing Wooden Light Axe"from a golden helmet -
"Slashing Wooden Light Axe"from a golden chestplate
Despite being different materials, the shared name and prefix bind them into a set.
When both elements are equipped:
- A lore line is added:
Slashing Damage: +2 - The player gains
+5slashing damage viadamage-types.damage_slashing
All other bonus sections (item-stats, defense-types, potion-effects) are unused here.