Difference between revisions of "AC calculations"

From CrawlWiki
Jump to: navigation, search
(not necessary)
m (Other Sources of AC: Rolling charge doesn't affect AC)
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Version013}}
+
{{Version028}}
  
This page explains how the game calculates and uses [[AC]].
+
This page explains how the game calculates [[AC]].
 
==Calculating AC from Armour==
 
==Calculating AC from Armour==
  
 
The formula for calculating the actual AC granted by wearing a piece of armour is as follows:
 
The formula for calculating the actual AC granted by wearing a piece of armour is as follows:
  
   (base AC) * (22 + Armour skill + Racial armour bonus/2) / 22
+
   (base AC) * (Armour skill / 22 + 1)<ref>{{source ref|0.28.0|player.cc|5691}}</ref>
  
This means that every level in the [[Armour skill]] increases a piece of armour's AC by approximately 4.5% of its base AC. As for racial armour bonuses, they effectively act as bonus levels in the Armour skill. They are as follows:
 
  
*Dwarven armour grants all species a +4 bonus (roughly +9% to base AC). [[Deep dwarves]] receive an additional +4 for a total of +8 (roughly +18% to base AC).
+
This means that every level in the [[Armour skill]] increases a piece of armour's AC by approximately 4.5% of its base AC.
*Elven armour grants [[high elves]] and [[deep elves]] a +2 bonus (roughly +4.5% base AC).
+
For players who are [[deformed]] or have [[Jiyva mutations#Pseudopods|Pseudopods]], the base 1/2 of the base AC of the body armour is subtracted from the skill adjusted AC.  
*Orcish armour grants [[Hill Orc]]s a +4 bonus (+9% base AC). If you're a follower of [[Beogh]], you receive an additional bonus, increasing with Piety. This additional bonus maxes out at +9 when you reach 180 Piety, for a total of +13 (roughly +29% to base AC).
 
  
A hill orc follower of Beogh with max Piety and 27 Armour skill has the AC of all orcish armour pieces increased to roughly 252% of their base value.
+
Note that fractional AC from multiple pieces of armour do add! Fractions are not truncated until the contribution from all armour pieces are summed. For example, both a [[helmet]] and a pair of [[gloves]] have 1 base AC, so at an Armour skill of 12 they each provide 1.55 AC, which is rounded down to 1 AC when worn individually. When worn together, their contributions sum to 3.1 AC, which is rounded down to 3 AC.
 
 
Note that fractional AC from multiple pieces of armour does add! Fractions are not truncated until the contribution from all armour pieces are summed. For example, both a [[helmet]] and a pair of [[gloves]] have 1 base AC, so at an Armour skill of 12 they each provide 1.55 AC, which is rounded down to 1 AC when worn individually. When worn together, their contributions sum to 3.1 AC, which is rounded down to 3 AC.
 
  
 
==Other Sources of AC==
 
==Other Sources of AC==
  
All other sources of AC are applied directly to a character's total AC and are not modified by Armour skill whatsoever. These include:
+
All other sources of AC are applied directly to a character's total AC and are not modified by Armour skill whatsoever. These include:<ref>{{source ref|0.28.0|player.cc|5914}}</ref>
  
 
*Bonus AC from [[scroll of enchant armour|enchanted]] armour, [[ring of protection|rings of protection]], or artefacts
 
*Bonus AC from [[scroll of enchant armour|enchanted]] armour, [[ring of protection|rings of protection]], or artefacts
*Magical AC boosts such as [[Ozocubu's Armour]] or [[Stoneskin]]
+
*AC boosts from spells like [[Ozocubu's Armour]] or from abilities like the [[Palentonga]]s' [[Reflexive Curl]]
*AC from transmutations such as [[Necromutation]], [[Statue Form]] and [[Dragon Form]]
+
*AC from transformations such as [[Necromutation]], [[Statue Form]] and [[Dragon Form]]
 
*AC from mutations (e.g. scales) and intrinsics (e.g. a [[naga]]'s increasingly tougher skin)
 
*AC from mutations (e.g. scales) and intrinsics (e.g. a [[naga]]'s increasingly tougher skin)
 +
 +
==References==
 +
<references/>
  
 
[[Category:Game mechanics]]
 
[[Category:Game mechanics]]
 
[[Category:Defence]]
 
[[Category:Defence]]

Revision as of 12:15, 17 April 2022

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

This page explains how the game calculates AC.

Calculating AC from Armour

The formula for calculating the actual AC granted by wearing a piece of armour is as follows:

 (base AC) * (Armour skill / 22 + 1)[1]


This means that every level in the Armour skill increases a piece of armour's AC by approximately 4.5% of its base AC. For players who are deformed or have Pseudopods, the base 1/2 of the base AC of the body armour is subtracted from the skill adjusted AC.

Note that fractional AC from multiple pieces of armour do add! Fractions are not truncated until the contribution from all armour pieces are summed. For example, both a helmet and a pair of gloves have 1 base AC, so at an Armour skill of 12 they each provide 1.55 AC, which is rounded down to 1 AC when worn individually. When worn together, their contributions sum to 3.1 AC, which is rounded down to 3 AC.

Other Sources of AC

All other sources of AC are applied directly to a character's total AC and are not modified by Armour skill whatsoever. These include:[2]

References

  1. player.cc:5691 (0.28.0)
  2. player.cc:5914 (0.28.0)