Difference between revisions of "Spell"

From CrawlWiki
Jump to: navigation, search
m (Useful Info)
m (spell hunger is no more)
Line 51: Line 51:
 
* [[Willpower]]
 
* [[Willpower]]
 
* [[Spell noise]]
 
* [[Spell noise]]
* [[Spell hunger]]
 
  
 
==History==
 
==History==

Revision as of 11:26, 1 July 2023

Version 0.30: This article may not be up to date for the latest stable release of Crawl.

A spell is a magical effect that the player can produce at will, provided they have sufficient MP, are skilled enough in the spell's magic schools, and not under a few status effects. Spells are learned from the spell library (M).

Useful Info

Every spell has the following:

  • A spell level. This determines:
    • If you can learn the spell at all. In order to memorize a spell, your experience level must be greater or equal to a spell's level.
    • How difficult a spell is to cast. Higher levels of spells require more skill training.
    • How much MP a spell costs, where MP Cost = Spell Level. Some spells, like Portal Projectile, can use extra MP after being cast.
In addition, characters can only memorize so many spell levels at a time. A given character can learn up to (2 × Spellcasting) + (XL - 1) spell levels at once. E.g. an XL 11 character with 5 Spellcasting would have a total of 20 spell levels; they could learn four level 5 spells, or two level 9 spells and one level 2 spell.
Spells with multiple schools will take more XP to train than spells with a single school.

In the spells menu (M), a spell will be shown in red if your god prohibits it. Otherwise a spell is shown in white if casting it is possible and would achieve something (e.g. if you can affect something with an attack, heal MP with Sublimation of Blood...). Otherwise, it is greyed out. The game's assessment of whether it would achieve something is not always accurate; for example, you might cast a Fireball at a spot where you suppose there is an invisible monster (do so with 'Z').

In any case, you can only learn up to 21 spells:

"Your head is already too full of spells!"

Casting spells

Spells are cast by pressing z and selecting one of the learned spells. The interface will prevent players from casting spells if there seems to be no reason to (no visible monsters around being the most common reason), although all spells can be forced by pressing Z.

Once a player has learned a spell, that spell gains a new set of player-dependent properties:

  • Spell power: how powerful the spell will be if cast successfully. For example, more powerful Conjuration spells do more damage, more powerful summoning spells can summon stronger monsters or last longer (depending on the spell).
  • Range: how far the spell can be cast, if the spell has a ranged effect.

Monsters casting spells

Monsters can also cast many of the spells available to players (as well as many that are not), but the mechanics are very different:

  • Monsters don't have MP.
  • Monsters can't miscast spells, but they can fail while under the antimagic status effect.
  • Monsters can only cast spells when there is an enemy in their LOS. The exceptions to this rule are Dig, Minor Healing, and Major Healing.
  • Most monsters can cast up to 6 different spells, though player ghosts can have even more.
  • Polymorphed uniques won't retain their spells in their new form. Shapeshifters don't get spells.
  • Monsters don't cast spells less often when they are able to attack in melee, unlike with ranged weapons or wands.

See also

History

  • Prior to 0.20, uniques would keep their spells when polymorphed into a different form of human intelligence, unless the poly target had innate spells (e.g. naga spit).
  • Prior to 0.10, it was necessary to have one level in Spellcasting to be able to memorize spells.