← Back to all add-ons

Enhanced Combat System

by DragonSlayer42 January 20, 2026
Mythril2D 2.0 Mythril2D 3.0 gameplay combat

Overview

This add-on extends the default Mythril2D combat system with three new features:

  • Combo Attacks — Chain up to 3 hits for bonus damage
  • Parry Mechanic — Time your block to stun enemies
  • Stamina Bar — Actions consume stamina that regenerates over time

Installation

  1. Download the .unitypackage using the button above
  2. In Unity, go to Assets → Import Package → Custom Package and select the file
  3. The scripts will be added to Assets/Addons/EnhancedCombat/

Setup

Add the EnhancedCombatController component to your player GameObject:

// Replace the default combat controller
// On your Player prefab, remove CombatController and add:
[RequireComponent(typeof(EnhancedCombatController))]
public class PlayerSetup : MonoBehaviour
{
    void Awake()
    {
        // The EnhancedCombatController auto-detects Mythril2D's combat system
        GetComponent<EnhancedCombatController>().Initialize();
    }
}

Configuration

In the Inspector, you can tweak:

ParameterDefaultDescription
Combo Window0.5sTime between hits to continue combo
Parry Window0.2sFrame window for successful parry
Max Stamina100Maximum stamina value
Stamina Regen Rate15/sStamina recovered per second

Note: This add-on is compatible with Mythril2D 2.0 and 3.0. For version 1.0, check out the Legacy Combat Add-on.