From Dark and Darker Wiki

(Created page with "==Action Movement Slow== 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}}:")
 
m (Fixed parameter default value.)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Action Movement Slow==
<includeonly><!--
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}}:
-->{{#if:  {{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|Primary|Attack 1|movementmultiplier}}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|Primary|Global|movementmultiplier}}<!--
-->|<h2>Action Movement Slow</h2><!--
-->When a player performs certain actions, such as attacking or defending themselves, they move slower.<br><!--
-->List of slows for {{{1|{{PAGENAME}}}}}:<br><!--
--><div style="display:inline-block; border-left:20px solid #0000;"><!--
-->{{#arraydefine:all_abilities|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|all}} }}<!--
If the weapon has abilities, loop through them
-->{{#loop:i|0|{{#arraysize:all_abilities}}<!--
-->|{{#vardefine:ability|{{#arrayindex:all_abilities|{{#var:i}} }} }}<!--
-->{{#if:  {{#vardefineecho:movespeed|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|{{#var:ability}}|Global|MovementMultiplier}} }}<!--
-->{{#vardefineecho:preparemovespeed|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|{{#var:ability}}|Global|PrepareMovementMultiplier}} }}<!--
-->|<span style="color:#eee8; font-size:110%; font-weight:bold;"><!--
-->{{#ifeq:{{#var:ability}}|Other<!--
-->|{{#var:ability}} Actions<!--
-->|{{#var:ability}} Attacks}}<br></span><!--
--><div style="display:inline-block; border-left:20px solid #0000;"><!--
-->{{#if:{{#var:preparemovespeed}}<!--
-->|<span style="color:#eee8;"><!--
-->Mid Attack: </span><!--
-->{{#var:preparemovespeed}}<br><!--
--><span style="color:#eee8;"><!--
-->Otherwise: </span><!--
-->{{#var:movespeed}}<!--
 
-->|<span style="color:#eee8;"><!--
-->Always: </span><!--
-->{{#var:movespeed}} }}</div><br><!--
 
Else loop through all attacks
-->|{{#arraydefine:all_attacks|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|{{#var:ability}}|all}} }}<!--
-->{{#loop:i|0|{{#arraysize:all_attacks}}<!--
-->|{{#vardefine:attack|{{#arrayindex:all_attacks|{{#var:i}} }} }}<!--
If the attack has a movement multiplier, display it
-->{{#if:{{#vardefineecho:movespeed|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|{{#var:ability}}|{{#var:attack}}|MovementMultiplier}} }}<!--
-->{{#vardefineecho:preparemovespeed|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|{{#var:ability}}|{{#var:attack}}|PrepareMovementMultiplier}} }}<!--
-->|<span style="color:#eee8; font-size:110%; font-weight:bold;"><!--
-->{{#if:{{#pos:{{#var:ability}}|Other}}<!--
-->|{{#var:attack}}<!--
-->|{{#var:ability}} {{#var:attack}} }}<br></span><!--
--><div style="display:inline-block; border-left:20px solid #0000;"><!--
-->{{#if:{{#var:preparemovespeed}}<!--
-->|<span style="color:#eee8;"><!--
-->Mid Attack: </span><!--
-->{{#var:preparemovespeed}}<br><!--
--><span style="color:#eee8;"><!--
-->Otherwise: </span><!--
-->{{#var:movespeed}}<!--
 
-->|<span style="color:#eee8;"><!--
-->Always: </span><!--
-->{{#var:movespeed}} }}</div><br>}} }} }} }}</div>}}<!--
 
--></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>
<tr>
<td style="padding: 20px 30px;">
<pre>{{ActionMoveSlow|War Maul}}</pre></td>
<td style="padding: 20px 30px;">
{{ActionMoveSlow|War Maul}}</td></tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{ActionMoveSlow|Rapier}}</pre></td>
<td style="padding: 20px 30px;">
{{ActionMoveSlow|Rapier}}</td></tr></table>
</noinclude>

Latest revision as of 11:20, 10 April 2024

Code Preview
{{ActionMoveSlow|Longsword}}

Action Movement Slow

When a player performs certain actions, such as attacking or defending themselves, they move slower.
List of slows for Longsword:
Riposte
Always: 70%

Primary Attacks
Mid Attack: 82.5%
Otherwise: 65%

Block Reaction
Always: 97%

Special Attacks
Always: 70%

{{ActionMoveSlow|War Maul}}

Action Movement Slow

When a player performs certain actions, such as attacking or defending themselves, they move slower.
List of slows for War Maul:
Primary Attacks
Mid Attack: 80%
Otherwise: 60%

Secondary Attacks
Mid Attack: 80%
Otherwise: 60%

{{ActionMoveSlow|Rapier}}

Action Movement Slow

When a player performs certain actions, such as attacking or defending themselves, they move slower.
List of slows for Rapier:
Primary Attacks
Mid Attack: 87.5%
Otherwise: 75%