casting a spell

Mostly the wand's or the scroll's effect by another path.

The terminal shows this in words, not as a letter.
Terminal
Not drawn yet. Codex shows the terminal's letter in 3D.
Codex

No changes builtSeen on some levelsLast touched November 29, 2026: a backlog row it names changed (N-518). Commit bfd1a5180.

In the terminal

A menu "Choose which spell to cast" (letter, name, level, school, fail %, retention), then "In what direction?" for directional spells (or a position for skilled fireball and cone of cold), then the effect. Pw falls on the status line. "You fail to cast the spell correctly." (half the Pw lost). Refusals: "You don't have enough energy to cast that spell.", "You are too hungry to cast that spell.", "You are too impaired to cast a spell." (stunned), "You are unable to chant the incantation." (strangled, silenced), "Your arms are not free to cast!", "You don't know any spells right now.". With the Amulet: "You feel the amulet draining your energy away.". Spells that match wands play out exactly as moment.zap.<wand> (force bolt as striking, sleep, magic missile, drain life, slow monster, cancellation, teleport away, polymorph, knock, wizard lock, dig, light, create monster, turn undead, detect unseen as secret door detection).

Quotes from NetHack

You fail to cast the spell correctly.
src/spell.c:1373
2 more quotes
You are unable to chant the incantation.
src/spell.c:694
You feel the amulet draining your energy away.
src/spell.c:1291

In Codex

Nothing is added here. Codex draws it as the terminal shows it, in 3D.

Accepted pictures and playtests

No accepted pictures or playtests yet.

Planned and proposed

Idea Casting a spell, strokes swirl around the hero and a force bolt rings out toward its target.

Idea A cloud turns round the hero while the game says it is there.

Asked for in these words: “Danny, 2026-11-14 (D-102, N-518): "Yes, I'd like to work on the animation primitives for these purposes, as well as backlog them."”

Details for builders

Id: cast. Lexicon subjects: moment.cast.

Design notes from NetHack

Casting needs free arms ('Your arms are not free to cast!') and a voice ('You are unable to chant the incantation.'); Pw falls; most spells look like the matching wand.

'It invokes nightmarish images in your mind...', then Stun and Conf; warnings as it fades ('You strain to recall the spell.').

A position prompt with the valid spots highlighted, then explosions at the chosen spot and possibly at nearby ones.

'The air around you begins to shimmer with a golden haze.', 'becomes more dense' when recast; AC improves, then decays.

White lightning segments spread from the hero in all eight directions, wave by wave, onward from each monster shocked; they stop at peacefuls and at resistant ones (shield sparkle).

'You feel better.' or 'You feel much better.', 'You are no longer ill.'; HP, Ill and Blind change on the status line.

The map within a few squares of the hero appears at once (skilled: the monsters and objects there too).

Statues 'come to life', a boulder's 0 becomes a % (an enormous meatball); cast up, 'Blood drips on your face.'; down, 'Blood pools at your feet.'

No message; a pet glyph appears next to the hero (marked with hilite_pet).

Monsters in sight move away without a message; only when none flee, 'You hear maniacal laughter in the distance.'

The wand's ray under the spell's name ('The fireball hits the jackal.'); a fireball does not bounce and explodes in orange where its run ends.

'<Mon> suddenly seems weaker!'; at oneself, 'Goodbye level 5.' and Xp falls.

Backlog rows

N-518To doA cloud round the hero