Thrown weapon combat

From Caves of Qud Wiki
Jump to navigation Jump to search
This information is reliable as of patch 2.0.201.49. If this is no longer the current patch, you can help by updating it.
As of Patch This information is reliable as of patch 2.0.201.49.

Any item in Caves of Qud can be equipped to a creature's thrown weapon equipment slot and thrown using the (T)hrow command.

Certain items are specifically designed for throwing. These thrown weapons will often have higher penetration and deal more damage or cause special effects when thrown. See the List of Thrown Weapons section below for a full list of thrown weapons.

Some items, like grenades and tonics, are designed as thrown weapons, but most of their damage is caused by scripted effects. The actual thrown combat hit itself will do little damage compared to the other effects that these items cause. Other items, such as the Throwing axe.pngthrowing axe or Large boulder.pnglarge boulder, are specifically designed to deal high damage when used in thrown weapon combat.

Overview

The following stats are relevant for thrown weapon combat:[1]

  • Strength: Strength bonus affects the maximum throwing range, as well as the throwing penetration.
  • Agility: Affects aim variance (angular accuracy) of thrown weapons.

Range

Maximum throwing range involves an element of randomness, making it variable for each individual throw.

The base throwing range is 4, plus the player or creature's Strength modifier, plus a random number between 1 and 6.[1]

This maximum throwing range can be further increased by any of the following:

Accuracy (Aim Variance)

Distance Variance

If both of the following are true, the throw will always go the intended distance:

  • The targeted location is less than or equal to the maximum throwing range as calculated above.
  • The thrower has the parabolic muscular subroutine installed, or the Deft Throwing skill.

Otherwise, the throw distance will be adjusted by 1d3-2-1-1 (Avg: 0) cells. This means that, there is a 1 in 3 chance for the thrown object to stop one tile short of the target. For this reason, for players without the parabolic muscular subroutine or Deft Throwing, it is preferable to aim one cell beyond the target to improve the chance of hitting it. NPCs will not be smart enough to overcome this limitation.

Angular Variance

Angular variance is calculated by:

  1. Taking a random number from -10° to 10°
  2. Adjusting that number toward zero based on the thrower's agility modifier.
    • If the number is positive, the thrower's agility modifier is subtracted from the result, to a minimum of 0
    • If the number is negative, the thrower's agility modifier is added to the result, to a maximum of 0

If the targeted location is less than or equal to the maximum throwing range as calculated above, and the thrower has the parabolic muscular subroutine installed, or the Deft Throwing skill, the angular variance will then be further reduced:

  • If the thrower has a parabolic muscular subroutine installed, angular variance is always set to 0° (ensuring that the throw will be 100% accurate)
  • If the thrower has the Deft Throwing skill, the angular variance is divided by 2.

Hit Mechanics

Unlike melee weapon attacks and ranged weapon attacks, thrown objects cannot be dodged. The analogue to dodging in thrown weapon combat is simply the variability with regard to range and accuracy. Since most creatures do not have a method of ensuring 100% throw accuracy (such as a parabolic muscular subroutine), there is a reasonable chance for most throw attempts to miss. Players with high throw accuracy can use the fact that throwing ignores DV to their advantage to hit enemies that otherwise have extremely high dodge values, such as Crypt ferret.pngcrypt ferrets.

If a thrown weapon ultimately lands in the same cell as a creature, it will have a high chance of hitting it. However, there is still a small chance of missing the target, dependent on the thrower's Agility.[1] The base probability for this is determined by the game rolling 1dA, where A is the thrower's full Agility stat value. If the game rolls the maximum value, it rolls again and continues adding to that value. If the final result is 3 or greater, the thrown weapon hits the target. This roughly translates to the following approximate agility-based hit chances[2], though these values can be modified by other factors in game:[3]

  • Thrower Agility 10: 80%
  • Thrower Agility 12: 84%
  • Thrower Agility 14: 86%
  • Thrower Agility 17: 88%
  • Thrower Agility 20: 90%
  • Thrower Agility 25: 92%
  • Thrower Agility 34: 94%

Penetration and Damage

This section describes how thrown weapon penetration (PV) and damage are determined. For details about how those values are actually used to calculate penetrations and total damage, refer to the Penetration page. Penetration rolls for thrown weapons are identical to penetration rolls for melee weapons.

Penetration

