From Dark and Darker Wiki

(Changing Template to use structure that works with the new Item Data.)
m (Changing Template to use structure that works with the new Item Data.)
Line 4: Line 4:
-->Width: {{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|hitbox|width}}<br><!--
-->Width: {{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|hitbox|width}}<br><!--
-->Depth: {{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|hitbox|depth}} }}<!--
-->Depth: {{Item Data|Weapon|{{{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:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 1|damagetype}}{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 1|damagetype}}{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 1|damagetype}}<!--
-->|{{#arraydefine:impactzones|{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|attacks|Primary Attack 1|impactzones}} }}<!--
-->|{{#arraydefine:impactzones|{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|Primary Attack 1|impactzones}} }}<!--
-->{{#if:{{#pos:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|types|all}}|Crossbow}}{{#pos:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|types|all}}|Bow}}<!--
-->{{#if:{{#pos:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|types|all}}|Crossbow}}{{#pos:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|types|all}}|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.<!--
Line 25: Line 25:
--></div><!--
--></div><!--
--></div>}}<!--
--></div>}}<!--
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|attacks|primary attack 1|impactpower}}<!--
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 1|impactpower}}<!--
-->|<br><!--
-->|<br><!--
-->'''Impact Power''' of {{{1|{{PAGENAME}}}}}: {{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|attacks|primary attack 1|impactpower}}<br><!--
-->'''Impact Power''' of {{{1|{{PAGENAME}}}}}: {{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|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">
-->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>

Revision as of 10:31, 16 March 2024

Code Preview
{{GenerateHitbox|Arming Sword}}