promotional bannermobile promotional banner
premium banner
When spell power goes out of control, let distance become the price of destruction.

Description

⚔️ Distant Shock Barrier ⚔️

When spell power goes out of control, let distance become the price of destruction


🌩️ Overview

Distant Shock Barrier is an addon for Iron's Spells 'n Spellbooks that solves performance issues caused by excessively large spell ranges.

When spell power becomes too high, spell ranges can expand to 100-200 blocks, causing massive computational overhead. This mod caps the maximum spell range and converts exceeded range into bonus damage.

+ Fixes TPS drops from oversized spells
+ Maintains high-level spell threat
+ Fully configurable damage conversion

⚔️ Features

Feature Description Benefit
🛡️ Range Limiting Configurable max spell radius cap Prevents client/server lag
⚔️ Damage Conversion Excess range → damage bonus Balanced risk/reward
👁️ Visual Feedback Tooltips & spell wheel display Real-time stat visibility
⚙️ Configurable In-game menu + config file Pack-friendly customization

🎮 Configuration

Option Default Description
maxSpellRange 50.0 Maximum spell range (blocks)
rangeToDamageRatio 0.5 Damage bonus per exceeded block
enableRangeLimit true Master toggle for range limiting
spellWheelOffsetX 150 Spell wheel tooltip X offset
spellWheelOffsetY 0 Spell wheel tooltip Y offset
debugMode false Enable debug logging

⚡Every block of distance becomes destruction