GET /v2/rules/srd-2024_d20-tests_attack-rolls/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://api-beta.open5e.com/v2/rules/srd-2024_d20-tests_attack-rolls/?format=api",
    "name": "Attack Rolls",
    "desc": "An attack roll determines whether an attack hits a target. An attack roll hits if the roll equals or exceeds the target’s Armor Class. Attack rolls usually occur in battle, described in “Combat” later in “Playing the Game,” but the GM might also ask for an attack roll in other situations, such as an archery competition.\n\n## Ability Modifier\n\nThe Attack Roll Abilities table shows which ability modifier to use for different types of attack rolls.\n\nTable: Attack Roll Abilities\n\n|Ability|Attack Type|\n|---|---|\n|Strength|Melee attack with a weapon or an Unarmed Strike (see “Rules Glossary”)|\n|Dexterity|Ranged attack with a weapon|\n|Varies|Spell attack (the ability used is determined by the spellcaster’s spellcasting feature, as explained in “Spells”)|\n\nSome features let you use different ability modifiers from those listed. For example, the Finesse property (see “Equipment”) lets you use Strength or Dexterity with a weapon that has that property.\n\n## Proficiency Bonus\n\nYou add your Proficiency Bonus to your attack roll when you attack using a weapon you have proficiency with, as well as when you attack with a spell. See “Proficiency” later in “Playing the Game” for more information about weapon proficiencies.\n\n## Armor Class\n\nA creature’s Armor Class represents how well the creature avoids being wounded in combat. The AC of a character is determined at character creation (see “Character Creation”), whereas the AC of a monster appears in its stat block.\n\n**Calculating AC.** All creatures start with the same base AC calculation:\n\nA creature’s AC can then be modified by armor, magic items, spells, and more.\n\n**Only One Base AC.** Some spells and class features give characters a different way to calculate their AC. A character with multiple features that give different ways to calculate AC must choose which one to use; only one base calculation can be in effect for a creature.\n\nRolling 20 or 1\n\nIf you roll a 20 on the d20 (called a “natural 20”) for an attack roll, the attack hits regardless of any modifiers or the target’s AC. This is called a Critical Hit (see “Combat” later in “Playing the Game”).\n\nIf you roll a 1 on the d20 (a “natural 1”) for an attack roll, the attack misses regardless of any modifiers or the target’s AC.",
    "index": 3,
    "initialHeaderLevel": 2,
    "document": "https://api-beta.open5e.com/v2/documents/srd-2024/?format=api",
    "ruleset": "https://api-beta.open5e.com/v2/rulesets/srd-2024_d20-tests/?format=api"
}