Difference between revisions of "Miscast effect"

From CrawlWiki
Jump to: navigation, search
m (Oh, and update the history.)
(Fleshed out a bit more)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{version025}}
 
{{version025}}
A [[miscast effect]] occurs when a player fails to cast a spell successfully. These can range in severity from completely harmless to inflicting heavy damage and [[magic contamination]], depending on the school of magic that is used.
+
A [[miscast effect]] occurs when a player fails to cast a spell successfully. These can range in severity from completely harmless to inflicting heavy damage and [[magic contamination]], depending on the school of magic, the spell level, and the degree of failure. Players wishing to protect themselves from miscasts should focus on increasing the [[spell success]] rate, as this reduces both the frequency and intensity of miscasts. Additionally, miscasts from some schools of magic produce elemental damage that can be resisted.
  
A miscast will first cause contamination based on the severity of the failure and the spell level. Then an additional effect will be applied based on the spell school. If a spell has multiple schools, the additional effect will be chosen among them at random.
+
The in game spell failure rate color indicates the maximum potential damage relative to your current max [[HP]]. These are calculated as if the damage is irresistible, even for those schools whose miscast effects are resistible or not directly damaging.
 +
 
 +
{|class="prettytable"
 +
! Color !! Potential <br>HP Loss !! Warning <br>Description
 +
|-
 +
| {{LightGrey|Grey}} || None  || safe
 +
|-
 +
| {{White|White}} || 0% - 10% || slightly dangerous
 +
|-
 +
| {{Yellow|Yellow}} || 10% - 30% || dangerous
 +
|-
 +
| {{LightRed|Light red}} || 30% - 50% || quite dangerous
 +
|-
 +
| {{Red|Red}} || 50% - 70% || extremely dangerous
 +
|-
 +
| {{Magenta|Purple}} || 70% - 100% || potentially lethal
 +
|-
 +
|}
 +
 
 +
The spell description shows the full list of possible miscast effects, including maximum damage and damage types.
 +
 
 +
==Effects==
 +
 
 +
Miscasting a spell from any school causes [[contamination]] based on the spell level and degree of failure (which can range from 1 to 99 for spells that are almost impossible to cast; higher success rate reduces the maximum range):
 +
 
 +
{{crawlquote|'''Contamination''': (Spell Level × Spell Level × Degree of Failure + 250) / 500 }}
 +
 
 +
