From Dark and Darker Wiki

(Changing Template to use structure that works with the new Item Data.)
m (image may not be updated automatically, pls report to wiki disc)
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|hitbox|height}}<!--
<includeonly>{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|height}}<!--
-->|<h2>Hitbox</h2><br><!--
-->|<h2>Hitbox</h2><br><!--
-->Height: {{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|hitbox|height}}<br><!--
-->Height: {{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|height}}<br><!--
-->Width: {{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|hitbox|width}}<br><!--
-->Width: {{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|width}}<br><!--
-->Depth: {{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|hitbox|depth}} }}<!--
-->Depth: {{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|depth}} }}<!--
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|attacks|primary attack 1|damagetype}}{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|attacks|secondary attack 1|damagetype}}{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|attacks|riposte attack 1|damagetype}}<!--
-->{{#if: {{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|ImpactZones}}<!--
-->|{{#arraydefine:impactzones|{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|attacks|Primary Attack 1|impactzones}} }}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|ImpactZones}}<!--
-->{{#if:{{#pos:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|types|all}}|Crossbow}}{{#pos:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|types|all}}|Bow}}<!--
-->|{{#arraydefine:impactzones|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|Primary|Global|impactzones}}{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|Primary|Attack 1|impactzones}} }}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|types|Crossbow}}{{Weapon Data|{{{1|{{PAGENAME}}}}}|types|Bow}}<!--
-->||<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.<!--
-->||<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.<!--
--><br>[[Impact Zones]] of [[{{{1|{{PAGENAME}}}}}]]:<!--
--><br>[[Impact Zones]] of [[{{{1|{{PAGENAME}}}}}]]:<!--
--><div style="display:flex;align-items: center;"><!--
--><div style="display:flex; align-items:center;"><!--
--><div>[[File:{{{1|{{PAGENAME}}}}} Hitbox.png|link=|x300px]]</div><!--
--><div><!--
--><div><!--
-->[[File:{{{1|{{PAGENAME}}}}} Hitbox.png|link=|x300px]]<!--
--><span style="color:green;"><!--
--></div><!--
-->Green Zone deals {{#arrayindex:impactzones|0}} damage</span><!--
--><div><!--
-->{{#ifexpr:{{#arraysize:impactzones}} > 1<!--
--><span style="color:green;"><!--
-->|<br><br><span style="color:orange;"><!--
-->Green Zone deals {{#arrayindex:impactzones|0}} damage<!--
-->Orange Zone deals {{#arrayindex:impactzones|1}} damage</span>}}<!--
--></span><!--
-->{{#ifexpr:{{#arraysize:impactzones}} > 2<!--
-->{{#ifexpr:{{#arraysize:impactzones}} > 1<!--
-->|<br><br><span style="color:red;">Red Zone deals {{#arrayindex:impactzones|2}} damage</span>}}</div></div><!--
-->|<br><br><span style="color:orange;"><!--
                    --><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>}}<!--
-->Orange Zone deals {{#arrayindex:impactzones|1}} damage<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|impactpower}}{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|impactpower}}<!--
--></span>}}<!--
-->|<br><!--
-->{{#ifexpr:{{#arraysize:impactzones}} > 2<!--
-->'''Impact Power''' of {{{1|{{PAGENAME}}}}}: {{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|impactpower}}{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|impactpower}}<br><!--
-->|<br><br><span style="color:red;">Red Zone deals {{#arrayindex:impactzones|2}} damage</span>}}<!--
-->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. }} }}<!--
--></div><!--
--></includeonly><!--
--></div>}}<!--
--><noinclude><!--
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|attacks|primary attack 1|impactpower}}<!--
 
-->|<br><!--
--><table class="wikitable">
-->'''Impact Power''' of {{{1|{{PAGENAME}}}}}: {{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|attacks|primary attack 1|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. Impact zone scaling affects impact power. }} }}</includeonly><noinclude><table class="wikitable">
<tr>
<tr>
<th>Code</th>
<th>Code</th>
Line 41: Line 41:
</td>
</td>
</tr>
</tr>
</table></noinclude>
</table><!--
 
 
--></noinclude>

Revision as of 22:06, 22 March 2025

Code Preview
{{GenerateHitbox|Arming Sword}}

Hitbox


Height: 47.24
Width: 10.38
Depth: 1.67

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 Arming Sword:
Arming Sword 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 Arming Sword: 3
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.