sets wildcat - magemonkeystudio/divinity GitHub Wiki
πΎ wildcat.yml
This file defines the Wild Cat Set, a four-piece golden armor set that grants significant bonuses as players equip more matching items. It demonstrates combined use of both a prefix
and a suffix
for identifying set elements.
π File Location
plugins/Divinity/modules/sets/items/wildcat.yml
π§Ύ Configuration
name: '&eWild Cat Set'
prefix: '&a&fBroken '
suffix: 'of Wild Cat'
color:
active: '&a'
inactive: '&8'
elements:
helmet:
materials:
- GOLDEN_HELMET
name: '%prefix%Helmet %suffix%'
chestplate:
materials:
- GOLDEN_CHESTPLATE
name: '%prefix%Chestplate %suffix%'
leggings:
materials:
- GOLDEN_LEGGINGS
name: '%prefix%Leggings %suffix%'
boots:
materials:
- GOLDEN_BOOTS
name: '%prefix%Boots %suffix%'
bonuses:
by-elements-amount:
'2':
lore:
- '%c%&lSet Bonuses (2/4):'
- '%c%Γ’βΒΈ +25% PvE Damage'
- '%c%Γ’βΒΈ +10 Max. Health'
- '%c%Γ’βΒΈ Speed I'
item-stats:
MAX_HEALTH: 10.0
PVE_DAMAGE: 25
damage-types: {}
defense-types: {}
potion-effects:
SPEED: 1
π Explanation of Settings
Key | Description |
---|---|
name |
The display title for the full set bonus. |
prefix / suffix |
Used together to create item names like "Broken Helmet of Wild Cat" . Both must match across equipped items for the set to activate. |
elements |
Each item type (helmet, chestplate, leggings, boots) must have a name using %prefix% and %suffix% . |
color.active / inactive |
Controls how the bonus lore appears when partially or fully active. |
π§© Set Matching Logic
This set uses both a prefix and suffix. All four items must follow this naming format to be considered part of the set:
- Broken Helmet of Wild Cat
- Broken Chestplate of Wild Cat
- etc.
When two or more matching items are equipped, the system checks how many valid set elements are present and activates the corresponding bonus tier.
π 2-Piece Bonus
When any two pieces are equipped:
- Adds lore lines:
+25% PvE Damage
+10 Max. Health
Speed I
- Applies stat bonuses:
PVE_DAMAGE: 25
MAX_HEALTH: 10.0
- Potion effect:
SPEED I
Additional bonuses for 3- or 4-piece combinations can be added under
by-elements-amount
if desired.