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  | <includeonly>{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|Attacks|Primary Attack 1|movementmultiplier}}<!-- | ||
| 	-->|<h2>Action Movement Slow</h2><!-- | |||
| When a player  | 	-->When a player performs certain actions, such as attacking or defending themselves, they move slower.<br><!-- | ||
| 	-->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> {{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}} | 
 
						