damage-health-framework

Community

Modular damage and health system for games

AuthorCriezzz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a consistent, reusable damage and health architecture to avoid duplicated health logic, inconsistent resistance calculations, and fragile death handling across players, enemies, and destructible objects.

Core Features & Use Cases

  • Interface-driven design: IDamageable interface and DamageInfo/DamageResult structs standardize how all entities receive and report damage.
  • Damage types & resistances: Built-in enums and DamageResistances allow Physical, Elemental, Poison, Holy/Dark, and True damage handling with configurable resistances.
  • Reusable components & events: HealthComponent and DamageDealer templates include healing, criticals, death, revive, and health-change events for UI/VFX integration and predictable gameplay behavior.
  • Use Case: Ideal for Unity projects implementing player/enemy health, elemental weaknesses, DOT effects, and reactive UI when health changes.

Quick Start

Add the HealthComponent to an enemy GameObject, set MaxHealth and resistances in the inspector, and call TakeDamage with a DamageInfo from your DamageDealer.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: damage-health-framework
Download link: https://github.com/Criezzz/Gametopia2026/archive/main.zip#damage-health-framework

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.