Offhand: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(noting some bug behaviour here)
(offhand current)
Line 7: Line 7:
! Description
! Description
! Base chance of attacking per turn
! Base chance of attacking per turn
! Affected by [[Offhand Strikes]], [[Ambidexterity]], [[Two-weapon Fighting]]
! Affected by [[Multiweapon Proficiency]], [[Multiweapon Expertise]], [[Multiweapon Mastery]]
! [[Jab]] eligible<sup>1</sup>
! [[Jab]] eligible<sup>1</sup>
! [[Flurry]] eligible
! [[Flurry]] eligible
Line 17: Line 17:
| not applicable
| not applicable
| yes
| yes
|-
| Multiple Arms
| lower limbs gained from {{favilink|Multiple Arms}}
| '''Multiple Arms''': (7 + mut Level × 3)% {{Code Reference | namespace = XRL.World.Parts.Mutation | class = MultipleArms | method = HandleEvent(GetMeleeAttackChanceEvent)}}
|yes
|yes
|yes
|-
|-
| Hardcoded organic limbs
| Hardcoded organic limbs
| {{favilink|Horns}}, {{favilink|Beak}}, {{favilink|Hooks for feet}}, {{favilink|Fork-horned helm|plural}}, and lower limbs from {{favilink|Multiple Arms}}.
| {{favilink|Stinger|Stingers}}, {{favilink|Horns}} and {{favilink|Fork-horned helm|plural}}
|  
| 20% {{Code Reference | class = HornsProperties | method = HandleEvent(GetMeleeAttackChanceEvent)}} {{Code Reference | class = IStingerProperties | method = HandleEvent(GetMeleeAttackChanceEvent)}}
'''Horns''', '''Beaks''', '''Hooks for feet''' and '''fork-horned helms''': 20% {{Code Reference | class = HornsProperties | method = FireEvent}}
</br>'''Multiple Arms''': (7 + mut Level × 3)% {{Code Reference | namespace = XRL.World.Parts.Mutation | class = MultipleArms | method = GetAttackChance}}
| no
| no
| yes
| yes
Line 29: Line 34:
| Hardcoded cybernetic limbs
| Hardcoded cybernetic 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 = HandleEvent(GetMeleeAttackChanceEvent)}}
| yes<ref>This is due to a bug. https://bitbucket.org/bbucklew/cavesofqud-public-issue-tracker/issues/6829</ref>
| yes
| no {{Code Reference | namespace = XRL.World.Parts.Skill | class = Jab}}
| yes
| yes
| yes
|-
|-
| Offhand limbs
| 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 | namespace = XRL.Rules.Stats | class = GetSecondaryAttackChance}}
| yes
| yes
| yes
| yes
Line 49: Line 54:
* 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}}.
* Mutated limbs from {{Favilink|Stinger}}
* {{favilink|Beak}} and {{favilink|Hooks for feet}}
* 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.
* 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 {{qud text|&Y[&WTab&Y]}} 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.
If the player uses {{qud text|&Y[&WTab&Y]}} to swap primary limbs, the offhand highest in the equipment list will inherit the attack chance of the new primary limb. For example, if the primary limb was swapped from the right hand to {{favilink|Horns}} on a standard limbed character, the right hand will now have the horns' 20% chance of attacking. This attack percentage is affected by Jab, but not by the Multiweapon Fighting skill tree.


{{References|2.0.203.56}}
{{References|2.0.206.52}}
[[Category:Mechanics]]
[[Category:Mechanics]]

Revision as of 11:00, 9 January 2024

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 Multiweapon Proficiency, Multiweapon Expertise, Multiweapon Mastery Jab eligible1 Flurry eligible
Primary limb Main limb used to attack. Can be selected on the equipment screen. 100% not applicable not applicable yes
Multiple Arms lower limbs gained from Multiple Arms Multiple Arms: (7 + mut Level × 3)% [1] yes yes yes
Hardcoded organic limbs Stingers, Horns and fork-horned helms 20% [2] [3] no yes yes
Hardcoded cybernetic limbs Arms granted by helping hands. 8% [4] yes yes 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, unless you are wielding a short blade in your primary hand and a non-short blade in the opposite hand, due to a bug.

Fork-horned helms count as organic because they are being "wielded" by the user's head. If the player obtains cybernetic limbs, Jab will never apply to offhand attacks made with those limbs.

Additional methods of gaining offhands

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

If the player uses [Tab] to swap primary limbs, the offhand highest in the equipment list will inherit the attack chance of the new primary limb. For example, if the primary limb was swapped from the right hand to Horns on a standard limbed character, the right hand will now have the horns' 20% chance of attacking. This attack percentage is affected by Jab, but not by the Multiweapon Fighting skill tree.

References

This information is reliable as of patch 2.0.206.52.
  1. XRL.World.Parts.Mutation.MultipleArms, method HandleEvent(GetMeleeAttackChanceEvent)
  2. XRL.World.Parts.HornsProperties, method HandleEvent(GetMeleeAttackChanceEvent)
  3. XRL.World.Parts.IStingerProperties, method HandleEvent(GetMeleeAttackChanceEvent)
  4. XRL.World.Parts.HelpingHands, method HandleEvent(GetMeleeAttackChanceEvent)
  5. XRL.Rules.Stats.GetSecondaryAttackChance