From Dark and Darker Wiki

(Changing Template to use structure that works with the new Item Data.)
m (Changing Template to use calls that work with Weapon Data.)
Line 1: Line 1:
<includeonly>{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|Attacks|Primary Attack 1|movementmultiplier}}<!--
<includeonly>{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|Primary Attack 1|movementmultiplier}}<!--
-->|<h2>Action Movement Slow</h2><!--
-->|<h2>Action Movement Slow</h2><!--
-->When a player performs certain actions, such as attacking or defending themselves, they move slower.<br><!--
-->When a player performs certain actions, such as attacking or defending themselves, they move slower.<br><!--
-->List of slows for {{{1|{{PAGENAME}}}}}:<br><!--
-->List of slows for {{{1|{{PAGENAME}}}}}:<br><!--
-->{{#arraydefine:attacks|{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|Attacks|All}} }}{{
-->{{#arraydefine:abilities|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|All}} }}{{
#loop: i
#loop: i
|0
|0
|{{#arraysize:attacks}}
|{{#arraysize:abilities}}
|{{#vardefine:attack|{{#arrayindex:attacks|{{#var:i}} }} }}<!--
|{{#vardefine:attack|{{#arrayindex:abilities|{{#var:i}} }} }}<!--
--><span style="color:#eee8;">{{#var:attack}}:</span>&nbsp;{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|Attacks|{{#var:attack}}|movementmultiplier}}<br>
--><span style="color:#eee8;">{{#var:attack}}:</span>&nbsp;{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|{{#var:attack}}|movementmultiplier}}<br>
}} }}</includeonly><noinclude><table class="wikitable">
}} }}</includeonly><noinclude><table class="wikitable">
<tr>
<tr>

Revision as of 01:14, 19 March 2024

Code Preview
{{ActionMoveSlow|Longsword}}