From Dark and Darker Wiki
(Updating Template to use calls that work with Weapon Data.) |
(Updated calls for new Weapon Data structure.) |
||
Line 4: | Line 4: | ||
-->Width: {{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|width}}<br><!-- | -->Width: {{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|width}}<br><!-- | ||
-->Depth: {{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|depth}} }}<!-- | -->Depth: {{Weapon Data|{{{1|{{PAGENAME}}}}}|hitbox|depth}} }}<!-- | ||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1| | -->{{#if: {{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|ImpactZones}}<!-- | ||
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|ImpactZones}}<!-- | |||
-->|{{#arraydefine:impactzones|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|Primary|Global|impactzones}}{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|Primary|Attack 1|impactzones}} }}<!-- | -->|{{#arraydefine:impactzones|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|Primary|Global|impactzones}}{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|Primary|Attack 1|impactzones}} }}<!-- | ||
-->{{#if | -->{{#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>[[File:{{{1|{{PAGENAME}}}}} Hitbox.png|link=|x300px]]</div><!-- | ||
--><div><!-- | --><div><!-- | ||
Line 19: | Line 20: | ||
-->{{#ifexpr:{{#arraysize:impactzones}} > 2<!-- | -->{{#ifexpr:{{#arraysize:impactzones}} > 2<!-- | ||
-->|<br><br><span style="color:red;">Red Zone deals {{#arrayindex:impactzones|2}} damage</span>}}</div></div>}}<!-- | -->|<br><br><span style="color:red;">Red Zone deals {{#arrayindex:impactzones|2}} damage</span>}}</div></div>}}<!-- | ||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|impactpower}}<!-- | -->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|impactpower}}{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|impactpower}}<!-- | ||
-->|<br><!-- | -->|<br><!-- | ||
-->'''Impact Power''' of {{{1|{{PAGENAME}}}}}: {{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|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. }} }}<!-- | -->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><!-- | --></includeonly><!-- |
Revision as of 09:05, 10 April 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. |