Difference between revisions of "AC calculations"

From CrawlWiki
Jump to: navigation, search
(Calculating AC from Armour)
(Updated to 0.28. Reworded. Added deformed information.)
Line 1: Line 1:
{{Version014}}
+
{{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) * (Armour skill / 22 + 1)
+
   (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.
 
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 [[Jiyva mutations#Pseudopods|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 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.
+
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==
 
==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 rolling charge
*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:47, 15 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)