Difference between revisions of "Encumbrance rating"

From CrawlWiki
Jump to: navigation, search
m (On Spellcasting)
 
(94 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{version013}}
+
{{version031}}
 +
''For shield encumbrance, see [[Shields]]. Not to be confused with [[encumbered|encumbrance]] from inventory [[aum|weight]], an obsolete mechanic.''
  
An '''encumbrance rating''' is a penalty applied by almost all body armour and [[barding]]s. This is a measure of how much your defensive equipment gets in the way of your attacks, spellcasting, and attempts to [[ev]]ade enemy attacks. Multiple sources of encumbrance rating stack with each other. [[Shields]] also have a penalty but it is not called '''Encumbrance rating''', as its value is not even displayed in the game.
+
An '''encumbrance rating''' is a penalty applied to [[body armour]]. The heavier your armour, the higher the encumbrance rating. The higher the encumbrance, the higher the penalty is to [[ev]]asion, [[spell failure|spellcasting]], [[stealth]], and [[ranged weapon]]s. Encumbrance can be mitigated, but not removed, by [[strength]] and [[Armour skill]].  
  
In general, the heavier your equipment, the greater the encumbrance rating will be. You can reduce the impact of your encumbrance rating by increasing your [[strength]] or [[Armour (skill)|Armour]]; generally speaking, having strength equal to the item's encumbrance rating will significantly reduce the penalty it applies, though further strength will still provide you with diminishing returns.
+
This page exclusively covers body armour. Certain other armours may "encumber" you, but use different mechanics.
 +
*[[Barding]]s have a -2 [[EV]] penalty. This does not penalize casting, stealth, etc., and cannot be reduced by strength / armour skill.
 +
