Difference between revisions of "Encumbrance rating"

From CrawlWiki
Jump to: navigation, search
(Adjusted body armour penalty)
(Of course one does not "need" to overcome a trivial accuracy penalty.)
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{version013}}
+
{{version|018}}
  
 
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 handled differently and is never actually named in game.
 
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 handled differently and is never actually named in game.
  
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.
+
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]] with the exception of the stealth penalty, which is defined from the encumbrance. For the purposes of evasion it is best to have a strength equal to at least the encumbrance value minus two, though further strength will still provide you with diminishing returns. Reducing your to hit penalty is the hardest, and even with a strength of 72 and armour skill of 27 (the maximum values) both crystal and gold dragon armour suffer a penalty of 2; improved weapon skill and Fighting could compensate for this.
  
 
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.
 +
 +
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]
 +
  
 
==Penalties==
 
==Penalties==
Line 11: Line 14:
 
[[Image:Baseencpenalty.gif]]
 
[[Image:Baseencpenalty.gif]]
  
Where ''b(S)'' is the base evasion penalty function over a scale, ''e'' is the encumbrance rating of the armour, ''S'' is an arbitrary scale the base is used at for the particular penalty, ''a'' is the [[Armour (skill)|armour skill]] of the subject, and ''s'' is the [[strength]] of the subject.
+
Where ''e'' is the encumbrance rating of the armour, ''S'' is an arbitrary scale the base is used at for the particular penalty, ''a'' is the [[Armour (skill)|armour skill]] of the subject, and ''s'' is the [[strength]] of the subject.
 +
 
 +
This penalty is not applied directly, rather it is used in evasion, to hit, and cast chance. For to hit the scale used is 20, while for evasion and cast the scale used is 100. This syntax is the same for the other formula.
  
This penalty is not applied directly, rather it is necessary for calculating the to hit, evasion, and spell casting penalties, which each have a specific scale they use for the ''S'' value.
 
  
 
===Armour to hit penalty===
 
===Armour to hit penalty===
Line 20: Line 24:
 
This amount reduces the accuracy of your melee attacks and decreases the chance of performing an unarmed [[auxiliary attack]] without the corresponding mutation.
 
This amount reduces the accuracy of your melee attacks and decreases the chance of performing an unarmed [[auxiliary attack]] without the corresponding mutation.
  
First the result of the division by 20 is randomly rounded up or down, then a value from 1 to the penalty is randomly selected as the final penalty applied for each attack. Typically this means that the highest possible penalty value is much less likely than any other roll.
+
After calculating this formula; first the result of the division by 20 is randomly rounded up or down, then a value from 1 to the penalty is randomly selected as the final penalty applied for each attack. Typically this means that the highest possible penalty value is much less likely than any other roll.
  
  
Line 32: Line 36:
 
[[File:AdjustedDodgePenalty.gif]]
 
[[File:AdjustedDodgePenalty.gif]]
  
This penalty makes it harder to get some evasion from your [[dodging]] skill, and does nothing if you have not trained that skill.
 
  
The dodge penalty is only applied if the encumbrance rating is over 3, at which point if your [[strength]] is lower than the encumbrance rating then this is subtracted from your dodge bonus, otherwise if your strength is larger or equal to the encumbrance rating then your dodge bonus is scaled by the penalty.
+
Where ''B'' is the base dodge bonus (formula shown), ''S'' is the relationship between strength and encumbrance, ''d'' is dodge skill, ''D'' is dexterity stepped down if it is above 24, and ''F'' is normalized size factor.
 +
 
 +
This penalty along with the evasion penalty impacts your ability to evade attacks. Due to the change of function when encumbrance nears strength, this penalty makes it a good idea to have a strength equal to or larger than two minus the encumbrance of the armour.
 +
 
 +
The size factor is normalized around medium size, and can be derived from the following table:
 +
{|class="prettytable"
 +
! Size !! Size factor
 +
|-
 +
| Little: [[Spriggan]] || 2
 +
|-
 +
| Small: [[Kobold]], [[Halfling]] || 1
 +
|-
 +
| Medium: Most Races || 0
 +
|-
 +
| Large: [[Troll]], [[Ogre]], [[Centaur]], [[Naga]] || -1
 +
|}
  
  
Line 44: Line 62:
  
 
===Spellcasting penalty===
 
===Spellcasting penalty===
{{crawlquote|25×Adjusted body armour penalty - Racial bonus + 25×Shield penalty - 20}}
+
[[File:CastPenalty.gif]]
If this amount is positive it is added to your failure chance. See [[spell success]] for more information.
+
 
 +
