Critical hit: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m minor editing
Zaco (talk | contribs)
Made some language clearer, made language used to refer to critical hits more uniform, added a bunch of information about missile critical hits.
 
Line 1: Line 1:


Critical hits are a combat mechanic that guarantee a successful hit with a small chance.  
Critical hits (or crits) are a combat mechanic that guarantee a successful hit with a small chance.  


== Base Mechanics ==
== Base Mechanics ==
To-hit rolls use a [[dice roll|roll]] on a 1d20 dice, if the result is equal to or greater than 20, the hit will be a crit.
To-hit rolls use a [[dice roll|roll]] on a 1d20 die. If the die rolls 20, before factoring in the attacker's [[Agility]] modifier and other changes to the roll, the attack will be a critical hit. This means that the chance to get a critical hit will always be 5%, unless a creature has skills or equipment that explicitly change it.


Crits dealt with melee weapons ignore the [[DV]] and, if the source of the damage is the player, the [[AV]] of the target for the first penetration. Subsequent penetrations do not ignore AV but still benefit from a +1 bonus to PV. Melee critical hits also cause a splatter of {{favilink|blood}}, however this does not actually cause any additional damage and is not the same as a [[bleeding]] effect.{{Code Reference|name=Combat|namespace=XRL.World.Parts|class=Combat|method=FireEvent|case="MeleeAttackWithWeapon"}}
Critical hits dealt with melee weapons hit regardless of [[Dodge (DV)|DV]] and gain a +1 bonus to [[Penetration (PV)|PV]]. In addition, if the attacker is the player (including the player in the body of another creature), the attack will have one extra penetration, even if there would otherwise have been none. Melee critical hits also cause a splatter of {{favilink|blood}}, {{favilink|sap}}, or {{favilink|oil}}, depending on the lifeblood of the target, though this does not cause any additional damage and is not the same as a [[bleeding]] effect.{{Code Reference|name=Combat|namespace=XRL.World.Parts|class=Combat|method=FireEvent|case="MeleeAttackWithWeapon"}}


Crits with ranged weapons increase the PV of the shot by 2.
Critical hits with missile weapons increase the PV of the shot by 2. They do not always hit, meaning that it's possible to always dodge missile attacks from specific creatures when DV is at least 20 higher than the creatures' to-hit modifier. In addition, a missile weapon's attack roll is only made once the projectile reaches the tile of the target, meaning that [[Missile_weapon_combat#Angular_Variance|angular variance]] will result in a practical chance of hitting the intended target of less than 5%, except in situations with very low angular variance and/or a short distance from the attacker to the target.


