Resonance strikes

Resonance strikes

A dynamic combat utility that rewards precision, movement, and momentum by turning your critical hits into chain-reacting shockwaves.

ModUpdated 5 months ago
LukaEgmontGainesLukaEgmontGaines4 items

Description

📖 Overview

Resonance strikes introduces a combo-driven area-of-effect (AoE) mechanic to Minecraft's combat. By landing consecutive critical strikes on a specific type of mob, you generate resonance. This energy echoes across nearby targets of the same species, distributing magic damage to multiple enemies at once.


⚔️ Core mechanics

\1. Critical resonance

When you land a critical hit (striking an enemy while falling or mid-air) on any non-player entity, the impact triggers a shockwave. Nearby mobs of the exact same type (within a 16-block radius) will instantly take magic damage equal to the damage dealt to the primary target.

\2. The Combo system

Every successful critical hit on a mob type increments your combo counter for that specific species, up to a maximum Combo of 16.

  • Combo count = Targets affected: At Combo 1, only 1 nearby mob is affected. At Combo 16, up to 16 nearby mobs will receive the echoing magic damage simultaneously.

  • Combos are tracked per-mob-type. Building a combo on zombies will not carry over to creepers.

\3. Dynamic decay

Maintaining your flow is essential. Your combo does not vanish instantly; instead, it decays gradually over time based on your current intensity. The higher your combo, the faster you must strike to maintain it.

Combo level Grace period before decay
Combo 1 16 seconds
Combo 5 12 seconds
Combo 10 7 seconds
Combo 15 2 seconds
Combo 16 1 second

⚠️ > Note:> If the grace period expires, your combo level decreases by 1 rather than resetting to 0 completely.


📊 Mechanics reference

Feature Behavior / Value
Activation requirement Critical hits only (attacker must be descending, not on ground/climbing/swimming)
Damage type Magic damage (ignores standard physical armor calculations)
Maximum range 16 blocks from the primary target
Maximum combo 16 stacks (affects up to 16 additional targets)
Target filter Identical entity types only (e.g., zombie ➔ zombie; cow ➔ cow)
Exclusions Player-to-player damage does not trigger resonance. Magic damage itself cannot trigger secondary resonances to prevent loops.

⚙️ Technical details & Compatibility

  • Multiplayer Friendly: All combos are tracked individually per player using internal maps.

  • Clean Performance: Scripted intervals clean up inactive combo memory automatically when players log off or combat ends.

Changelog

This update transitions the add-on from a basic radial-damage system to a structured, high-intensity combo mechanic. It also introduces important stability improvements, precise targeting logic, and API updates.


⚡ New features & Combat mechanics

  • Introduced Combo system:

    • Instead of hitting all nearby entities instantly, critical strikes now build a combo (up to a limit of 16).

    • The number of affected resonance targets is now dynamically capped by your current combo level (e.g., Combo 3 affects up to 3 nearby mobs).

  • Added Dynamic combo decay:

    • Combos now degrade over time rather than resetting instantly.

    • Added a dynamic grace period formula (17 - combo.count) seconds. High combos decay much faster than lower ones, introducing a fast-paced momentum system.

  • Targeting origin adjustment: The resonance detection now centers on the hurt target's location instead of the attacker's location, making the AoE chain-effect feel more natural and accurate to the impact point.

  • Extended range: Increased the resonance detection radius from 8 blocks to 16 blocks to accommodate the scaling combo mechanic.


🛠️ Balance, Fixes & Code refinement

  • Refined critical hit detection: Added conditions to prevent critical strike activation while climbing or swimming.

  • Improved entity safety checks:

    • Added .isValid and health component checks on entities before applying damage. This prevents the script from attempting to damage already dead or invalid entities, reducing console warnings.

    • Wrapped damage application and velocity checks in try-catch blocks to protect server runtime stability.

  • Memory & Performance optimization: Implemented world.afterEvents.playerLeave to automatically clear a player's combo data when they disconnect, preventing memory leaks.

  • Strict target exclusions: Explicitly blocked players from triggering or receiving resonance effects to avoid accidental team-killing or PvP imbalances.

Download Files

1.1.279 KB.mcpack
Older versions (1)
1.0.033 KB.mcpack
Source: MCPEDL · by LukaEgmontGaines · CurseForge