Log inGet started
Package

Enemies.module

Newest version

README.md

umbral.Enemies

What lives in Véspera, and where. The scene calls Enemies.populate(map, Config) once during the build; every foe is a spawnSynced entity carrying its own component from umbral/foes/.

FoeWhereWhat it teaches
Penitente CiegoEl Campanario x15, La Nave x80It is blind. It hunts the SOUND of her feet and her bell, never her body. Stand still and walk past behind it.
Ahogado OficianteEl Corredor x33Its chant seals a ring round her. Leaving the ring (dash) or ringing her bell breaks it.
Salinoledges at x61 and x77An enemy above you is a different problem. It clings, it aims, it spits.
Siete Cuerdasx66 and x68.6, two out of phaseUnkillable. It teaches the beat: quiet, tight, cutting.
El Ciego de la Navethe dais, x100The boss. It rings before every attack, cracks at half health, and leaves a way of moving behind.

The damage contract

Every foe exposes a synced health field. Writing it down is a hit — the foe watches it and reacts (staggers, cracks, dies). So Ilva's Badajo can hurt anything here by writing health on the entity it found with its cast, without knowing what it hit. Enemies.hurt(name, amount) does the same by name.

A foe hurts her through umbral.foes.Sense.hurtPlayer(amount, fromX), which calls umbral.Combat or the umbral.Ilva component by whatever name the ilva slice exposes, and falls back to writing health on the body.

SieteCuerdas cannot be killed: a drop in health only tightens its beat.

Sense

umbral.foes.Sense is the only place a foe is allowed to learn anything about Ilva: Sense.noise() (0 silence .. 1 a bell at arm's length, with where it came from), Sense.bell(), Sense.body().