Thrown weapon combat: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(add some more detail)
mNo edit summary
Line 46: Line 46:


If a thrown weapon ultimately lands in the same cell as a creature, the game determines whether the weapon hits the creature by making an agility check using the thrower's agility:
If a thrown weapon ultimately lands in the same cell as a creature, the game determines whether the weapon hits the creature by making an agility check using the thrower's agility:
* The game rolls '''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<ref>[https://rextester.com/TEAR29442 throw hit logic simulation]</ref>:
* The game rolls '''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<ref>[https://rextester.com/LES55099 throw hit logic simulation]</ref>:
** Thrower Agility 10: 90%
** Thrower Agility 10: 80%
** Thrower Agility 12: 92%
** Thrower Agility 12: 84%
** Thrower Agility 14: 93%
** Thrower Agility 14: 86%
** Thrower Agility 17: 94%
** Thrower Agility 17: 88%
** Thrower Agility 20: 95%
** Thrower Agility 20: 90%
** Thrower Agility 25: 96%
** Thrower Agility 25: 92%
** Thrower Agility 34: 97%
** Thrower Agility 34: 94%


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 {{favilink|crypt ferret|plural}}.
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 {{favilink|crypt ferret|plural}}.

Revision as of 18:05, 14 November 2020

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 or large 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.
  • 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 33% 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.

If a thrown weapon ultimately lands in the same cell as a creature, the game determines whether the weapon hits the creature by making an agility check using the thrower's agility:

  • The game rolls 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]:
    • 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%

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 ferrets.

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.[3]

Thrown weapons do not benefit from any of the effects of melee weapon skills. For example, the throwing 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).[4][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 PV Damage
large boulder 16 ♥3d10+36-33 (Avg: 19.5)
throwing axe 13 ♥2d122-24 (Avg: 13)
medium boulder 13 ♥2d10+24-22 (Avg: 13)
small boulder 13 ♥1d31-3 (Avg: 2)
molting basilisk husk 10 ♥1d41-4 (Avg: 2.5)
large stone 10 ♥1d21-2 (Avg: 1.5)
geomagnetic disc 5 ♥2d62-12 (Avg: 7)
small stone 5 ♥1d21-2 (Avg: 1.5)
poison-tipped spear 5 ♥1d21-2 (Avg: 1.5)
small wax nodule 5 ♥1d21-2 (Avg: 1.5)
sower's seed 5 ♥11
cast net 5 ♥00

Grenades

Item PV Damage
Data:Acid gas grenade mk III(favilink error!) 5 ♥1
Data:Acid gas grenade mk II(favilink error!) 5 ♥1
Data:Acid gas grenade mk I(favilink error!) 5 ♥1
Data:Defoliant grenade mk III(favilink error!) 5 ♥1
Data:Defoliant grenade mk II(favilink error!) 5 ♥1
Data:Defoliant grenade mk I(favilink error!) 5 ♥1
Data:EMP grenade mk III(favilink error!) 5 ♥1
Data:EMP grenade mk II(favilink error!) 5 ♥1
Data:EMP grenade mk I(favilink error!) 5 ♥1
Data:Flashbang grenade mk III(favilink error!) 5 ♥1
Data:Flashbang grenade mk II(favilink error!) 5 ♥1
Data:Flashbang grenade mk I(favilink error!) 5 ♥1
Data:Freeze grenade mk III(favilink error!) 5 ♥1
Data:Freeze grenade mk II(favilink error!) 5 ♥1
Data:Freeze grenade mk I(favilink error!) 5 ♥1
Data:Fungicide grenade mk III(favilink error!) 5 ♥1
Data:Fungicide grenade mk II(favilink error!) 5 ♥1
Data:Fungicide grenade mk I(favilink error!) 5 ♥1
Data:Glitter grenade mk III(favilink error!) 5 ♥1
Data:Glitter grenade mk II(favilink error!) 5 ♥1
Data:Glitter grenade mk I(favilink error!) 5 ♥1
Data:Gravity grenade mk III(favilink error!) 5 ♥1
Data:Gravity grenade mk II(favilink error!) 5 ♥1
Data:Gravity grenade mk I(favilink error!) 5 ♥1
Data:High explosive grenade mk III(favilink error!) 5 ♥1
Data:High explosive grenade mk II(favilink error!) 5 ♥1
Data:High explosive grenade mk I(favilink error!) 5 ♥1
Data:Normality gas grenade mk III(favilink error!) 5 ♥1
Data:Normality gas grenade mk II(favilink error!) 5 ♥1
Data:Normality gas grenade mk I(favilink error!) 5 ♥1
Data:Plasma grenade mk III(favilink error!) 5 ♥1
Data:Plasma grenade mk II(favilink error!) 5 ♥1
Data:Plasma grenade mk I(favilink error!) 5 ♥1
Data:Poison gas grenade mk III(favilink error!) 5 ♥1
Data:Poison gas grenade mk II(favilink error!) 5 ♥1
Data:Poison gas grenade mk I(favilink error!) 5 ♥1
Data:Resonance grenade mk III(favilink error!) 5 ♥1
Data:Resonance grenade mk II(favilink error!) 5 ♥1
Data:Resonance grenade mk I(favilink error!) 5 ♥1
Data:Sleep gas grenade mk III(favilink error!) 5 ♥1
Data:Sleep gas grenade mk II(favilink error!) 5 ♥1
Data:Sleep gas grenade mk I(favilink error!) 5 ♥1
Data:Spring-turret grenade mk III(favilink error!) 5 ♥1
Data:Spring-turret grenade mk II(favilink error!) 5 ♥1
Data:Spring-turret grenade mk I(favilink error!) 5 ♥1
Data:Stasis grenade mk III(favilink error!) 5 ♥1
Data:Stasis grenade mk II(favilink error!) 5 ♥1
Data:Stasis grenade mk I(favilink error!) 5 ♥1
Data:Stun gas grenade mk III(favilink error!) 5 ♥1
Data:Stun gas grenade mk II(favilink error!) 5 ♥1
Data:Stun gas grenade mk I(favilink error!) 5 ♥1
Data:Thermal grenade mk III(favilink error!) 5 ♥1
Data:Thermal grenade mk II(favilink error!) 5 ♥1
Data:Thermal grenade mk I(favilink error!) 5 ♥1
Data:Time dilation grenade mk III(favilink error!) 5 ♥1
Data:Time dilation grenade mk II(favilink error!) 5 ♥1
Data:Time dilation grenade mk I(favilink error!) 5 ♥1
Hand-E-Nuke 5 ♥1
phase shift grenade mk I 5 ♥1

References

  1. 1.0 1.1 1.2 1.3 XRL.World.GameObject, method PerformThrow
  2. throw hit logic simulation
  3. XRL.World.Parts.Combat
  4. XRL.World.Parts.ThrownWeapon