Difference between revisions of "Willpower"

From CrawlWiki
Jump to: navigation, search
m
m (Resistance Descriptions)
 
(57 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{version012}}
+
{{version030}}
'''Magic resistance''' ('''MR''') is the ability to resist hostile enchantments such as [[Slow]], [[Confusion]], [[Banishment]] to the Abyss and [[Disintegration]].
+
'''Willpower''' ('''Will''') is the ability to resist hostile enchantments such as [[slow]], [[confusion]], [[banishment]] to [[the Abyss]], and [[paralysis]].
  
The higher a being's MR, the less likely that it will be affected by an enchantment cast on it. Beings that are magical in some way (such as elves or sirens), magic-users, and those that are non-[[natural]] tend to have higher MR than other creatures.
+
The higher a being's Will, the less likely that it will be affected by an enchantment cast on it. Beings that are magical in some way (such as [[list of deep elves|elves]] or [[siren]]s), magic-users, and those that are not [[natural]] tend to have higher Will than other creatures.
  
Monster MR is partly based on [[hit dice]], so monsters with high hit dice tend to be highly resistant to magic. Most monsters with one hit die have a 50% chance to fail to resist outright, in addition to the normal saving throw. Finally, some monsters are outright immune to magical enchantments – for instance, most [[nonliving]] creatures.
+
Monster willpower is partly based on [[hit dice]], so monsters with high hit dice tend to be strong-willed. Most monsters with one hit die have a 50% chance to fail to resist enchantments outright, in addition to the normal saving throw. Finally, some monsters have unshakeable will and are outright immune to magical enchantments, such as most [[nonliving]] creatures.
  
 
==Resistible Enchantments==
 
==Resistible Enchantments==
 
Some of these effects can come from potions, weapon brands, clouds, or spells that are not considered enchantments.
 
Some of these effects can come from potions, weapon brands, clouds, or spells that are not considered enchantments.
  
*[[Slow]], [[Wand of slowing]]
+
<div style="column-count:3">
*[[Wand of paralysis]]
 
