From Dark and Darker Wiki

(now data is pulled from database)
(added condition for bow and crossbow as they dont have impact zones)
Line 2: Line 2:
Height : {{Weapon Data|{{PAGENAME}}|range|height}}<br>
Height : {{Weapon Data|{{PAGENAME}}|range|height}}<br>
Width : {{Weapon Data|{{PAGENAME}}|range|width}}}}{{#if:{{Weapon Data|{{PAGENAME}}|slashandstabs|primary}}{{Weapon Data|{{PAGENAME}}|slashandstabs|secondary}}{{Weapon Data|{{PAGENAME}}|slashandstabs|riposte}}|{{ #arraydefine: impactzones | {{Weapon Data|{{PAGENAME}}|impactzones}}|/}}
Width : {{Weapon Data|{{PAGENAME}}|range|width}}}}{{#if:{{Weapon Data|{{PAGENAME}}|slashandstabs|primary}}{{Weapon Data|{{PAGENAME}}|slashandstabs|secondary}}{{Weapon Data|{{PAGENAME}}|slashandstabs|riposte}}|{{ #arraydefine: impactzones | {{Weapon Data|{{PAGENAME}}|impactzones}}|/}}
{{#if:{{#pos:{{Weapon Data|{{PAGENAME}}|weapontype}}|Crossbow}}{{#pos:{{Weapon Data|{{PAGENAME}}|weapontype}}|Bow}}||
<br>[[Impact Zones]] of [[{{PAGENAME}}]]:
<br>[[Impact Zones]] of [[{{PAGENAME}}]]:
<div style="display:flex;align-items: center;">
<div style="display:flex;align-items: center;">
Line 9: Line 10:
<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><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>{{#if:{{Weapon Data|{{PAGENAME}}|impactpower}}|
</div>}}{{#if:{{Weapon Data|{{PAGENAME}}|impactpower}}|
'''Impact Power''' of {{PAGENAME}}: {{Weapon Data|{{PAGENAME}}|impactpower}}
'''Impact Power''' of {{PAGENAME}}: {{Weapon Data|{{PAGENAME}}|impactpower}}


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. }}
}}
}}

Revision as of 20:19, 3 September 2023