Difference between revisions of "Spell"

From CrawlWiki
Jump to: navigation, search
m (update to 0.31)
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{version026}}
+
{{version031}}
== Lists ==
+
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 school]]s, and not under a few [[status effect]]s. Spells are learned from the [[spell memorisation|spell library]] ('''M''').
 
 
* [[List of spells]]
 
* [[List_of_spells_by_school|List of spells by school]]
 
 
 
== About spells ==
 
A '''spell''' is a magical effect that the player can produce at will, provided they have sufficient [[MP]] and are skilled enough in the spell's [[magic school]]s. Spells are learned from the [[spell library]].
 
  
 +
==Useful Info==
 
Every spell has the following:
 
Every spell has the following:
* A level, which is an indication of how difficult the spell is. Characters with an [[experience level]] lower than the spell's level cannot learn the spell. For example, a level 1 [[Wizard]] cannot learn the level 2 spell [[Blink]]. Higher level spells also require more magical skill to cast.
+
*A '''spell level'''. This determines:
{{crawlquote|"You're too inexperienced to learn that spell!"}}
+
**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.  
* A number of [[magic school]]s, which indicate the nature of magic that the spell uses. For example, [[Conjurations]] is the school of magic which handles things being created out of thin air, and is therefore the school to which most projectile attacks belong. A spell often belongs to more than one school.
+
**How difficult a spell is to cast. Higher levels of spells require more [[skill]] training to reduce their failure.
 +
