From Dark and Darker Wiki

(added value from database)
(Changing Template to use structure that works with the new Item Data.)
Line 1: Line 1:
{{#if:{{Weapon Data|{{PAGENAME}}|actionmovementslow}}|
<includeonly>{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|Attacks|Primary Attack 1|movementmultiplier}}<!--
==Action Movement Slow==
-->|<h2>Action Movement Slow</h2><!--
When a player is in combat and they perform certain actions such as attacking or defending themselves, during the actions they move slower. <br> List of slows for {{PAGENAME}}:
-->When a player performs certain actions, such as attacking or defending themselves, they move slower.<br><!--
*{{Weapon Data|{{PAGENAME}}|actionmovementslow}}
-->List of slows for {{{1|{{PAGENAME}}}}}:<br><!--
}}
-->{{#arraydefine:attacks|{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|Attacks|All}} }}{{
#loop: i
|0
|{{#arraysize:attacks}}
|{{#vardefine:attack|{{#arrayindex:attacks|{{#var:i}} }} }}<!--
--><span style="color:#eee8;">{{#var:attack}}:</span>&nbsp;{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|Attacks|{{#var:attack}}|movementmultiplier}}<br>
}} }}</includeonly><noinclude><table class="wikitable">
<tr>
<th>Code</th>
<th>Preview</th>
</tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{ActionMoveSlow|Longsword}}</pre>
</td>
<td style="padding: 20px 30px;">
{{ActionMoveSlow|Longsword}}
</td>
</tr>
</table></noinclude>

Revision as of 04:14, 15 March 2024

Code Preview
{{ActionMoveSlow|Longsword}}