Offhand: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 18: Line 18:
| not applicable
| not applicable
|-
|-
| Mutated Limbs
| Hardcoded organic limbs
| Limbs and weapons gained from the mutations: lower limbs from {{favilink|Multiple Arms}}, hands from {{favilink|Burrowing Claws}}, or {{favilink|Horns}}<sup>2</sup>. Despite the name, it does '''not''' count limbs grown from being a {{favilink|Chimera}}, which are offhands.
| : {{favilink|Horns}}, {{favilink|Fork-horned helm|plural}}, and lower limbs from {{favilink|Multiple Arms}}<sup>2</sup>.
|  
|  
'''Multiple Arms''': (7 + mut Level × 3)% {{Code Reference | namespace = XRL.World.Parts.Mutation | class = MultipleArms | method = GetAttackChance}}
'''Horns''' and ''fork-horned helms'': 20% {{Code Reference | class = HornsProperties | method = FireEvent}}
</br>'''Burrowing Claws''': 20%
</br>'''Multiple Arms''': (7 + mut Level × 3)% {{Code Reference | namespace = XRL.World.Parts.Mutation | class = MultipleArms | method = GetAttackChance}}
</br>'''Horns''': 20% {{Code Reference | class = HornsProperties | method = FireEvent}}
| no
| no
| yes
| yes
| yes
| yes
|-
|-
| Robotic Arms
| Hardcoded robotic limbs
| Arms granted by {{favilink|helping hands}}.
| Arms granted by {{favilink|helping hands}}.
| 8% {{Code Reference | class = HelpingHands | method = FireEvent | case = "AttackerQueryWeaponSecondaryAttackChance"}}
| 8% {{Code Reference | class = HelpingHands | method = FireEvent | case = "AttackerQueryWeaponSecondaryAttackChance"}}
Line 35: Line 34:
| yes
| yes
|-
|-
| Offhand
| Offhand limbs
| Every other limb that does not fall into the above categories. See the below section for more specifications.
| Every other limb that does not fall into the above categories. See the below section for more specifications.
| 15% {{Code Reference | class = Combat | method = FireEvent}}
| 15% {{Code Reference | class = Combat | method = FireEvent}}
Line 44: Line 43:
<small>
<small>
# This assumes that the limb is wielding a short blade
# This assumes that the limb is wielding a short blade
# Beak would fall under this as well but its peck attack is non functional as of 2.0.201.67</small>
# {{favilink|Beak}} and {{favilink|Hooks for feet}} would normally work this way as well, but they currently make no offhand attacks at all due to a bug.
</small>


== Additional methods of gaining offhands ==
== Additional methods of gaining offhands ==
Line 50: Line 50:
* If the left or right hand no longer is a primary hand, it becomes an offhand.
* If the left or right hand no longer is a primary hand, it becomes an offhand.
* Extra hands (and [[List of Body Parts#hand|hand variants]]) grown from {{favilink|Chimera}}.
* Extra hands (and [[List of Body Parts#hand|hand variants]]) grown from {{favilink|Chimera}}.
* Armor or modifications that can attack can make unconventional body parts count as offhands: {{favilink|folded carbide wristblade}} and any [[magnetized]] melee weapon will make the arm slot or the floating nearby slot respectively an offhand.
* Mutated limbs from {{Favilink|Stinger}}
All of these EXCEPT left/right hands follow the same rules as normal offhands, which means they have a base 15% of attacking, can be affected by [[Dual Wield]] passives, [[Jab]], and [[Flurry]]. For left or right hands, they will swap the attack percentage of the now new primary limb. For example, if the primary limb was swapped from the right hand to {{favilink|Horns}}, the right hand will now have the horns' 20% chance of attacking.  
* Armor or modifications that make other body parts count as offhands: {{favilink|folded carbide wristblade}} and any [[magnetized]] melee weapon will make the arm slot or the floating nearby slot respectively an offhand.
 
If the player uses the tab key to swap primary limbs, the old primary limb hands will swap attack percentage with the now new primary limb. For example, if the primary limb was swapped from the right hand to {{favilink|Horns}}, the right hand will now have the horns' 20% chance of attacking. This attack percentage is affected by Jab, but not by the Dual Wielding skill tree.  


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

Revision as of 20:03, 31 May 2022

Offhand is a term used in game to refer to any limb with a melee weapon that is not the * primary limb. Certain limbs default to a default melee weapon if not equipped with anything, such as hands defaulting to fists. On game start, the primary limb defaults to either the left or right hand, with the other becoming an offhand. Which limb is the primary limb can be set by moving the cursor over the limb on the equipment screen and pressing [Tab].

Classifications of limbs

The table below is to aid in describing what is considered an offhand and what is not:

Limb type Description Base chance of attacking per turn Affected by Offhand Strikes, Ambidexterity, Two-weapon Fighting Jab eligible1 Flurry eligible
Primary limb Main limb used to attack. Can be selected on the equipment screen. 100% not applicable not applicable not applicable
Hardcoded organic limbs : Horns, fork-horned helms, and lower limbs from Multiple Arms2.

Horns and fork-horned helms: 20% [1]
Multiple Arms: (7 + mut Level × 3)% [2]

no yes yes
Hardcoded robotic limbs Arms granted by helping hands. 8% [3] no no [4] yes
Offhand limbs Every other limb that does not fall into the above categories. See the below section for more specifications. 15% [5] yes yes yes

  1. This assumes that the limb is wielding a short blade
  2. Beak and Hooks for Feet (D) would normally work this way as well, but they currently make no offhand attacks at all due to a bug.

Additional methods of gaining offhands

Despite being called "offhands", any limb that can hold a melee weapon is able to become one.

  • If the left or right hand no longer is a primary hand, it becomes an offhand.
  • Extra hands (and hand variants) grown from Chimera.
  • Mutated limbs from stinger
  • Armor or modifications that make other body parts count as offhands: folded carbide wristblade and any magnetized melee weapon will make the arm slot or the floating nearby slot respectively an offhand.

If the player uses the tab key to swap primary limbs, the old primary limb hands will swap attack percentage with the now new primary limb. For example, if the primary limb was swapped from the right hand to Horns, the right hand will now have the horns' 20% chance of attacking. This attack percentage is affected by Jab, but not by the Dual Wielding skill tree.

  1. XRL.World.Parts.HornsProperties, method FireEvent
  2. XRL.World.Parts.Mutation.MultipleArms, method GetAttackChance
  3. XRL.World.Parts.HelpingHands, method FireEvent, in the "AttackerQueryWeaponSecondaryAttackChance" case
  4. XRL.World.Parts.Skill.Jab
  5. XRL.World.Parts.Combat, method FireEvent