Skip to content

⚙️ Rules — Core

📦 Folder Overview

This folder contains core rule infrastructure.

It is responsible for orchestrating rule execution within the damage and healing pipelines.


🎯 Purpose

Provide orchestration for PRE and POST rule execution without introducing gameplay behaviour.


🧩 What Lives Here

  • DamageRuleHub
  • HealRuleHub
  • DamageExtensions
  • CombatPing

These components coordinate rule execution and provide supporting helpers.


⚠️ Important Notes

Boundaries

This folder should contain:

  • Rule hubs
  • Helper APIs that coordinate rule execution

This folder should not contain:

  • Gameplay math
  • Buff logic
  • Health ownership

This is orchestration glue, not gameplay behaviour.


🧠 Usage Guidance

  • Use hubs to manage rule execution order and lifecycle
  • Keep orchestration separate from gameplay logic
  • Treat helpers here as coordination utilities, not extension seams

  • Rules
  • Rules Abstractions
  • Health System