From Dark and Darker Wiki
(added condition for bow and crossbow as they dont have impact zones) |
(Added a couple more possibilities to the disclaimer) |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{Weapon Data|{{PAGENAME}}| | <includeonly>{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|height}}<!-- | ||
Height : {{Weapon Data|{{PAGENAME}}| | -->|<h2>Hitbox</h2><br><!-- | ||
Width : {{Weapon Data|{{PAGENAME}}| | -->Height: {{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|height}}<br><!-- | ||
{{#if:{{ | -->Width: {{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|width}}<br><!-- | ||
<br>[[Impact Zones]] of [[{{PAGENAME}}]]: | -->Depth: {{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|depth}} }}<!-- | ||
<div style="display:flex;align-items: center;"> | -->{{#if: {{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|ImpactZones}}<!-- | ||
<div> | -->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|ImpactZones}}<!-- | ||
[[File:{{PAGENAME}} Hitbox.png|link=|x300px]] | -->|{{#arraydefine:impactzones|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|Primary|Global|impactzones}}{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|Primary|Attack 1|impactzones}} }}<!-- | ||
</div> | -->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|types|Crossbow}}{{Weapon Data|{{{1|{{PAGENAME}}}}}|types|Bow}}<!-- | ||
<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> | -->||<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}}}}}]]:<!-- | |||
--><div style="display:flex; align-items:center;"><!-- | |||
--><div>[[File:{{{1|{{PAGENAME}}}}} Hitbox.png|link=|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.</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. Impact zone scaling affects impact power. }} }}<!-- | |||
--></includeonly><!-- | |||
--><noinclude><!-- | |||
</ | --><table class="wikitable"> | ||
<tr> | |||
<th>Code</th> | |||
<th>Preview</th> | |||
</tr> | |||
<tr> | |||
<td style="padding: 20px 30px;"> | |||
<pre>{{GenerateHitbox|Arming Sword}}</pre> | |||
</td> | |||
<td style="padding: 20px 30px;"> | |||
{{GenerateHitbox|Arming Sword}} | |||
</td> | |||
</tr> | |||
</table><!-- | |||
--></noinclude> |
Latest revision as of 06:47, 28 October 2024
Code | Preview |
---|---|
{{GenerateHitbox|Arming Sword}} |
HitboxHeight: 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: Green Zone deals 100% damage Orange Zone deals 90% damage Red Zone deals 70% damage
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. |