Difference between revisions of "Help/Casting"
(Cast: targets and defaults, abbreviating each word, mana, positions, what decides success, from spell_parser.cpp do_cast and spells.def) |
(checked against the code) |
||
| Line 5: | Line 5: | ||
Examples: | Examples: | ||
| − | cast | + | cast energy bolt orc |
cast cure light wounds Gnort | cast cure light wounds Gnort | ||
| − | cast | + | cast ene bo (at whoever you are fighting) |
cast bless (on yourself) | cast bless (on yourself) | ||
Casts a spell you have learned, of magic or of divine power (see | Casts a spell you have learned, of magic or of divine power (see | ||
{Help Magic}). Name the spell, then whom or what it is for. Leave out the | {Help Magic}). Name the spell, then whom or what it is for. Leave out the | ||
| − | target, and | + | target, and most attack spells go at whoever you are fighting, and many |
| − | helping | + | helping spells at yourself; others ask what to cast them upon. |
| − | You can shorten each word of the spell's name: cast | + | You can shorten each word of the spell's name: cast ene bo is energy |
| − | + | bolt. Take care not to shorten too much: cur could be cure or curse, | |
and that can be quite a bad mistake. | and that can be quite a bad mistake. | ||
Every spell costs mana (see {Help Mana Points}): without enough, you can't | Every spell costs mana (see {Help Mana Points}): without enough, you can't | ||
| − | summon enough energy to cast it. | + | summon enough energy to cast it. Many spells need you to stand, so you |
| − | be cast in a fight, and a few resting or even lying wounded. Those around you hear | + | can't cast them while fighting; many others can be cast in a fight, and a |
| + | few resting or even lying wounded. Those around you hear | ||
the words you utter. In a fight, a spell takes time, like a blow. | the words you utter. In a fight, a spell takes time, like a blow. | ||
Latest revision as of 21:18, 14 November 2026
Cast
Usage:
cast <spell> [<target>]
Examples:
cast energy bolt orc cast cure light wounds Gnort cast ene bo (at whoever you are fighting) cast bless (on yourself)
Casts a spell you have learned, of magic or of divine power (see {Help Magic}). Name the spell, then whom or what it is for. Leave out the target, and most attack spells go at whoever you are fighting, and many helping spells at yourself; others ask what to cast them upon.
You can shorten each word of the spell's name: cast ene bo is energy bolt. Take care not to shorten too much: cur could be cure or curse, and that can be quite a bad mistake.
Every spell costs mana (see {Help Mana Points}): without enough, you can't summon enough energy to cast it. Many spells need you to stand, so you can't cast them while fighting; many others can be cast in a fight, and a few resting or even lying wounded. Those around you hear the words you utter. In a fight, a spell takes time, like a blow.
How well it works depends on your skill in the spell, your magic or divine ability and your skill in its sphere (see {Help Spheres}); and many spells can be resisted. {status spells} shows the spells you know, and each spell has its own help: help and the spell's name.
See Also:
> {Help Spheres}
> {Help Magic}
> {Help Mana Points}
> {Help Practice}