== Modifiers ==
== Modifiers ==
Line 14: Line 14:
** Short Blades will cause [[bleeding]], dealing 0-1 damage per turn to the target {{Code Reference|namespace=XRL.World.Parts.Skill|class=ShortBlades}}
** Short Blades will cause [[bleeding]], dealing 0-1 damage per turn to the target {{Code Reference|namespace=XRL.World.Parts.Skill|class=ShortBlades}}
** Axes will [[Cleaved|cleave]] armor, reducing the AV of the target {{Code Reference|namespace=XRL.World.Parts.Skill|class=Axe}}
** Axes will [[Cleaved|cleave]] armor, reducing the AV of the target {{Code Reference|namespace=XRL.World.Parts.Skill|class=Axe}}
** Cudgels [[Dazed|daze]] enemies, lowering their [[agility]], [[intelligence]], and [[move speed]], and setting them up for a potential [[Stunned|stun]] if they are critical hit a second time. {{Code Reference|namespace=XRL.World.Parts.Skill|class=Cudgel}}
** Cudgels [[Dazed|daze]] enemies, lowering their [[Agility]], [[intelligence]], and [[move speed]], and setting them up for a potential [[Stunned|stun]] if they are critical hit a second time. {{Code Reference|namespace=XRL.World.Parts.Skill|class=Cudgel}}
** Long Blades get a +2 bonus to penetration (even if this would exceed the weapon's penetration cap)
** Long Blades get a +2 bonus to penetration (even if this would exceed the weapon's penetration cap)
* The tinkering mod [[masterwork]] reduces the 1d20 roll needed to achieve a critical hit by 1. With no other modifiers, this enables scoring a critical hit on a roll of 19 or 20, for a total critical hit chance of 10%.{{Code Reference|class=ModMasterwork}}
* The tinkering mod [[masterwork]] reduces the 1d20 roll needed to achieve a critical hit by 1. With no other modifiers, this enables scoring a critical hit on a roll of 19 or 20, for a total critical hit chance of 10%.{{Code Reference|class=ModMasterwork}}
*[[Weak Spotter]] also reduces the 1d20 roll needed to achieve a critical hit by 1. With no other modifiers, this enables scoring a critical hit on a roll of 19 or 20, for a total critical hit chance of 10%.{{Code Reference|namespace=XRL.World.Parts.Skill|class=Pistol_WeakSpotter}} When combined with [[masterwork]], this results in a total critical hit chance of 15%.{{Code Reference|class=ModMasterwork}}{{Code Reference|namespace=XRL.World|class=GetCriticalThresholdEvent}}
* [[Weak Spotter]] also reduces the 1d20 roll needed to achieve a critical hit by 1. With no other modifiers, this enables scoring a critical hit on a roll of 19 or 20, for a total critical hit chance of 10%.{{Code Reference|namespace=XRL.World.Parts.Skill|class=Pistol_WeakSpotter}} When combined with [[masterwork]], this results in a total critical hit chance of 15%.{{Code Reference|class=ModMasterwork}}{{Code Reference|namespace=XRL.World|class=GetCriticalThresholdEvent}}
* {{favilink|precision nanon fingers}} reduce the 1d20 roll needed to achieve a critical hit by 2. With no other modifiers, this enables scoring a critical hit on a roll of 18, 19, or 20, for a total critical hit chance of 15%. Multiple pairs stack additively (for example, two pairs reduce the roll needed by 4, for a total critical hit chance of 25%). This bonus can also be combined additively with the bonus from [[masterwork]] or [[Weak Spotter]].
* {{favilink|precision nanon fingers}} reduce the 1d20 roll needed to achieve a critical hit by 2. With no other modifiers, this enables scoring a critical hit on a roll of 18, 19, or 20, for a total critical hit chance of 15%. Multiple pairs stack additively (for example, two pairs reduce the roll needed by 4, for a total critical hit chance of 25%). This bonus can also be combined additively with the bonus from [[masterwork]] or [[Weak Spotter]].
*[[Beacon Fire]] requires the target to be flaming, luminous or phosphorescent, but guarantees a critical hit with rifles or bows when used
* [[Beacon Fire]] requires the target to be flaming, luminous or phosphorescent, but guarantees a critical hit with rifles or bows when used
*[[Dead Shot]] doubles the PV bonus of crits made with pistols from +2 PV to +4 PV
* [[Dead Shot]] doubles the PV bonus of critical hits made with pistols from +2 PV to +4 PV
* [[Ruin of House Isner]] receives an additional +4 to its PV on crits, and automatically crits on the last shot of a full magazine
* [[Ruin of House Isner]] receives an additional +4 to its PV on critical hits, and automatically hits critically on the last shot of a full magazine


{{references|2.0.201.70}}
{{references|2.0.201.70}}


[[Category:Battle Mechanics]]
[[Category:Battle Mechanics]]

Latest revision as of 07:34, 18 June 2024

Critical hits (or crits) are a combat mechanic that guarantee a successful hit with a small chance.

Base Mechanics

To-hit rolls use a roll on a 1d20 die. If the die rolls 20, before factoring in the attacker's Agility modifier and other changes to the roll, the attack will be a critical hit. This means that the chance to get a critical hit will always be 5%, unless a creature has skills or equipment that explicitly change it.

Critical hits dealt with melee weapons hit regardless of DV and gain a +1 bonus to PV. In addition, if the attacker is the player (including the player in the body of another creature), the attack will have one extra penetration, even if there would otherwise have been none. Melee critical hits also cause a splatter of blood, sap, or oil, depending on the lifeblood of the target, though this does not cause any additional damage and is not the same as a bleeding effect.[1]

Critical hits with missile weapons increase the PV of the shot by 2. They do not always hit, meaning that it's possible to always dodge missile attacks from specific creatures when DV is at least 20 higher than the creatures' to-hit modifier. In addition, a missile weapon's attack roll is only made once the projectile reaches the tile of the target, meaning that angular variance will result in a practical chance of hitting the intended target of less than 5%, except in situations with very low angular variance and/or a short distance from the attacker to the target.

Modifiers

  • Melee weapon types each have a special effect when dealing critical hits. These effects apply even if the attacker does not have the related weapon skill: [1]
    • Short Blades will cause bleeding, dealing 0-1 damage per turn to the target [2]
    • Axes will cleave armor, reducing the AV of the target [3]
    • Cudgels daze enemies, lowering their Agility, intelligence, and move speed, and setting them up for a potential stun if they are critical hit a second time. [4]
    • Long Blades get a +2 bonus to penetration (even if this would exceed the weapon's penetration cap)
  • The tinkering mod masterwork reduces the 1d20 roll needed to achieve a critical hit by 1. With no other modifiers, this enables scoring a critical hit on a roll of 19 or 20, for a total critical hit chance of 10%.[5]
  • Weak Spotter also reduces the 1d20 roll needed to achieve a critical hit by 1. With no other modifiers, this enables scoring a critical hit on a roll of 19 or 20, for a total critical hit chance of 10%.[6] When combined with masterwork, this results in a total critical hit chance of 15%.[7][8]
  • precision nanon fingers reduce the 1d20 roll needed to achieve a critical hit by 2. With no other modifiers, this enables scoring a critical hit on a roll of 18, 19, or 20, for a total critical hit chance of 15%. Multiple pairs stack additively (for example, two pairs reduce the roll needed by 4, for a total critical hit chance of 25%). This bonus can also be combined additively with the bonus from masterwork or Weak Spotter.
  • Beacon Fire requires the target to be flaming, luminous or phosphorescent, but guarantees a critical hit with rifles or bows when used
  • Dead Shot doubles the PV bonus of critical hits made with pistols from +2 PV to +4 PV
  • Ruin of House Isner receives an additional +4 to its PV on critical hits, and automatically hits critically on the last shot of a full magazine

References

This information is reliable as of patch 2.0.201.70.
  1. 1.0 1.1 XRL.World.Parts.Combat, method FireEvent, in the "MeleeAttackWithWeapon" case
  2. XRL.World.Parts.Skill.ShortBlades
  3. XRL.World.Parts.Skill.Axe
  4. XRL.World.Parts.Skill.Cudgel
  5. XRL.World.Parts.ModMasterwork
  6. XRL.World.Parts.Skill.Pistol_WeakSpotter
  7. XRL.World.Parts.ModMasterwork
  8. XRL.World.GetCriticalThresholdEvent