If this added to your shield penalty is positive then it is added to your failure chance. See [[spell success]] for more information.
 +
 
 +
 
 +
==Encumbrance Penalty Analysis==
 +
By calculating the second derivative of the dodge penalty plus the evasion penalty (formula shown above), we can measure the gains from additional strength for any given character. Using this information we can determine what value you would want to raise your strength to for the greatest benefit. The graph on the right shows a spike in gains from strength at two lower than the encumbrance rating of the armour, however a few points after that spike tend to be fairly beneficial as well. This relationship leads to the rule of thumb for strength that you should at least raise it to the same number as your encumbrance, however more strength is still likely to have a noticeable impact.
 +
[[File:Diff2StrengthVsEncumbrance.png|thumb|The gains in dodge from strength for common body armour.]]
 +
 
 +
[[File:AdjustedDodgePenaltySecondDerivative.gif]]
 +
 
  
 
==History==
 
==History==
 +
In [[0.18]], there is a new [[good mutation]] that reduces armour ER by some levels.
 +
 +
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.
 
Encumbrance ratings were introduced in [[0.13]], replacing the EV penalty system.
  
 
[[Category:Game mechanics]]
 
[[Category:Game mechanics]]

Revision as of 07:44, 28 April 2018

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

An encumbrance rating is a penalty applied by almost all body armour and bardings. This is a measure of how much your defensive equipment gets in the way of your attacks, spellcasting, and attempts to evade enemy attacks. Multiple sources of encumbrance rating stack with each other. Shields also have a penalty, but it is handled differently and is never actually named in game.

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 with the exception of the stealth penalty, which is defined from the encumbrance. For the purposes of evasion it is best to have a strength equal to at least the encumbrance value minus two, though further strength will still provide you with diminishing returns. Reducing your to hit penalty is the hardest, and even with a strength of 72 and armour skill of 27 (the maximum values) both crystal and gold dragon armour suffer a penalty of 2; improved weapon skill and Fighting could compensate for this.

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

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


Penalties

Adjusted body armour penalty

Baseencpenalty.gif

Where e is the encumbrance rating of the armour, S is an arbitrary scale the base is used at for the particular penalty, a is the armour skill of the subject, and s is the strength of the subject.

This penalty is not applied directly, rather it is used in evasion, to hit, and cast chance. For to hit the scale used is 20, while for evasion and cast the scale used is 100. This syntax is the same for the other formula.


Armour to hit penalty

ToHitPenalty.gif

This amount reduces the accuracy of your melee attacks and decreases the chance of performing an unarmed auxiliary attack without the corresponding mutation.

After calculating this formula; first the result of the division by 20 is randomly rounded up or down, then a value from 1 to the penalty is randomly selected as the final penalty applied for each attack. Typically this means that the highest possible penalty value is much less likely than any other roll.


Adjusted evasion penalty

AdjustedEvasionPenalty.gif

This amount is subtracted from your evasion along with other factors such as your size and dodge skill before being stepped down.


Dodging penalty

AdjustedDodgePenalty.gif


Where B is the base dodge bonus (formula shown), S is the relationship between strength and encumbrance, d is dodge skill, D is dexterity stepped down if it is above 24, and F is normalized size factor.

This penalty along with the evasion penalty impacts your ability to evade attacks. Due to the change of function when encumbrance nears strength, this penalty makes it a good idea to have a strength equal to or larger than two minus the encumbrance of the armour.

The size factor is normalized around medium size, and can be derived from the following table:

Size Size factor
Little: Spriggan 2
Small: Kobold, Halfling 1
Medium: Most Races 0
Large: Troll, Ogre, Centaur, Naga -1


Stealth penalty

StealthPenalty.gif

This penalty is subtracted from your stealth score.


Spellcasting penalty

CastPenalty.gif

If this added to your shield penalty is positive then it is added to your failure chance. See spell success for more information.


Encumbrance Penalty Analysis

By calculating the second derivative of the dodge penalty plus the evasion penalty (formula shown above), we can measure the gains from additional strength for any given character. Using this information we can determine what value you would want to raise your strength to for the greatest benefit. The graph on the right shows a spike in gains from strength at two lower than the encumbrance rating of the armour, however a few points after that spike tend to be fairly beneficial as well. This relationship leads to the rule of thumb for strength that you should at least raise it to the same number as your encumbrance, however more strength is still likely to have a noticeable impact.

The gains in dodge from strength for common body armour.

AdjustedDodgePenaltySecondDerivative.gif


History

In 0.18, there is a new good mutation that reduces armour ER by some levels.

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.