-
Notifications
You must be signed in to change notification settings - Fork 14
engine attributes
goflishMC edited this page Apr 22, 2025
·
1 revision
This section controls how Divinity handles item durability, offhand behavior, and whether mobs and players are affected by attribute effects.
| Key | Description |
|---|---|
durability.break-items-on-zero |
Whether items break when durability reaches 0 (like vanilla). |
durability.effective-for.mobs |
If true, mob equipment is affected by durability usage. |
durability.effective-for.skill-api-skills.* |
Controls whether casting or using skills applies durability loss. |
effective-for-mobs |
If true, mobs can use custom damage/defense stats from plugins like MythicMobs. |
effective-in-offhand |
If true, offhand items can apply attribute effects. |
allow-hold-items-you-cant-use |
If true, players can hold gear that doesn't meet requirements (but no effects will apply). |
attributes:
durability:
break-items-on-zero: true
effective-for:
mobs: true
skill-api-skills:
cast: true
left_click: true
right_click: true
initialize: false
cleanup: false
effective-for-mobs: true
effective-in-offhand: false
allow-hold-items-you-cant-use: false-
Durability Hooks:
Skill usage can wear down items ifskill-api-skillsoptions are enabled.
Perfect for servers where durability matters in PvP or combat skill usage. -
Mob Support:
Mobs can inherit full stat logic ifeffective-for-mobsis true, including custom defense, damage types, and buffs. -
Offhand Attributes:
Enables or disables attributes from shields, tomes, or custom offhand tools. -
Holding Restricted Items:
Settingallow-hold-items-you-cant-useto true lets players hold gear they don’t qualify for, but it will have no stat effect.
- engine-combat – For PvP modifiers and shield behavior
- engine-lore – For formatting durability and requirements visually