Magic contamination

From CrawlWiki
Revision as of 22:05, 18 October 2022 by Hordes (talk | contribs) (History)
Jump to: navigation, search
Version 0.29: This article may not be up to date for the latest stable release of Crawl.

Magic contamination is a dangerous condition caused by miscasts and some magical effects.

Overview

Various activities cause harmful magical energies to accumulate in your body. A small amount of magical contamination (a dark or light grey "Contam" status) is mostly harmless, and will dissipate over time without any further effect. Larger amounts of accumulated magic contamination (a yellow, red, or dark red "Contam" status) will make you start to glow with magical contamination.

Contamination over 5 points is considered severe. Being at a severe contam level makes you easier to hit and reveals you if invisible, similar to the Corona spell. It also leaves you at risk to bad mutations and damaging explosions.

Any amount of contamination can cause ugly things adjacent to you change their colour.

Contamination Levels

Contam[1] Colour[2] Description[3]
>0 Dark grey You are very lightly contaminated with residual magic.
3 Light grey You are lightly contaminated with residual magic.
5 Yellow You are contaminated with residual magic.
15 Light Red You are heavily infused with residual magic.
25 Red You are practically glowing with residual magic!
40 Red Your entire body has taken on an eerie glow!
60 Red You are engulfed in a nimbus of crackling magics!

Sources

Spells

Spell Miscasts

Other

Dissipation

Magic contamination is dissipated at the rate of 0.075 per turn.[9] Quaffing a potion of cancellation instantly removes 1 to 5 points of contamination.

While being severely contaminated every 70 - 200 turns[10] there is contamination / 12[11] chance of a violent release of energies. Standing in Zin's Sanctuary stops this from happening.

One likely bad mutation (about 95% chance) is gained that bypasses mutation resistance. If contamination is higher than 10, there is also a damaging explosion. The damage is 3d(contamination / 2), and doubled for the non-living. Explosion size also increases with the contamination level. After the negative effects, contamination is reduced by 1 to (1 + contamination / 4)[12].

Tips & Tricks

Being in lichform, by way of Necromutation, prevents any contamination-related malmutations; instead, your stats temporarially rot.

History

  • In 0.29, the level of contam for the light grey warning was decreased from 3.5 to 3, to match Irradiate's increased contam.
  • Prior to 0.28, the Orb of Zot extended contamination.
  • Prior to 0.26, magic contamination decayed much slower: -0.025 per turn instead of -0.075, while the time between bad effects was also slower (200 - 600 turns).
  • Prior to 0.25, miscast effects were different, and thus had different contam levels.
  • Prior to 0.19, the light grey contamination level didn't exist.
  • Prior to 0.10, this effect was simply called glow, a ambiguous term that also referred to the backlight caused by Sticky Flame and Corona (and contam itself).

Sources of Contamination

References

  1. player.cc:3959 (0.29.0)
    Note that, in the code, 1000 units of contam = 1 "point" in reference to this page
  2. status.cc:809 (0.29.0)
  3. player.cc:3995 (0.29.0)
  4. spl-cast.cc:1949 (0.19.0)
  5. player-equip.cc:389 (0.29.0)
  6. cloud.cc:1165 (0.29.0)
  7. traps.cc:410 (0.28.0)
  8. god-wrath.cc:L1233 (0.29.0)
  9. timed-effects.cc:108 (0.28.0)
  10. timed-effects.cc:257 (0.29.0)
  11. timed-effects.cc:117 (0.29.0)
  12. timed-effects.cc:74 (0.29.0)