godot-rpg-stats

Creates a character stat system with attributes, modifiers, and damage calculations for Godot.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/yyypasserby1102/ghost --skill godot-rpg-stats-yyypasserby1102
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: godot-rpg-stats
Source: https://github.com/yyypasserby1102/ghost/tree/main/.opencode/skills/godot-rpg-stats
Command: npx skills add https://github.com/yyypasserby1102/ghost --skill godot-rpg-stats-yyypasserby1102

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill gives developers a structured, extensible framework to define base attributes, derive secondary stats, and apply modifiers for progression, equipment, and buffs in Godot RPG projects.

Core Features & Use Cases

  • Resource-based base attributes: define core stats (e.g., strength, dexterity, intelligence) that drive derived values.
  • Derived and reactive stats: compute max health, attack power, defense, magic power, crit chance based on base attributes and modifiers.
  • Modifiers and equipment integration: support stacking buffs/debuffs with unique IDs, and equipment bonuses that adjust stats in real time.
  • Experience and leveling flow: include experience progression, level-ups, and stat growth to balance gameplay.
  • Damage calculation scaffolding: provide a centralized formula to compute combat damage with defense mitigation and critical hits.
  • Status effects and serialization: support status effects and persistent stat serialization to disk.

Quick Start

Instantiate a character with base attributes and enable a modifier stack to influence derived stats and combat calculations.

Frequently Asked Questions about godot-rpg-stats

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure character stats and attributes in Godot?

You can structure character stats in Godot by using resource-based base attributes, such as strength and dexterity, to drive derived calculations and modifier stacks for real-time combat adjustments.

How does damage calculation work with derived stats and equipment bonuses?

Damage calculation uses a centralized formula that applies defense mitigation and critical hits to derived attack power, automatically adjusting outcomes based on active equipment bonuses and modifier stacks.

Can I apply stacking buffs and debuffs with unique IDs in Godot?

Yes, the modifier system supports stacking buffs and debuffs using unique IDs, integrating directly with equipment bonuses and status effects to adjust derived stats dynamically during gameplay.

How do I implement experience progression and level-ups for RPG characters?

Experience progression is handled through a dedicated leveling flow that tracks experience points, triggers level-ups, and applies stat growth to base attributes, ensuring balanced gameplay progression.

Does this RPG stat system support saving character data to disk?

Yes, the system includes serialization for persistent stat storage, allowing you to save base attributes, derived stats, and active status effects to disk across gameplay sessions.

What's the best way to compute derived stats like max health from base attributes?

The best way is using a reactive stat system that computes max health, attack power, and crit chance from base attributes, automatically recalculating when modifiers or equipment bonuses change.