If this results in more than 0.8 points of contamination, an additional effect is applied based on the spell school. If the spell has multiple schools, one of them is chosen at random. The intensity of the effect is rolled based on the spell level and the [[Spell_Success#The_final_step|raw spell failure chance]] (an internal value from 1 to 99, ''not'' the failure rate shown on the spell list).
 +
 
 +
{{crawlquote|'''Intensity''': (Spell Level)d(Spell Level + Raw Failure Rate) / 9}}
 +
 
 +
For damaging effects, this is the amount of damage done. For status effects (slow and dimension anchor), this is the duration in turns. Other effects as listed:
  
 
{| class="prettytable"  
 
{| class="prettytable"  
! School!! Additional Effect
+
! School!! Effect
 
|-  
 
|-  
 
| [[Air Magic]] || [[electricity]] damage
 
| [[Air Magic]] || [[electricity]] damage
Line 13: Line 44:
 
| [[Earth Magic]] || shrapnel damage <br> (reduced by AC three times)
 
| [[Earth Magic]] || shrapnel damage <br> (reduced by AC three times)
 
|-
 
|-
| [[Hexes]] || debuff and slow <damage> turns
+
| [[Hexes]] || debuff and slow
 
|-
 
|-
| [[Charms]] || debuff and slow <damage> turns
+
| [[Charms]] || debuff and slow
 
|-
 
|-
 
| [[Fire Magic]] || [[fire]] damage
 
| [[Fire Magic]] || [[fire]] damage
Line 25: Line 56:
 
| [[Poison Magic]] || [[poison]] damage
 
| [[Poison Magic]] || [[poison]] damage
 
|-
 
|-
| [[Summonings]] || durably summoned <br>[[nameless horror]]<br>[[HD]] = 2 * <damage> / 3
+
| [[Summonings]] || durably summoned [[nameless horror]]<br>[[HD]] = 2 × Intensity / 3
 
|-
 
|-
| [[Translocations]] || [[Dimension Anchor]] <damage> turns
+
| [[Translocations]] || [[Dimension Anchor]]
 
|-
 
|-
| [[Transmutations]] || double current [[contamination]] <br> then add 9 * <damage> contamination
+
| [[Transmutations]] || double current [[contamination]] <br> plus 9 × Intensity / 1000 contamination
 
|-
 
|-
 
|}
 
|}
 
There is a special case if [[Hell's mystical force]] produces a [[Miscast_effect#Hell_effects|miscast effect]] that spawns any monsters: those monsters are not summons and are worth experience.
 
 
Displayed in game spell failure rate color indicates the maximum damage of the additional effect relative to your current max [[HP]]. These are calculated as if the damage is irresistible, even for those schools whose miscast effects are resistible or not directly damaging.
 
 
{|class="prettytable"
 
! Color !! Potential <br>HP Loss !! Warning <br>Description
 
|-
 
| {{LightGrey|Grey}} || 0%  || safe
 
|-
 
| {{White|White}} || 10% || slightly dangerous
 
|-
 
| {{Yellow|Yellow}} || 30% || dangerous
 
|-
 
| {{LightRed|Light red}} || 50% || quite dangerous
 
|-
 
| {{Red|Red}} || 70% || extremely dangerous
 
|-
 
| {{Magenta|Purple}} || 100% || potentially lethal
 
|-
 
|}
 
 
 
  
 
==Hell effects==
 
==Hell effects==
[[Hell]]'s mystical force selects a miscast or other effect with the probabilities given below. Hell effects only apply the additional effect of the specific spell school, not the initial contamination.
+
[[Hell]]'s mystical force selects a miscast or other effect with the probabilities given below. These miscasts only apply the school effect, not the initial contamination. There is a special case if the miscast effect spawns any monsters: those monsters are not summons and are worth experience.
  
 
*[[Miscast_effect#Necromancy|Necromancy]] miscast: 16.66%
 
*[[Miscast_effect#Necromancy|Necromancy]] miscast: 16.66%
Line 68: Line 76:
 
*Summon 1-5 random monsters: 9.88%
 
*Summon 1-5 random monsters: 9.88%
 
*Nothing happens: 19.75%
 
*Nothing happens: 19.75%
 
==Notes==
 
 
<references/>
 
  
 
==See Also==
 
==See Also==

Revision as of 16:10, 2 September 2020

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

A miscast effect occurs when a player fails to cast a spell successfully. These can range in severity from completely harmless to inflicting heavy damage and magic contamination, depending on the school of magic, the spell level, and the degree of failure. Players wishing to protect themselves from miscasts should focus on increasing the spell success rate, as this reduces both the frequency and intensity of miscasts. Additionally, miscasts from some schools of magic produce elemental damage that can be resisted.

The in game spell failure rate color indicates the maximum potential damage relative to your current max HP. These are calculated as if the damage is irresistible, even for those schools whose miscast effects are resistible or not directly damaging.

Color Potential
HP Loss
Warning
Description
Grey None safe
White 0% - 10% slightly dangerous
Yellow 10% - 30% dangerous
Light red 30% - 50% quite dangerous
Red 50% - 70% extremely dangerous
Purple 70% - 100% potentially lethal

The spell description shows the full list of possible miscast effects, including maximum damage and damage types.

Effects

Miscasting a spell from any school causes contamination based on the spell level and degree of failure (which can range from 1 to 99 for spells that are almost impossible to cast; higher success rate reduces the maximum range):

Contamination: (Spell Level × Spell Level × Degree of Failure + 250) / 500

If this results in more than 0.8 points of contamination, an additional effect is applied based on the spell school. If the spell has multiple schools, one of them is chosen at random. The intensity of the effect is rolled based on the spell level and the raw spell failure chance (an internal value from 1 to 99, not the failure rate shown on the spell list).

Intensity: (Spell Level)d(Spell Level + Raw Failure Rate) / 9

For damaging effects, this is the amount of damage done. For status effects (slow and dimension anchor), this is the duration in turns. Other effects as listed:

School Effect
Air Magic electricity damage
Conjurations irresistible damage
Earth Magic shrapnel damage
(reduced by AC three times)
Hexes debuff and slow
Charms debuff and slow
Fire Magic fire damage
Ice magic cold damage
Necromancy draining damage
Poison Magic poison damage
Summonings durably summoned nameless horror
HD = 2 × Intensity / 3
Translocations Dimension Anchor
Transmutations double current contamination
plus 9 × Intensity / 1000 contamination

Hell effects

Hell's mystical force selects a miscast or other effect with the probabilities given below. These miscasts only apply the school effect, not the initial contamination. There is a special case if the miscast effect spawns any monsters: those monsters are not summons and are worth experience.

See Also

Magic contamination

History

  • Prior to 0.25, the miscast effect system was significantly more complicated, with three different types of effects per school, depending on the severity of the miscast.
  • In 0.16, many magic miscast effects received a significant overhaul.
  • Prior to 0.14, Hell's mystical force could paralyze the player.
  • Prior to 0.13, Zot traps inflicted a random severity 3 miscast, instead of having a hardcoded list of effects.