Combat Framework

⚔️ Data-Driven Ability System

The Command & Strategy Framework for RPG Combat. Compatible with modern C# engines and Unity®.

Data-Driven Ability System

Overview

Stop hardcoding spells, projectiles, and status effects into monolithic combat scripts. This framework separates Logic from Data, allowing designers to assemble modular combat abilities—like chain lightning, explosive fireballs, and health-drain debuffs—without writing custom C# for each variant.

Key Features

Code Preview

// 1. Modular Ability Effect Strategy
public class SpawnProjectileEffect : IAbilityEffect
{
    public void Apply(AbilityContext context)
    {
        var projectile = ProjectilePool.Spawn(context.EffectData);
        projectile.Launch(context.Source.Position, context.Target.Position);
    }
}

// 2. Execute cleanly through pipeline
ability.Execute(new AbilityContext(caster, target));

← Back to Studio Projects