*[[Confuse]], [[Confusing Touch]], [[Mass Confusion]], [[Wand of confusion]] (but not [[Alistair's Intoxication]])
 
*[[Teleport Other]], [[Wand of teleportation]], [[Dispersal]] spell (only teleportation, blink away cannot be resisted)
 
*[[Polymorph]], [[Wand of polymorph]]
 
*[[Enslavement]], [[Wand of enslavement]], [[Crusade card]]
 
*[[Banishment#Monster banishment|Banishment]], [[Damnation card]]
 
*[[Vitriol card]]
 
*[[Yred#Enslave_soul|Enslave Soul]]
 
 
*[[Agony]]
 
*[[Agony]]
 +
*[[Banishment#Monster banishment|Banishment]]
 +
*[[Brain Feed]]
 +
*[[Cause Fear]]
 +
*[[Confuse]]
 +
*[[Confusing Touch]]
 +
*[[Corona]]
 +
*[[Dimension Anchor]]
 +
*[[Discord]]
 +
*[[Dispersal]] (confuse + teleport only)
 +
*[[Enfeeble]] (daze + blindness only)
 +
*[[Ensorcelled Hibernation]]
 +
*[[Inner Flame]]
 +
*[[Necrotise]]
 +
*[[Mass Confusion]]
 
*[[Pain]]
 
*[[Pain]]
*[[Wand of disintegration]]
+
*[[Paralyse]]
*[[Blink Other]] (but not [[Blink Other Close]])
 
 
*[[Petrify]]
 
*[[Petrify]]
*[[Corona]]
 
 
*[[Porkalator]]
 
*[[Porkalator]]
*[[Ensorcelled Hibernation]], [[Metabolic Englaciation]]
+
*[[Scroll of fear]]
*[[Sleep]]
+
*[[Sentinel's Mark]]
*[[Inner Flame]]
+
*[[Sleep]] (but not the effects of [[Dream Dust]] from [[dream sheep]])
*[[Cause Fear]], [[Scroll of fear]], [[Banshee card]]
+
*[[Slow]]
*[[Control Undead]]
+
*[[Strip Willpower]] (ignores Will 33% of the time)
 
+
*[[Teleport Other]]
Most of the time, the enchantment power of a spell is its [[spellpower]]. However, mass enchantments, like [[Cause Fear]], [[Mass Confusion]], [[Metabolic Englaciation]], or [[Control Undead]] get a +50% bonus to their enchantment power (after spellpower stepdown). Other spells, like [[Pain]], [[Agony]], [[Corona]], [[Slow]] and [[Teleport Other]] also get bonuses to their enchantment power.
+
*[[Virulence]]
 +
*[[Wand of mindburst]]
 +
*[[Wand of charming]]
 +
*[[Wand of paralysis]]
 +
*[[Wand of polymorph]]
 +
</div>
  
 
===Notes===
 
===Notes===
*Many of these enchantments can be resisted via other means. For instance, [[life protection]] counters the effects of [[Agony]] (but not the [[Pain]] spell). Undead, nonliving, and plant monsters cannot [[sleep]].
+
*Many of these enchantments can be resisted via other means. For example, undead, nonliving, and plant monsters cannot be put to [[sleep]].
*[[Polymorph]] will not be resisted by ([[very ugly thing|very]]) [[ugly thing]]s, which will always change color. [[Shapeshifter]]s can only resist it if they are currently in the form of something immune to magic.
+
*[[Polymorph]] will not be resisted by ([[very ugly thing|very]]) [[ugly thing]]s, which will always change color. [[shapeshifter (monster)|shapeshifter]]s can only resist it if they are currently in the form of something with unshakeable will.
 +
*Effects produced by the [[chaos]] brand don't check Will.
  
==Saving throws==
+
==Resisting enchantments==
Resisting an enchantment is dependent on the resisting creature's MR and the enchantment power (which is a function of the [[spell power]]) of the enchantment it is resisting. The formula is:
+
Resisting an enchantment is dependent on the resisting creature's Will and the [[#Enchantment power|enchantment power]] (which is a function of the [[spell power]]) of the enchantment it is resisting. The formula is:<ref>{{source ref|0.30.0|actor.cc|121}}</ref>
  
{{crawlquote|If 1d100 + 1d101 is less than 102 + MR - the enchantment's power, the enchantment is resisted.}}
+
{{crawlquote|If (1d100 + 1d101) is less than (102 + Will - enchantment_power), the enchantment is resisted.}}
  
 
This is sometimes referred to as a "[http://en.wiktionary.org/wiki/saving_throw saving throw]", after the die-based resistance system employed in ''Dungeons & Dragons''.
 
This is sometimes referred to as a "[http://en.wiktionary.org/wiki/saving_throw saving throw]", after the die-based resistance system employed in ''Dungeons & Dragons''.
  
 
[[File:magic_resistance_saving_throw.png]]
 
[[File:magic_resistance_saving_throw.png]]
 +
 +
If <code>(willpower) ≥ (enchantment power + 99)</code>, then the enchantment is always resisted. If <code>(enchantment power) ≥ (willpower + 100)</code>, then the enchantment always succeeds.
 +
 +
===Enchantment power===
 +
When a player casts a spell or evokes a wand, the game uses enchantment power, which is based off [[spell power]] and the type of spell cast.
 +
 +
First, spellpower is modified by <code>spellpower * factor</code>, which is specific to a given spell. For example, [[Cause Fear]] and other "mass enchantments" have a factor of 3/2. The usual spell has a multiplier of 1. If your adjusted power > 35, it is then passed through a stepdown function, <code>35 * log2(1 + adj_pow/35)</code>.<ref>{{source ref|0.30.0|beam.cc|6806}}<br>Stepdown function can be found at {{source ref|0.30.0|stepdown.cc|14}}</ref>
 +
 +
The stepdown function means that, for every 35 enchantment power, the next 35 power requires twice as much spellpower to obtain. Since spellpower (for spells) goes through a [[Spell power#Step down|stepdown]] of its own, it becomes very hard to raise power at high levels. To compensate, many high-level spells, such as [[Agony]] and [[Enfeeble]], have large multipliers.
 +
 +
For monsters, enchantment power is either 1. a flat number, or 2. a number based on monster [[hit dice]].
 +
 +
After enchantment power is calculated, it is compared to the target's willpower (see above for more details).
  
 
==Resistance Descriptions==
 
==Resistance Descriptions==
Neither the player's nor monster's MR is never given explicitly, but a rough suggestion of how magic resistant they are can be seen by pressing the [[@]] key for the player, and e'''x'''amining a monster's description.
+
Neither the player's nor monster's Will are ever given explicitly. A rough suggestion of how resistant they are can be seen by pressing the [[%]] key for the player, and e'''x'''amining a monster's description.  
  
Magic resistance adjectives are as follows:
+
Pluses on these screens correspond to the Will level of the player or monster, as follows:
 
{|- class="prettytable"
 
{|- class="prettytable"
!MR description
+
!Pluses shown
!MR number
+
!Player Will
 +
!Monster Will
 +
|-
 +
| ..... || 0-39 || 0
 
|-
 
|-
|not resistant||<10
+
| +.... || 40-79 || 1-40
 
|-
 
|-
|slightly||10-29
+
| ++... || 80-119 || 41-80
 
|-
 
|-
|somewhat||30-59
+
| +++.. || 120-159 || 81-120
 
|-
 
|-
|quite||60-89
+
| ++++. || 160-199 || 121-160
 
|-
 
|-
|very||90-119
+
| +++++ || 200 || 161 or more
 +
|}
 +
 
 +
Monsters always have a set amount of willpower, which is listed on the wiki's respective monster page. Players' willpower can be calculated with the formulas below.
 +
 
 +
As a practical matter, a player who has Will++++ should generally be able to resist the most dangerous enchanters in the game (such as [[deep elf demonologist]]s, [[lich]]es, and [[ancient lich]]es). More Will reduces the likelihood of these spells landing even further, but the gains become significantly less important beyond this point.
 +
 
 +
===Player Resistance===
 +
A player's innate willpower is determined by the following equation:
 +
 
 +
Experience level × racial multiplier
 +
 
 +
Racial multipliers are as follows:
 +
{|- class="prettytable"
 +
!Will per XL
 +
!Species
 
|-
 
|-
|extremely||120-149
+
| 7 || [[Spriggan]]
 
|-
 
|-
|extraordinarily||150-189
+
| 6 || [[Felid]], Purple [[draconian]]
 
|-
 
|-
|incredibly||190-239
+
| 5 || [[Meteoran]], [[Mummy]], [[Naga]], [[Vine stalker]]
 
|-
 
|-
|uncannily||240-299
+
| 4 || [[Deep elf]], [[Demigod]], [[Formicid]], [[Ogre]], [[Vampire]]
 
|-
 
|-
|almost entirely||>=300
+
| 3 || All other species
 
|}
 
|}
  
===Player Resistance===
+
The following sources can add (or subtract) to your willpower:
  
As a practical matter, "extraordinarily resistant" is enough to completely resist most dangerous enchanters in the game (such as [[Kirke]], [[deep elf demonologist]]s, and even [[ancient lich]]es).
+
* +40 for each source of Will+
 +
** [[Ego|Armour of willpower]] (Will+)
 +
** [[Ring of willpower]] (Will+)
 +
** [[Good mutations#Magic Resistance|Strong-willed mutation]] (a level of Will+ per rank)
 +
** [[Lichform]] (Will+)
 +
** [[Artefact]]s (up to Will+++)
 +
* +80 when using [[Trog]]'s Hand
 +
* -80 with an [[guile|orb of guile]]
  
Player resistance is determined as below:
+
Willpower is capped at 200 at this stage. Then, willpower is modified by the following factors (in order):
  
Experience level * racial multiplier plus the following:
+
*The total is then divided by two if you are under the '''Will/2''' status (from a [[scroll of vulnerability]], the [[:Category:Vuln flavour|attack]] of a [[phantasmal warrior]] or [[imperial myrmidon]], the [[Strip Willpower]] spell, or while in [[Tartarus]]).
*randart MR
+
*The [[robe of Folly]] sets your willpower to 0.
*30 for each armor of magic resistance
+
*[[Shadow Form]] gives infinite willpower.
*40 for each ring of magic resistance
 
*level of MR mutation * 30
 
*50 if in lichform
 
*70 when using Trog's hand
 
*Everything is divided by two, if the player is under the effect of a [[scroll of vulnerability]]
 
  
Racial multipliers are as follows:
+
==History==
 +
*Prior to [[0.30]], willpower was not capped at 200 (Will+++++).
 +
*Prior to [[0.26]], willpower was called '''magic resistance''' ('''MR''').
 +
*Prior to [[0.13]], [[Blink Other]] was subject to magic resistance.
  
*7: spriggan
+
==References==
*6: purple draconian, deep dwarf, felid
+
<references/>
*5: naga, mummy
 
*4: elves, mountain dwarf, demigod, vampire, demonspawn, ogre
 
*3: humans and every other race
 
 
 
==History==
 
In [[0.13]], [[Phantasmal warrior]]s will apply the effect of a scroll of vulnerability with their melee attacks. Also, [[Blink Other]] will ignore MR.
 
  
 
[[Category:Game_mechanics]]
 
[[Category:Game_mechanics]]
[[Category:Crystal Ball Articles]]
 

Latest revision as of 16:45, 25 June 2024

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

Willpower (Will) is the ability to resist hostile enchantments such as slow, confusion, banishment to the Abyss, and paralysis.

The higher a being's Will, the less likely that it will be affected by an enchantment cast on it. Beings that are magical in some way (such as elves or sirens), magic-users, and those that are not natural tend to have higher Will than other creatures.

Monster willpower is partly based on hit dice, so monsters with high hit dice tend to be strong-willed. Most monsters with one hit die have a 50% chance to fail to resist enchantments outright, in addition to the normal saving throw. Finally, some monsters have unshakeable will and are outright immune to magical enchantments, such as most nonliving creatures.

Resistible Enchantments

Some of these effects can come from potions, weapon brands, clouds, or spells that are not considered enchantments.

Notes

  • Many of these enchantments can be resisted via other means. For example, undead, nonliving, and plant monsters cannot be put to sleep.
  • Polymorph will not be resisted by (very) ugly things, which will always change color. shapeshifters can only resist it if they are currently in the form of something with unshakeable will.
  • Effects produced by the chaos brand don't check Will.

Resisting enchantments

Resisting an enchantment is dependent on the resisting creature's Will and the enchantment power (which is a function of the spell power) of the enchantment it is resisting. The formula is:[1]

If (1d100 + 1d101) is less than (102 + Will - enchantment_power), the enchantment is resisted.

This is sometimes referred to as a "saving throw", after the die-based resistance system employed in Dungeons & Dragons.

Magic resistance saving throw.png

If (willpower) ≥ (enchantment power + 99), then the enchantment is always resisted. If (enchantment power) ≥ (willpower + 100), then the enchantment always succeeds.

Enchantment power

When a player casts a spell or evokes a wand, the game uses enchantment power, which is based off spell power and the type of spell cast.

First, spellpower is modified by spellpower * factor, which is specific to a given spell. For example, Cause Fear and other "mass enchantments" have a factor of 3/2. The usual spell has a multiplier of 1. If your adjusted power > 35, it is then passed through a stepdown function, 35 * log2(1 + adj_pow/35).[2]

The stepdown function means that, for every 35 enchantment power, the next 35 power requires twice as much spellpower to obtain. Since spellpower (for spells) goes through a stepdown of its own, it becomes very hard to raise power at high levels. To compensate, many high-level spells, such as Agony and Enfeeble, have large multipliers.

For monsters, enchantment power is either 1. a flat number, or 2. a number based on monster hit dice.

After enchantment power is calculated, it is compared to the target's willpower (see above for more details).

Resistance Descriptions

Neither the player's nor monster's Will are ever given explicitly. A rough suggestion of how resistant they are can be seen by pressing the % key for the player, and examining a monster's description.

Pluses on these screens correspond to the Will level of the player or monster, as follows:

Pluses shown Player Will Monster Will
..... 0-39 0
+.... 40-79 1-40
++... 80-119 41-80
+++.. 120-159 81-120
++++. 160-199 121-160
+++++ 200 161 or more

Monsters always have a set amount of willpower, which is listed on the wiki's respective monster page. Players' willpower can be calculated with the formulas below.

As a practical matter, a player who has Will++++ should generally be able to resist the most dangerous enchanters in the game (such as deep elf demonologists, liches, and ancient liches). More Will reduces the likelihood of these spells landing even further, but the gains become significantly less important beyond this point.

Player Resistance

A player's innate willpower is determined by the following equation:

Experience level × racial multiplier

Racial multipliers are as follows:

Will per XL Species
7 Spriggan
6 Felid, Purple draconian
5 Meteoran, Mummy, Naga, Vine stalker
4 Deep elf, Demigod, Formicid, Ogre, Vampire
3 All other species

The following sources can add (or subtract) to your willpower:

Willpower is capped at 200 at this stage. Then, willpower is modified by the following factors (in order):

History

  • Prior to 0.30, willpower was not capped at 200 (Will+++++).
  • Prior to 0.26, willpower was called magic resistance (MR).
  • Prior to 0.13, Blink Other was subject to magic resistance.

References

  1. actor.cc:121 (0.30.0)
  2. beam.cc:6806 (0.30.0)
    Stepdown function can be found at stepdown.cc:14 (0.30.0)