HeroDef in
the HeroRegistry, then apply it to an entity, which inserts the right components (Health, Mana,
Gold, Level, BaseStats, StatGrowth, AbilitySet, EntityRole::Hero). Heroes live in the
MOBA layer (euca-moba) but build on the genre-neutral
gameplay primitives.
Fully headless. Hero definition and selection run on the
:3917 server.Define and apply a hero
HeroDef may also declare abilities (an AbilityDef per slot), primary_attribute, and
attribute growth — Dota-style STR/AGI/INT with derived stats. Those surface through the
abilities endpoints once applied.
Endpoints
| Method | Path | Description |
|---|---|---|
POST | /hero/define | Register a hero definition |
POST | /hero/select | Apply a hero template to an entity (hero_name) |
GET | /hero/list | List registered heroes |
Status
- ✅ Hero definition + registry, template application (stats, mana, gold, level, abilities, role), base/growth stats, the leveling framework — shipped and headless.
Hero endpoints
Define, select, and list endpoints with schemas.