**How much [[MP]] a spell costs, where <code>MP Cost = Spell Level</code>. Some spells, like [[Dragon's Call]], 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 <code>(2 × [[Spellcasting]]) + ([[XL]] - 1)</code> 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.
  
Every character has a number of [[Spell_memorisation | spell level]]s, which increase as the player gains [[experience]] levels and levels in [[Spellcasting]] and is a measure of how much magic they can learn.
+
*One or multiple '''[[magic school]]s''' ("'''spell schools'''"). For example, [[Summon Ice Beast]] is a [[Summonings]] / [[Ice Magic]] spell. Both "Summonings" and "Ice Magic" are skills that boost the strength and success rate of the spell. Spells with multiple schools will take more XP to train.
Spell levels = 2×Spellcasting + Experience level-1
 
  
To be able to memorize a spell you need an amount of free spell levels equal to the level of the spell. Otherwise:
+
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 you can learn it (i.e. your XL is high enough, and you have enough spell levels) and grey if you cannot.
{{crawlquote|"You can't memorise that many levels of magic yet!"}}
 
  
In any case, you can't memorize more than 21 spells.
+
In any case, you can only learn up to 21 spells:
 
{{crawlquote|"Your head is already too full of spells!"}}
 
{{crawlquote|"Your head is already too full of spells!"}}
 
Some spells can't be memorized by some [[species]]:
 
*[[Ghoul]]s and [[mummies]] can't memorize [[Beastly Appendage]], [[Blade Hands]], [[Borgnjor's Revivification]], [[Death's Door]], [[Dragon Form]], [[Hydra Form]], [[Ice Form]], [[Necromutation]], [[Spider Form]], [[Statue Form]], [[Sublimation of Blood]], or [[Wereblood]].
 
*[[Vampire]]s can't memorize [[Borgnjor's Revivification]], [[Death's Door]] or [[Necromutation]]. They can memorize the [[Transmutation]] spells that the other undead species cannot, but they can only cast them when they are "alive".
 
*[[Felid]]s can't memorize [[Excruciating Wounds]] or [[Portal Projectile]].
 
*[[Gargoyles]] can't memorize [[Statue Form]] or [[Sublimation of Blood]].
 
*[[Formicid]]s can't memorize [[Blink]] or [[Swiftness]].
 
 
In the spells menu, 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 (eg, there is a possible target for an attack, you have MP to restore with [[Sublimation of Blood]], you have HP to restore with [[Borgnjor's Revivification]]). Otherwise (eg because you have insufficient MP) 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').
 
  
 
==Casting 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 monsters around being the most common reason), although all spells can be forced by pressing '''[[Z]]'''.
+
Spells are cast by pressing '''[[z]]''' and selecting one of the learned spells. 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 and can only be cast by pressing '''[[Z]]'''. 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.
  
 
Once a player has learned a spell, that spell gains a new set of player-dependent properties:
 
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 summon more dangerous monsters (and more of them).
+
*[[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. This may be increased with power.
+
*[[Spell failure]]: how likely you are to [[miscast]] the spell.
 +
*Range: how far the spell can be cast, if the spell has a ranged effect.
  
 
==Monsters casting spells==
 
==Monsters casting spells==
Line 43: Line 30:
  
 
*Monsters don't have MP.
 
*Monsters don't have MP.
*Monsters can't miscast spells, except when they are under the effects of the [[antimagic]] brand.
+
*Monsters can't miscast spells, but they can fail while under the [[antimagic]] status effect.
*Monsters can cast spells only when there is an enemy in their LOS. The only exceptions to this rule are [[Dig]], [[Minor Healing]], and [[Major Healing]].
+
*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]].
*Monsters can't cast spells when they are: confused, paralysed, or berserk.
+
*Most monsters can cast up to 6 different spells, though [[player ghost]]s can have even more.
*Most monsters can cast up to 6 different spells, but [[player ghost]]s can have even more spells.
 
 
*Polymorphed [[unique]]s won't retain their spells in their new form. Shapeshifters don't get spells.
 
*Polymorphed [[unique]]s 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, with ranged weapons or with wands.
+
*Monsters don't cast spells less often when they are able to attack in melee, unlike with ranged weapons or wands.
 +
 
 +
==See also==
 +
*[[Spell memorisation]]
 +
*[[Spell success]]
 +
*[[Spell power]]
 +
*[[List of spells]]
 +
*[[List of spells by flag]]
 +
*[[List of spells by school]]
 +
*[[Spell book]]s
 +
*[[List of attack spells and beams by maximum damage]]
 +
*[[Table of attack spells and beams by maximum range]]
 +
*[[Table of spell popularity among winners]]
 +
*[[Miscast effect]]
 +
*[[Magic contamination]]
 +
*[[Willpower]]
 +
*[[Spell noise]]
  
 
==History==
 
==History==
 
*Prior to [[0.20]], [[uniques]] would keep their spells when polymorphed into a different form of [[:Category: Human intelligence|human intelligence]], unless the poly target had innate spells (e.g. naga spit).
 
*Prior to [[0.20]], [[uniques]] would keep their spells when polymorphed into a different form of [[:Category: Human intelligence|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.
 
*Prior to [[0.10]], it was necessary to have one level in [[Spellcasting]] to be able to memorize spells.
 
==See also==
 
* [[Spell memorisation]]
 
* [[Spell success]]
 
* [[Spell power]]
 
* [[List of spells]]
 
* [[List of spells by flag]]
 
* [[List of spells by school]]
 
* [[Spell book]]s
 
* [[List of attack spells and beams by maximum damage]]
 
* [[Table of attack spells and beams by maximum range]]
 
* [[Table of spell popularity among winners]]
 
* [[Miscast effect]]
 
* [[Magic contamination]]
 
* [[Magic resistance]]
 
* [[Spell noise]]
 
* [[Spell hunger]]
 
  
 
[[Category:Magic]]
 
[[Category:Magic]]
 
[[Category:Spells]]
 
[[Category:Spells]]

Latest revision as of 07:20, 14 May 2024

Version 0.31: 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 to reduce their failure.
    • How much MP a spell costs, where MP Cost = Spell Level. Some spells, like Dragon's Call, 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.
  • One or multiple magic schools ("spell schools"). For example, Summon Ice Beast is a Summonings / Ice Magic spell. Both "Summonings" and "Ice Magic" are skills that boost the strength and success rate of the spell. Spells with multiple schools will take more XP to train.

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 you can learn it (i.e. your XL is high enough, and you have enough spell levels) and grey if you cannot.

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. 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 and can only be cast by pressing Z. 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.

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).
  • Spell failure: how likely you are to miscast 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.