From Dark and Darker Wiki

(adding impact zone chances for stuff like flutes etc.)
m (removed "Impact zone scaling affects impact power." - was likely in reference to how handle has lower impact power, but 'scaling' can be a misleading term here)
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#if:{{Weapon Data|{{PAGENAME}}|range|height}}|
<includeonly>{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|height}}<!--
==Hitbox==
-->|<h2>Hitbox</h2><br><!--
Height : {{Weapon Data|{{PAGENAME}}|range|height}}<br>
-->Height: {{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|height}}<br><!--
Width : {{Weapon Data|{{PAGENAME}}|range|width}}<br>}}
-->Width: {{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|width}}<br><!--
{{#if:{{Weapon Data|{{PAGENAME}}|slashandstabs|primary}}{{Weapon Data|{{PAGENAME}}|slashandstabs|secondary}}{{Weapon Data|{{PAGENAME}}|slashandstabs|riposte}}|{{ #arraydefine: impactzones | {{Weapon Data|{{PAGENAME}}|impactzones}}|/}}
-->Depth: {{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|depth}} }}<!--
[[Impact Zones]] of [[{{PAGENAME}}]]:
-->{{#if: {{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|ImpactZones}}<!--
<div style="display:flex;align-items: center;">
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|ImpactZones}}<!--
<div>
-->|{{#arraydefine:impactzones|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|Primary|Global|impactzones}}{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|Primary|Attack 1|impactzones}} }}<!--
[[File:{{PAGENAME}} Hitbox.png|link=|x300px]]
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|types|Crossbow}}{{Weapon Data|{{{1|{{PAGENAME}}}}}|types|Bow}}<!--
</div>
-->||<br><br>Weapon's hitbox doesn't necessarily determine a weapon's reach due to different attack animations. Thus, shorter weapons can have better reach than longer weapons.<!--
<div><span style="color:green;">Green Zone deals 100% damage</span>{{#ifexpr:{{ #arraysize:impactzones }} > 1|<br><br><span style="color:orange;">Orange Zone deals 90% damage</span>}}{{#ifexpr:{{ #arraysize:impactzones }} > 2|<br><br><span style="color:red;>Red Zone deals 70% damage</span>}}</div>
--><br>[[Impact Zones]] of [[{{{1|{{PAGENAME}}}}}]]:<!--
--><div style="display:flex; align-items:center;"><!--
--><div>[[File:{{{1|{{PAGENAME}}}}} Hitbox.png|x300px]]</div><!--
--><div><!--
--><span style="color:green;"><!--
-->Green Zone deals {{#arrayindex:impactzones|0}} damage</span><!--
-->{{#ifexpr:{{#arraysize:impactzones}} > 1<!--
-->|<br><br><span style="color:orange;"><!--
-->Orange Zone deals {{#arrayindex:impactzones|1}} damage</span>}}<!--
-->{{#ifexpr:{{#arraysize:impactzones}} > 2<!--
-->|<br><br><span style="color:red;">Red Zone deals {{#arrayindex:impactzones|2}} damage</span>}}</div></div><!--
                    --><p><br>'''Disclaimer''': The impact zone's locations are an approximation. The real hitboxes may be slightly larger, closer together, and/or follow the weapon's shape more closely. Image is not able to be updated automatically. If it is outdated, please report it to the [https://discord.gg/KbsxgACkFS Wiki Discord].</p>}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|impactpower}}{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|impactpower}}<!--
-->|<br><!--
-->'''Impact Power''' of {{{1|{{PAGENAME}}}}}: {{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|impactpower}}{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|impactpower}}<br><!--
-->Impact power helps with breaking crates, barricades or any other breakables in game. Higher the power faster something breaks. Impact power also affects shield blocking. If attacking weapon's impact power is higher than shield's impact power, shield holder staggers, and vice versa. }} }}<!--
--></includeonly><!--
--><noinclude><!--


</div>
--><table class="wikitable">
'''Impact Power''' of {{PAGENAME}}: {{Weapon Data|{{PAGENAME}}|impactpower}}
<tr>
<th>Code</th>
<th>Preview</th>
</tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateHitbox|Rapier}}</pre>
</td>
<td style="padding: 20px 30px;">
{{GenerateHitbox|Rapier}}
</td>
</tr>
</table><!--


Impact power helps with breaking crates, barricades or any other breakables in game. Higher the power faster something breaks. Impact power also affects shield blocking. If attacking weapon's impact power is higher than shield's impact power, shield holder staggers, and vice versa. Impact zone scaling affects impact power.
 
}}
--></noinclude>

Latest revision as of 02:03, 24 June 2025

Code Preview
{{GenerateHitbox|Rapier}}

Hitbox


Height: 55.57
Width: 13.34
Depth: 6.64

Weapon's hitbox doesn't necessarily determine a weapon's reach due to different attack animations. Thus, shorter weapons can have better reach than longer weapons.
Impact Zones of Rapier:
Rapier Hitbox.png
Green Zone deals 100% damage

Orange Zone deals 90% damage

Red Zone deals 70% damage


Disclaimer: The impact zone's locations are an approximation. The real hitboxes may be slightly larger, closer together, and/or follow the weapon's shape more closely. Image is not able to be updated automatically. If it is outdated, please report it to the Wiki Discord.


Impact Power of Rapier: 2
Impact power helps with breaking crates, barricades or any other breakables in game. Higher the power faster something breaks. Impact power also affects shield blocking. If attacking weapon's impact power is higher than shield's impact power, shield holder staggers, and vice versa.