fortify stone_rune - magemonkeystudio/divinity GitHub Wiki

๐Ÿ”ฎ Fortify Stone: Runes

This Fortify Stone provides item protection during the Rune socketing process. It reduces the risk of item destruction when applying powerful runes to gear.


๐Ÿ“„ File Location

Place this file at:

plugins/Divinity/modules/fortify/items/stone_rune.yml

๐Ÿงพ Purpose

This stone gives players a level-based chance to prevent item loss if rune socketing fails. It works only when the socketed module is runes.


๐Ÿ”ง Configuration Breakdown

material: COAL

The Minecraft base item used for the stone.

name: 'Fortify Stone'
lore:
  - '&7Fortifies the item when socketing &fRunes&7.'

This tooltip lets players know it helps when socketing runes.

enchanted: false
tier: common

A non-glowing, common-tier item.


๐Ÿ“ˆ Fortify Levels & Uses

level:
  min: 1
  max: 10

uses-by-level:
  '1': 1
  '5': 2
  '10': 3
  • Available from level 1 to 10
  • Higher levels allow more uses per item

๐Ÿ›ก Protection Logic

protection:
  modules:
    - runes
  chance-by-level:
    '1': 15
    '2': 20
    ...
    '10': 60
  • This only protects items during rune socketing
  • The protection chance scales with level (up to 60% at level 10)

๐ŸŽฏ Target Requirements

target-requirements:
  type:
    - WEAPON
    - ARMOR
  level:
    '1': '1:10'
    '2': '11:20'
  module:
    - '*'

This fortify stone applies to:

  • Weapons and armor
  • Item levels 1โ€“20
  • All modules (using wildcard '*')

๐Ÿงช Usage Flow

  1. Player prepares a weapon and applies the Fortify Stone.
  2. They try to socket a rune.
  3. If the socketing fails, the Fortify Stone may save the item based on its level.

๐Ÿ“š Related