Main article: PV

Dedicated thrown weapons show a penetration value in their displayname (such as the Large boulder.pnglarge boulder's 16). This value is the weapon's maximum possible penetration, or throwing penetration cap. However, the actual throwing penetration of the weapon will depend upon the thrower's strength. From the perspective of how penetration is displayed in game, thrown weapon penetration will always equal 5 at minimum, and will be increased by the thrower's Strength modifier up to, but not exceeding, the weapon's throwing penetration cap.[1]

Any object that is not a dedicated thrown weapon will have the equivalent of a 6 throwing penetration cap. For example, if you throw Fish jerky.pngfish jerky at your target, it has a default throwing penetration of 5 and can be increased to 6 if you have a Strength modifier of +1 or greater.[1]

Important Note: Similar to melee weapons, for purposes of internal penetration calculations in the game engine, the penetration value displayed in the UI is reduced by 4 (so, in the case of the large boulder, it's internal penetration actually varies from 1 up to 12 if the thrower has a Strength modifier of +11). This internal penetration value is rolled against the target's AV, as the AV appears in game, for the purposes of calculating penetrations and then applying damage.

Damage

Dedicated thrown weapons show their thrown weapon damage as part of their display name. For example, the Medium boulder.pngmedium boulder deals ♥2d10+24-22 (Avg: 13) when it is thrown.

Any object that is not a dedicated thrown weapon will deal ♥1d21-2 (Avg: 1.5) damage when thrown.[1]

Thrown Weapon Interactions with Melee Skills and Combat

If a player or creature equips a thrown weapon in a weapon hand and uses it as a melee weapon, the item will act only as a 4/4 ♥1d2 cudgel weapon, and it will follow all the rules of melee weapon combat. It will not retain its original thrown weapon PV or damage.[4]

Thrown weapons do not benefit from any of the effects of melee weapon skills. For example, the Throwing axe.pngthrowing axe cannot cleave or dismember targets, and will gain no benefit from other axe skills. If a thrown weapon is wielded in melee, it will benefit only from cudgel skills, as described above (this includes the throwing axe).[5][1]

Automatic Reload

After throwing an object, the game will automatically reload the thrown weapon equipment slot with another item of the same type, if one is available. For the player, this only works if you have more of the same exact item in your inventory. For NPCs that threw a grenade, the game uses more generous logic to automatically reload the thrown weapon slot with any other available grenade.[1]

List of Thrown Weapons

Miscellaneous Thrown Items

Item Max PV Damage
Large boulder.pnglarge boulder 16 ♥3d10+36-33 (Avg: 19.5)
Throwing axe.pngthrowing axe 13 ♥2d122-24 (Avg: 13)
Medium boulder.pngmedium boulder 13 ♥2d10+24-22 (Avg: 13)
Small boulder.pngsmall boulder 13 ♥1d31-3 (Avg: 2)
Molting basilisk husk.pngmolting basilisk husk 10 ♥1d41-4 (Avg: 2.5)
Large stone.pnglarge stone 10 ♥1d21-2 (Avg: 1.5)
Geomagnetic disc.pnggeomagnetic disc 5 ♥2d62-12 (Avg: 7)
Small stone.pngsmall stone 5 ♥1d21-2 (Avg: 1.5)
Poisontipped spear.pngpoison-tipped spear 5 ♥1d21-2 (Avg: 1.5)
Sowers seed.pngsower's seed 5 ♥11
Cast net.pngcast net 5 ♥00
Wax nodule.pngwax nodule

Grenades

Item PV Damage
Acid gas grenade mk iii.pngacid gas grenade mk III 5 ♥1
Acid gas grenade mk ii.pngacid gas grenade mk II 5 ♥1
Acid gas grenade mk i.pngacid gas grenade mk I 5 ♥1
Defoliant grenade mk iii.pngdefoliant grenade mk III 5 ♥1
Defoliant grenade mk ii.pngdefoliant grenade mk II 5 ♥1
Defoliant grenade mk i.pngdefoliant grenade mk I 5 ♥1
Emp grenade mk iii.pngEMP grenade mk III 5 ♥1
Emp grenade mk ii.pngEMP grenade mk II 5 ♥1
Emp grenade mk i.pngEMP grenade mk I 5 ♥1
Flashbang grenade mk iii.pngflashbang grenade mk III 5 ♥1
Flashbang grenade mk ii.pngflashbang grenade mk II 5 ♥1
Flashbang grenade mk i.pngflashbang grenade mk I 5 ♥1
Freeze grenade mk iii.pngfreeze grenade mk III 5 ♥1
Freeze grenade mk ii.pngfreeze grenade mk II 5 ♥1
Freeze grenade mk i.pngfreeze grenade mk I 5 ♥1
Fungicide grenade mk iii.pngfungicide grenade mk III 5 ♥1
Fungicide grenade mk ii.pngfungicide grenade mk II 5 ♥1
Fungicide grenade mk i.pngfungicide grenade mk I 5 ♥1
Glitter grenade mk iii.pngglitter grenade mk III 5 ♥1
Glitter grenade mk ii.pngglitter grenade mk II 5 ♥1
Glitter grenade mk i.pngglitter grenade mk I 5 ♥1
Gravity grenade mk iii.pnggravity grenade mk III 5 ♥1
Gravity grenade mk ii.pnggravity grenade mk II 5 ♥1
Gravity grenade mk i.pnggravity grenade mk I 5 ♥1
Handenuke.pngHand-E-Nuke 5 ♥1
High explosive grenade mk iii.pnghigh explosive grenade mk III 5 ♥1
High explosive grenade mk ii.pnghigh explosive grenade mk II 5 ♥1
High explosive grenade mk i.pnghigh explosive grenade mk I 5 ♥1
Normality gas grenade mk iii.pngnormality gas grenade mk III 5 ♥1
Normality gas grenade mk ii.pngnormality gas grenade mk II 5 ♥1
Normality gas grenade mk i.pngnormality gas grenade mk I 5 ♥1
Phase shift grenade mk i.pngphase shift grenade mk I 5 ♥1
Plasma grenade mk iii.pngplasma grenade mk III 5 ♥1
Plasma grenade mk ii.pngplasma grenade mk II 5 ♥1
Plasma grenade mk i.pngplasma grenade mk I 5 ♥1
Poison gas grenade mk iii.pngpoison gas grenade mk III 5 ♥1
Poison gas grenade mk ii.pngpoison gas grenade mk II 5 ♥1
Poison gas grenade mk i.pngpoison gas grenade mk I 5 ♥1
Resonance grenade mk iii.pngresonance grenade mk III 5 ♥1
Resonance grenade mk ii.pngresonance grenade mk II 5 ♥1
Resonance grenade mk i.pngresonance grenade mk I 5 ♥1
Sleep gas grenade mk iii.pngsleep gas grenade mk III 5 ♥1
Sleep gas grenade mk ii.pngsleep gas grenade mk II 5 ♥1
Sleep gas grenade mk i.pngsleep gas grenade mk I 5 ♥1
Springturret grenade mk iii.pngspring-turret grenade mk III 5 ♥1
Springturret grenade mk ii.pngspring-turret grenade mk II 5 ♥1
Springturret grenade mk i.pngspring-turret grenade mk I 5 ♥1
Stasis grenade mk iii.pngstasis grenade mk III 5 ♥1
Stasis grenade mk ii.pngstasis grenade mk II 5 ♥1
Stasis grenade mk i.pngstasis grenade mk I 5 ♥1
Stun gas grenade mk iii.pngstun gas grenade mk III 5 ♥1
Stun gas grenade mk ii.pngstun gas grenade mk II 5 ♥1
Stun gas grenade mk i.pngstun gas grenade mk I 5 ♥1
Thermal grenade mk iii.pngthermal grenade mk III 5 ♥1
Thermal grenade mk ii.pngthermal grenade mk II 5 ♥1
Thermal grenade mk i.pngthermal grenade mk I 5 ♥1
Time dilation grenade mk iii.pngtime dilation grenade mk III 5 ♥1
Time dilation grenade mk ii.pngtime dilation grenade mk II 5 ♥1
Time dilation grenade mk i.pngtime dilation grenade mk I 5 ♥1

References

  1. 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 XRL.World.GameObject, method PerformThrow
  2. throw hit logic simulation
  3. This particular failure mechanic is not well understood. The "other factors" seem to reduce the chance of missing dependent on target and other details. More research is likely required.
  4. XRL.World.Parts.Combat
  5. XRL.World.Parts.ThrownWeapon