Ilva.component
README.md
umbral.Ilva
Ilva herself, beyond her body: the bell fragments she has left, the Coro, the Badajo's two swings, i-frames and knockback, the healing ring, death and the return to the last bell, and the game's signature verb — ring a bell and the room's hidden geometry shows.
Attaches to: the player body, beside twoDKit.Player2D. The motor on that body owns her
movement; this component never replaces it, it reads state() and touches her position only
to hold her during a healing ring, to shove her with a blow, and to put her back at the last
bell. It reads its controls through the umbral controlsKit scheme (Combat.registerScheme).
Fields
| Field | Sync | What |
|---|---|---|
health | yes | Bell fragments left. The HUD draws this. |
healthMax | yes | Bell fragments she can hold. |
coro | yes | The Coro: filled by a landed strike, spent by the healing ring. |
coroMax | yes | How much Coro she can hold. |
dead | yes | Down, and walking back to the last bell. |
swing | yes | light, heavy, or empty. |
chain | yes | Where she is in the three-strike chain. |
healing | yes | Holding the healing ring: held still until it lands or she lets go. |
revealed | yes | The room's hidden geometry is lit by the last echo. |
lastBell | yes | The last bell she rang, bare name. Respawn goes there. |
invuln | no | Seconds of i-frames left after a blow. |
Verbs
- Toque ligero — tap attack. Three chainable strikes; the third reaches further and
recovers slower. A press inside
chainFromqueues the next one. - Toque pesado — hold attack past the light swing. Descending, heavier, anchors her.
- Campanada — hold heal standing on the ground with Coro to spare. She is pinned to the
spot for
healTime, payscoroPerHeal, gainshealAmount. - Eco — press echo. Rings the nearest
bell_inecoRadiusand shows everyhidden_entity forecoTimeseconds. A swing that touches a bell does the same.
Methods
takeHit(damage, dirX) — a blow from anything that wants to hurt her. kill(),
addCoro(amount), status().