*[[Shields]] also have an encumbrance rating, but it's handled entirely differently. See [[Shields#Shield Penalties|Shields]] for more details.
  
 
See the [[Armour#Tables of Armours|Table of Armours]] for numerical details on all items with encumbrance ratings.
 
See the [[Armour#Tables of Armours|Table of Armours]] for numerical details on all items with encumbrance ratings.
  
==Penalties==
+
==Base Penalty==
===Adjusted body armour penalty===
+
Body armour has a "base" penalty of:<ref>{{source ref|0.31.0|player.cc|5892}}</ref>
{{crawlquote|2 × (body armour encumbrance rating)<sup>2</sup> × (45 - Armour skill) / (5 × (STR + 3) × 45)}}
 
This penalty is not applied directly, but it is the base for calculating all the other ones.
 
  
===Unarmed Combat speed penalty===
+
[[File:Base AEVP.png|716px]]
{{crawlquote|1d10 + 2d(Adjusted body armour penalty) - 10}}
 
If this amount is greater than zero, it is added to your [[unarmed combat]] attack delay (in [[aut]]s).
 
  
===Armour to hit penalty===
+
Where:
{{crawlquote|1d(Adjusted body armour penalty)}}
+
*"S" = scale. Scale essentially equals to 1 (100/100), meaning it has no impact the final result. It is used to increase the precision of encumbrance calculations.
This amount reduces the accuracy of your melee attacks and decreases the chance of performing an unarmed [[auxiliary attack]] without the corresponding mutation.
+
*"armour" = [[Armour skill]] and "str" = [[strength]].
  
===Adjusted evasion penalty===
+
This equation can be simplified into the following form:
{{crawlquote|Barding ER/3 + Adjusted body armour penalty}}
 
This amount is subtracted from your [[evasion]] before applying a stepdown function.
 
  
===Dodging penalty===
+
[[File:Simplified_AEVP_base.png|600px]]
The games takes your body armour encumbrance rating and adds to it (or subtracts from it) a percentage which depends on your size:
+
 
{|class="prettytable"
+
While this equation is not used directly, it is used to determine most of the other penalties.
! Size !! Size factor
+
 
 +
==Evasion==
 +
Encumbrance rating has ''two'' effects on [[EV]]:
 +
# Encumbrance will directly lower your evasion. This is reduced by armour skill and strength.
 +
# Encumbrance will lower the effect of [[Dodging]] skill on evasion. This penalty is only reduced by strength.
 +
 
 +
===EV Penalty===
 +
Encumbrance will lower your EV by:<ref>{{source ref|0.31.0|player.cc|5887}}</ref>
 +
 
 +
[[File:Simplified_AEVP_EV.png|771px]]
 +
 
 +
This number is subtracted directly from your EV score.
 +
 
 +
===Dodging Penalty===
 +
Encumbrance will also reduce the EV gained by Dodging skill and dexterity.
 +
 
 +
For '''Dodging Bonus''' = <code>(8 + 0.8 × Dodging × Dex) / (20 - size_factor)</code>. See [[Evasion]] for more detail.
 +
 
 +
This Dodging Bonus is then multiplied by a modifier:<ref>{{source ref|0.31.0|player.cc|2122}}</ref>
 +
 
 +
[[File:Dodging pen1.png|350px]]
 +
 
 +
For e = encumbrance. If (e-3) is 0 or lower, then there's no penalty to Dodging.
 +
 
 +
==Spellcasting Penalty==
 +
Encumbrance increases "spellFailure", which is not to be confused with your chance of actually failing a spell:<ref>{{source ref|0.31.0|player.cc|2166}}</ref><ref>{{source ref|0.31.0|spl-cast.cc|410}}</ref>
 +
 
 +
[[File:Simplified AEVP spell.png|660px]]
 +
 
 +
As a reference:
 +
 
 +
*1 [[intelligence]] = -2 spellFailure
 +
*1 [[Spellcasting]] skill = -3 spellFailure
 +
*1 (Spell School) skill = -12 spellFailure, divided by the number of schools of a spell
 +
 
 +
"SpellFailure" is then transformed multiple times to determine your actual chance of failure. See [[spell success]] for details.
 +
 
 +
==Stealth Penalty==
 +
Encumbrance reduces your [[stealth]] score:<ref>{{source ref|0.31.0|player.cc|3112}}</ref>
 +
 
 +
[[File:StealthPenalty.gif]]
 +
 
 +
Independent of armour skill or strength. This does not reduce the [[Stealth (skill)|Stealth skill]], so encumbrance doesn't impact the strength of [[stab]]s, nor does it impact the use of [[atropa]] and [[datura]] darts.
 +
 
 +
==Ranged Weapon Penalty==
 +
Encumbrance slows down [[Ranged Weapons]] (but not [[Throwing]] weapons). It increases the [[attack delay]] of these weapons, in units of [[decaAut]]:<ref>{{source ref|0.31.0|player-act.cc|360}}</ref>
 +
 
 +
[[File:AdjustedRangedPenalty.png|610px]]
 +
 
 +
This penalty is rounded to the tenths place in a weighted fashion, then added to your [[attack delay]]. Note that, because these are in units of decaAut, the equation is divided by 10. If you want regular [[aut]], multiply by 10.
 +
 
 +
==Analysis==
 +
In general:
 +
 
 +
*Armour skill has a linear impact on encumbrance. Every point in Armour reduces encumbrance by -2.2%.
 +
*Strength has a logarithmic impact - i.e. a diminishing return - on encumbrance. For everything except the Dodging penalty, going from 7 -> 17 strength will give the same % reduction as 2 -> 7 strength, which has the same reduction as 17 -> 37 strength.
 +
 
 +
===On Evasion===
 +
As mentioned above, strength has a diminishing return on encumbrance as a whole. But there exists a clear breakpoint, <code>e - 3 = str</code>, where the [[#Dodging Penalty|dodging penalty]] shifts from 1 equation to another. Beyond this point, strength starts to drop more rapidly. This breakpoint ''only'' applies to Dodging, not to casting or the general EV penalty.
 +
 
 +
This is the basis behind a rule of thumb, where strength should at least be the same number as encumbrance. However, this is not a hard rule. More strength is still likely to have a noticeable impact. And, if you don't have any Dodging skill, then str = (e-3) has next-to-no significance to your character.
 +
 
 +
The % of [[#Dodging Penalty|Dodging Bonus]] is tabulated below, as an example:
 +
{| class="wikitable"
 +
!colspan=3| [[Fire dragon scales]] (e=11) !! !! colspan=3 | [[Plate armour]] (e=18)
 +
|-
 +
! Strength !! % of Dodging !! Delta
 +
!
 +
! Strength !! % of Dodging !! Delta
 +
|-
 +
|5 || 31.25% ||
 +
!
 +
|12 || 40.0% ||
 
|-
 
|-
| Large: [[Troll]], [[Ogre]], [[Centaur]], [[Naga]] || -25%
+
|6 || 37.5% || +6.25%
 +
!
 +
|13 || 43.3% || +3.3%
 
|-
 
|-
| Small: [[Kobold]], [[Halfling]] || +25%
+
|7 || 43.75% || +6.25%
 +
!
 +
|14 || 46.6% || +3.3%
 
|-
 
|-
| Little: [[Spriggan]] || +50%
+
|'''8''' || 50% || +6.25%
 +
!
 +
|'''15''' || 50% || +3.3%
 
|-
 
|-
| Medium || +0%
+
|9 || 55.5% || +5.5%
 +
!
 +
|16 || 53.1% || +3.1%
 +
|-
 +
|10 || 60% || +4.5%
 +
!
 +
|17 || 55.9% || +2.8%
 +
|-
 +
|11 || 63.6% || +3.6%
 +
!
 +
|18 || 58.3% || +2.4%
 
|}
 
|}
If the resulting value is greater than 3, the difference is multiplied by 10, divided by your [[strength]] and subtracted from your dodge bonus, if you had any. This penalty makes it harder to get some evasion from your [[dodging]] skill, and does nothing if you have not trained that skill.
+
Note, again, that this is '''only the impact on Dodging bonus'''. Remember that there is ''another'' EV penalty on top of this. Overall, every point of strength will give less EV than the previous point of strength. (Of course, you should still have high strength if you plan to wear heavy armour).
  
===Stealth penalty===
+
===On Spellcasting===
{{crawlquote|2 × (body armour encumbrance rating)<sup>2</sup> / 3}}
+
====Armour skill vs Spell skill====
This amount is subtracted from your [[stealth]] score.
+
*Encumbrance increases SpellFailure by <code>19/225 * encumbrance^2 * (90 - 2armour) / (str+3)</code>. This can be rearranged to <code>-armour * 38/225 * encumbrance^2 / (str+3)</code>.
 +
*Having 1 of every spell school (except Spellcasting) reduces SpellFailure by 12.
 +
*Therefore, each level in Armour is worth <code>19/1350 * encumbrance^2 / (str+3)</code>, or roughly <code>1/71 * encumbrance^2 / (str+3)</code>, levels in each spell school.  
  
===Spellcasting penalty===
+
For example, if you have 11 strength and [[fire dragon scales]], 1 Armour skill = <code>1/71 * 11^2 / 14</code> = 0.122 levels in each spell school. This is a ratio of 8.21 Armour skill : 1 in each spell school. If you have a dual-school spell, like [[Iron Shot]], 4.1 Armour skill = 1 Earth Magic OR 1 Conjurations, while 8.21 Armour = 1 Earth AND Conjurations.
{{crawlquote|(25×Adjusted body armour penalty - Racial bonus + 25×Shield penalty - 20)/100}}
+
 
If this amount is positive it is added to your failure chance. See [[spell success]] for more information.
+
Of course, this analysis does '''NOT''' include the fact that Armour increases your [[AC]] and [[EV]]. You may want to train Armour for those reasons, or train spell schools to increase power.
 +
 
 +
====Strength vs Intelligence====
 +
*For a given change in strength 'x', strength reduces SpellFailure by <code>(1/<str+3> - 1/<str+x+3>) * 19/225 * encumbrance^2 * (90 - 2armour)</code>.
 +
*Intelligence reduces SpellFailure by 2 per point.
 +
 
 +
For example, you have 11 strength, fire dragon scales, and 0 Armour skill. On level up, you have a choice of 2 str or 2 int. The impact of +2 str is equal to <code>(1/14 - 1/16) * 19/225 * 11^2 * 90</code> = 8.21 SpellFailure, greater than 2*2 = 4 SpellFailure from intelligence.  
 +
 
 +
Of course, intelligence also increases [[spell power]], while strength also reduces [[shield]] encumbrance.
 +
 
 +
==Spreadsheet==
 +
See this spreadsheet (and/or make a copy) for an armour penalty calculator: [https://docs.google.com/spreadsheets/d/1SgY-b12lecR1EHb7uopTqFP0E3FDr5_MsTHrwA0Z5MY/edit#gid=1843292358 Calculator] (outdated as of 0.27)
  
 
==History==
 
==History==
Encumbrance ratings were introduced in [[0.13]], replacing the EV penalty system.
+
*Ranged weapon penalties were added in [[0.29]].
 +
*Armour to-hit penalties were removed in [[0.28]]. Specifically, they were:
 +
[[File:ToHitPenalty.gif]]
 +
*Armour no longer slows down unarmed melee attacks, and some of the mathematics have changed between 0.13 and 0.17.
 +
*Encumbrance ratings were introduced in [[0.13]], replacing the EV penalty system.
 +
 
 +
==References==
 +
<references/>
  
 
[[Category:Game mechanics]]
 
[[Category:Game mechanics]]

Latest revision as of 21:55, 2 June 2024

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

For shield encumbrance, see Shields. Not to be confused with encumbrance from inventory weight, an obsolete mechanic.

An encumbrance rating is a penalty applied to body armour. The heavier your armour, the higher the encumbrance rating. The higher the encumbrance, the higher the penalty is to evasion, spellcasting, stealth, and ranged weapons. Encumbrance can be mitigated, but not removed, by strength and Armour skill.

This page exclusively covers body armour. Certain other armours may "encumber" you, but use different mechanics.

  • Bardings have a -2 EV penalty. This does not penalize casting, stealth, etc., and cannot be reduced by strength / armour skill.
  • Shields also have an encumbrance rating, but it's handled entirely differently. See Shields for more details.

See the Table of Armours for numerical details on all items with encumbrance ratings.

Base Penalty

Body armour has a "base" penalty of:[1]

Base AEVP.png

Where:

  • "S" = scale. Scale essentially equals to 1 (100/100), meaning it has no impact the final result. It is used to increase the precision of encumbrance calculations.
  • "armour" = Armour skill and "str" = strength.

This equation can be simplified into the following form:

Simplified AEVP base.png

While this equation is not used directly, it is used to determine most of the other penalties.

Evasion

Encumbrance rating has two effects on EV:

  1. Encumbrance will directly lower your evasion. This is reduced by armour skill and strength.
  2. Encumbrance will lower the effect of Dodging skill on evasion. This penalty is only reduced by strength.

EV Penalty

Encumbrance will lower your EV by:[2]

Simplified AEVP EV.png

This number is subtracted directly from your EV score.

Dodging Penalty

Encumbrance will also reduce the EV gained by Dodging skill and dexterity.

For Dodging Bonus = (8 + 0.8 × Dodging × Dex) / (20 - size_factor). See Evasion for more detail.

This Dodging Bonus is then multiplied by a modifier:[3]

Dodging pen1.png

For e = encumbrance. If (e-3) is 0 or lower, then there's no penalty to Dodging.

Spellcasting Penalty

Encumbrance increases "spellFailure", which is not to be confused with your chance of actually failing a spell:[4][5]

Simplified AEVP spell.png

As a reference:

  • 1 intelligence = -2 spellFailure
  • 1 Spellcasting skill = -3 spellFailure
  • 1 (Spell School) skill = -12 spellFailure, divided by the number of schools of a spell

"SpellFailure" is then transformed multiple times to determine your actual chance of failure. See spell success for details.

Stealth Penalty

Encumbrance reduces your stealth score:[6]

StealthPenalty.gif

Independent of armour skill or strength. This does not reduce the Stealth skill, so encumbrance doesn't impact the strength of stabs, nor does it impact the use of atropa and datura darts.

Ranged Weapon Penalty

Encumbrance slows down Ranged Weapons (but not Throwing weapons). It increases the attack delay of these weapons, in units of decaAut:[7]

AdjustedRangedPenalty.png

This penalty is rounded to the tenths place in a weighted fashion, then added to your attack delay. Note that, because these are in units of decaAut, the equation is divided by 10. If you want regular aut, multiply by 10.

Analysis

In general:

  • Armour skill has a linear impact on encumbrance. Every point in Armour reduces encumbrance by -2.2%.
  • Strength has a logarithmic impact - i.e. a diminishing return - on encumbrance. For everything except the Dodging penalty, going from 7 -> 17 strength will give the same % reduction as 2 -> 7 strength, which has the same reduction as 17 -> 37 strength.

On Evasion

As mentioned above, strength has a diminishing return on encumbrance as a whole. But there exists a clear breakpoint, e - 3 = str, where the dodging penalty shifts from 1 equation to another. Beyond this point, strength starts to drop more rapidly. This breakpoint only applies to Dodging, not to casting or the general EV penalty.

This is the basis behind a rule of thumb, where strength should at least be the same number as encumbrance. However, this is not a hard rule. More strength is still likely to have a noticeable impact. And, if you don't have any Dodging skill, then str = (e-3) has next-to-no significance to your character.

The % of Dodging Bonus is tabulated below, as an example:

Fire dragon scales (e=11) Plate armour (e=18)
Strength  % of Dodging Delta Strength  % of Dodging Delta
5 31.25% 12 40.0%
6 37.5% +6.25% 13 43.3% +3.3%
7 43.75% +6.25% 14 46.6% +3.3%
8 50% +6.25% 15 50% +3.3%
9 55.5% +5.5% 16 53.1% +3.1%
10 60% +4.5% 17 55.9% +2.8%
11 63.6% +3.6% 18 58.3% +2.4%

Note, again, that this is only the impact on Dodging bonus. Remember that there is another EV penalty on top of this. Overall, every point of strength will give less EV than the previous point of strength. (Of course, you should still have high strength if you plan to wear heavy armour).

On Spellcasting

Armour skill vs Spell skill

  • Encumbrance increases SpellFailure by 19/225 * encumbrance^2 * (90 - 2armour) / (str+3). This can be rearranged to -armour * 38/225 * encumbrance^2 / (str+3).
  • Having 1 of every spell school (except Spellcasting) reduces SpellFailure by 12.
  • Therefore, each level in Armour is worth 19/1350 * encumbrance^2 / (str+3), or roughly 1/71 * encumbrance^2 / (str+3), levels in each spell school.

For example, if you have 11 strength and fire dragon scales, 1 Armour skill = 1/71 * 11^2 / 14 = 0.122 levels in each spell school. This is a ratio of 8.21 Armour skill : 1 in each spell school. If you have a dual-school spell, like Iron Shot, 4.1 Armour skill = 1 Earth Magic OR 1 Conjurations, while 8.21 Armour = 1 Earth AND Conjurations.

Of course, this analysis does NOT include the fact that Armour increases your AC and EV. You may want to train Armour for those reasons, or train spell schools to increase power.

Strength vs Intelligence

  • For a given change in strength 'x', strength reduces SpellFailure by (1/<str+3> - 1/<str+x+3>) * 19/225 * encumbrance^2 * (90 - 2armour).
  • Intelligence reduces SpellFailure by 2 per point.

For example, you have 11 strength, fire dragon scales, and 0 Armour skill. On level up, you have a choice of 2 str or 2 int. The impact of +2 str is equal to (1/14 - 1/16) * 19/225 * 11^2 * 90 = 8.21 SpellFailure, greater than 2*2 = 4 SpellFailure from intelligence.

Of course, intelligence also increases spell power, while strength also reduces shield encumbrance.

Spreadsheet

See this spreadsheet (and/or make a copy) for an armour penalty calculator: Calculator (outdated as of 0.27)

History

  • Ranged weapon penalties were added in 0.29.
  • Armour to-hit penalties were removed in 0.28. Specifically, they were:

ToHitPenalty.gif

  • Armour no longer slows down unarmed melee attacks, and some of the mathematics have changed between 0.13 and 0.17.
  • Encumbrance ratings were introduced in 0.13, replacing the EV penalty system.

References