fortify stone_refine - magemonkeystudio/divinity GitHub Wiki

๐Ÿ”ง Fortify Stone: Refine

This Fortify Stone protects gear during the Refine process, helping players reduce the risk of losing valuable items when strengthening them through refinement.


๐Ÿ“„ File Location

Place this file at:

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

๐Ÿงพ Purpose

When this stone is applied to a weapon or armor piece, it provides a level-based protection chance during refinement. If refining fails, this stone may save the item from being destroyed.


๐Ÿ”ง Configuration Breakdown

material: COAL

The base item used to represent this Fortify Stone.

name: 'Fortify Stone'
lore:
  - '&7Fortifies the item on &fRefine&7.'

Informs players that this item adds protection during the Refine process.

enchanted: false
tier: common

The stone has no glow and is considered a common-tier item.


๐Ÿ“ˆ Fortify Levels & Uses

level:
  min: 1
  max: 10

uses-by-level:
  '1': 1
  '5': 2
  '10': 3
  • Can be created at levels 1 through 10
  • Higher levels grant more uses

๐Ÿ›ก Protection Effect

protection:
  modules:
    - refine
  chance-by-level:
    '1': 15
    '2': 20
    ...
    '10': 60
  • This stone only protects during the refine process
  • At level 10, players have up to a 60% chance to prevent item destruction on failure

๐ŸŽฏ Target Requirements

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

This Fortify Stone is valid for:

  • Weapons and armor
  • Item levels 1โ€“20 (scaled by fortify stone level)
  • Any item module

๐Ÿงช Usage Example

  1. The player applies this fortify stone to a level 15 chestplate.
  2. They attempt to refine the item.
  3. If refinement fails, the stone gives a chance to prevent the chestplate from being destroyed.

๐Ÿ“š Related