bevy-rpg-stats
Installation
SKILL.md
Bevy RPG stats
When to use
Load this when attributes, modifiers, or derived numbers live on an actor. Combat applies them via bevy-combat-system.
ECS shape
- Components: base attributes, a modifier list, and current health on the actor.
- Resources: the level curve is one resource for the whole run (bevy-data-resources).
- Systems: recompute max health when
Attributeschange. AnIncomingHitorXpGainis a component removed after it is applied..chain()so a vitality gain runs before the health sync. - Messages: one-shot facts (hit, pickup, quest advance) go through bevy-events-messaging.
[dependencies]
bevy = "0.20"
serde = { version = "1", features = ["derive"] }
ron = "0.10"