From Dark and Darker Wiki

(better formatting)
(Resolved a rare edge case.)
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if:{{Weapon Data|{{PAGENAME}}|combodamage|primary}}{{Weapon Data|{{PAGENAME}}|combodamage|secondary}}{{Weapon Data|{{PAGENAME}}|combodamage|riposte}}|<!--  
<includeonly><!--
-->{{#vardefine:all_abilities|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|all}} }}<!--
-->{{#if:{{#if:{{#pos:{{{1|{{PAGENAME}}}}}|Lantern Shield}}||{{#pos:{{Weapon Data|{{{1|{{PAGENAME}}}}}|Types|all}}|Shield}} }}{{#pos:{{Weapon Data|{{{1|{{PAGENAME}}}}}|Types|all}}|Bow}}{{#pos:{{Weapon Data|{{{1|{{PAGENAME}}}}}|Types|all}}|Crossbow}}<!--
-->||<h2>Combo</h2><br><!--
-->{{#if:{{#pos:{{#var:all_abilities}}|Primary}}<!--
-->|<span style="color:#eee8;">Primary Attack: </span><!--
-->{{#vardefine:attacks|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|all}} }}<!--
-->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|damagetype}} }}<!--
-->{{#if:{{#pos:{{#var:attacks}}|1}}<!--
-->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|damagetype}}{{#var:global}}<!--
-->{{#if:{{#pos:{{#var:attacks}}|2}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 2|damagetype}}{{#var:global}}<!--
-->{{#if:{{#pos:{{#var:attacks}}|3}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 3|damagetype}}{{#var:global}}<!--
-->{{#if:{{#pos:{{#var:attacks}}|4}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 4|damagetype}}{{#var:global}} }} }} }} }}<!--
--> dealing <!--
-->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|combodamage}} }}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|all}}<!--
-->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|combodamage}}{{#var:global}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 2|all}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 2|combodamage}}{{#var:global}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 3|all}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 3|combodamage}}{{#var:global}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 4|all}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 4|combodamage}}{{#var:global}} }} }} }} }}<!--
--> damage on each swing, with impact zone: <!--
-->{{#replace:<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|impactzones}}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|impactzones}}|,|/}}<!--
-->.<br><br>}}<!--
-->{{#if:{{#pos:{{#var:all_abilities}}|Secondary}}<!--
-->|<span style="color:#eee8;">Secondary Attack: </span><!--
-->{{#vardefine:attacks|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|all}} }}<!--
-->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|global|damagetype}} }}<!--
-->{{#if:{{#pos:{{#var:attacks}}|1}}<!--
-->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|damagetype}}{{#var:global}}<!--
-->{{#if:{{#pos:{{#var:attacks}}|2}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|damagetype}}{{#var:global}}<!--
-->{{#if:{{#pos:{{#var:attacks}}|3}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 3|damagetype}}{{#var:global}} }} }} }}<!--
--> dealing <!--
-->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|global|combodamage}} }}<!--
-->{{#if:{{#pos:{{#var:attacks}}|1}}<!--
-->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|combodamage}}{{#var:global}}<!--
-->{{#if:{{#pos:{{#var:attacks}}|2}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|combodamage}}{{#var:global}}<!--
-->{{#if:{{#pos:{{#var:attacks}}|3}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 3|combodamage}}{{#var:global}} }} }} }}<!--
--> damage on each swing, with impact zone: <!--
-->{{#replace:<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|global|impactzones}}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|impactzones}}|,|/}}<!--
-->.<br><br>}}<!--
-->{{#if:{{#pos:{{#var:all_abilities}}|Special}}<!--
-->|<span style="color:#eee8;">Special Attack: [[Impact_Power#Weapon blocking|Riposte]] </span><!--
-->{{#vardefine:attacks|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|all}} }}<!--
-->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|global|damagetype}} }}<!--
-->{{#if:{{#pos:{{#var:attacks}}|1}}<!--
-->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 1|damagetype}}{{#var:global}}<!--
-->{{#if:{{#pos:{{#var:attacks}}|2}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 2|damagetype}}{{#var:global}} }} }}<!--
--> dealing <!--
-->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|global|combodamage}} }}<!--
-->{{#if:{{#pos:{{#var:attacks}}|1}}<!--
-->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 1|combodamage}}{{#var:global}}<!--
-->{{#if:{{#pos:{{#var:attacks}}|2}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 2|combodamage}}{{#var:global}} }} }}<!--
--> damage on each swing, with impact zone: <!--
-->{{#replace:<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|global|impactzones}}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 1|impactzones}}|,|/}}<!--
-->.<br><br>}}<!--


--->==Combo==
-->'''Attack Times'''<br><!--
{{#if:{{Weapon Data|{{PAGENAME}}|combodamage|primary}}|
--><div style="display:inline-block; margin-left:20px;"><!--
{{PAGENAME}} has attacks of {{Weapon Data|{{PAGENAME}}|slashandstabs|primary}} dealing {{Weapon Data|{{PAGENAME}}|combodamage|primary}} damage}}{{#if:{{Weapon Data|{{PAGENAME}}|combodamage|secondary}}|
-->{{#if:{{Weapon Animation Times Data|{{{1|{{PAGENAME}}}}}|primary|attack 1|windup}}<!--
 
-->|Primary Combo: Attack 1<br><!--
Secondary attacks: {{Weapon Data|{{PAGENAME}}|slashandstabs|secondary}} dealing {{Weapon Data|{{PAGENAME}}|combodamage|secondary}} damage}}{{#if:{{Weapon Data|{{PAGENAME}}|combodamage|riposte}}|
--><div style="display:inline-block; margin-left:20px;"><!--
 
-->{{AttackAnimationTimes|{{{1|{{PAGENAME}}}}}|Primary|Attack 1}}</div><br><br>}}<!--
Riposte attacks: {{Weapon Data|{{PAGENAME}}|slashandstabs|riposte}} dealing {{Weapon Data|{{PAGENAME}}|combodamage|riposte}} damage}}
-->{{#if:{{Weapon Animation Times Data|{{{1|{{PAGENAME}}}}}|primary|attack 2|windup}}<!--
 
-->|Primary Combo: Attack 2<br><!--
<br>'''Attack Times'''<br>
--><div style="display:inline-block; margin-left:20px;"><!--
{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|01}}|
-->{{AttackAnimationTimes|{{{1|{{PAGENAME}}}}}|Primary|Attack 2}}</div><br><br>}}<!--
 
-->{{#if:{{Weapon Animation Times Data|{{{1|{{PAGENAME}}}}}|primary|attack 3|windup}}<!--
<br>1 Attack Combo:<br>
-->|Primary Combo: Attack 3<br><!--
*{{Weapon Data|{{PAGENAME}}|attackspeed|01}}
--><div style="display:inline-block; margin-left:20px;"><!--
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|02}}|
-->{{AttackAnimationTimes|{{{1|{{PAGENAME}}}}}|Primary|Attack 3}}</div><br><br>}}<!--
 
-->{{#if:{{Weapon Animation Times Data|{{{1|{{PAGENAME}}}}}|primary|attack 4|windup}}<!--
<br>2 Attack Combo:<br>
-->|Primary Combo: Attack 4<br><!--
*{{Weapon Data|{{PAGENAME}}|attackspeed|02}}
--><div style="display:inline-block; margin-left:20px;"><!--
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|03}}|
-->{{AttackAnimationTimes|{{{1|{{PAGENAME}}}}}|Primary|Attack 4}}</div><br><br>}}<!--
 
-->{{#if:{{Weapon Animation Times Data|{{{1|{{PAGENAME}}}}}|secondary|attack 1|windup}}<!--
<br>3 Attack Combo:<br>
-->|Secondary Combo: Attack 1<br><!--
*{{Weapon Data|{{PAGENAME}}|attackspeed|03}}
--><div style="display:inline-block; margin-left:20px;"><!--
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|04}}|
-->{{AttackAnimationTimes|{{{1|{{PAGENAME}}}}}|Secondary|Attack 1}}</div><br><br>}}<!--
 
-->{{#if:{{Weapon Animation Times Data|{{{1|{{PAGENAME}}}}}|secondary|attack 2|windup}}<!--
<br>4 Attack Combo:<br>
-->|Secondary Combo: Attack 2<br><!--
*{{Weapon Data|{{PAGENAME}}|attackspeed|04}}
--><div style="display:inline-block; margin-left:20px;"><!--
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|secondary}}|
-->{{AttackAnimationTimes|{{{1|{{PAGENAME}}}}}|Secondary|Attack 2}}</div><br><br>}}<!--
 
-->{{#if:{{Weapon Animation Times Data|{{{1|{{PAGENAME}}}}}|secondary|attack 3|windup}}<!--
<br>Secondary:<br>
-->|Secondary Combo: Attack 3<br><!--
*{{Weapon Data|{{PAGENAME}}|attackspeed|secondary}}
--><div style="display:inline-block; margin-left:20px;"><!--
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|secondary01}}|
-->{{AttackAnimationTimes|{{{1|{{PAGENAME}}}}}|Secondary|Attack 3}}</div><br><br>}}<!--
 
-->{{#if:{{Weapon Animation Times Data|{{{1|{{PAGENAME}}}}}|special|riposte attack 1|windup}}<!--
<br>Secondary 1 Attack Combo:<br>
-->|Special Combo: Attack 1<br><!--
*{{Weapon Data|{{PAGENAME}}|attackspeed|secondary01}}
--><div style="display:inline-block; margin-left:20px;"><!--
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|secondary02}}|
-->{{AttackAnimationTimes|{{{1|{{PAGENAME}}}}}|Special|Riposte Attack 1}}</div><br><br>}}<!--
 
-->{{#if:{{Weapon Animation Times Data|{{{1|{{PAGENAME}}}}}|special|riposte attack 2|windup}}<!--
<br>Secondary 2 Attack Combo:<br>
-->|Special Combo: Attack 2<br><!--
*{{Weapon Data|{{PAGENAME}}|attackspeed|secondary02}}
--><div style="display:inline-block; margin-left:20px;"><!--
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|riposte}}|
-->{{AttackAnimationTimes|{{{1|{{PAGENAME}}}}}|Special|Riposte Attack 2}}</div><br><br>}}</div><br><!--
 
-->Reference [[Attack Times]] for a glossary of the terms used above.<br>}}<!--
<br>Riposte:<br>
--></includeonly><noinclude>
*{{Weapon Data|{{PAGENAME}}|attackspeed|riposte}}
=Example Usage=
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|riposte01}}|
<table class="wikitable">
 
<tr>
*<br>Riposte 1 Attack Combo:<br>
<th>Code</th>
{{Weapon Data|{{PAGENAME}}|attackspeed|riposte01}}
<th>Preview</th></tr>
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|riposte02}}|
<tr>
 
<td style="padding: 20px 30px;">
*<br>Riposte 2 Attack Combo:<br>
<pre>{{GenerateWeaponCombo|Arming Sword}}</pre></td>
{{Weapon Data|{{PAGENAME}}|attackspeed|riposte02}}
<td style="padding: 20px 30px;">
}}<!--
{{GenerateWeaponCombo|Arming Sword}}</td></tr>
 
<tr>
--->}}
<td style="padding: 20px 30px;">
<pre>{{GenerateWeaponCombo|Rapier}}</pre></td>
<td style="padding: 20px 30px;">
{{GenerateWeaponCombo|Rapier}}</td></tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateWeaponCombo|Longword}}</pre></td>
<td style="padding: 20px 30px;">
{{GenerateWeaponCombo|Longsword}}</td></tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateWeaponCombo|War Maul}}</pre></td>
<td style="padding: 20px 30px;">
{{GenerateWeaponCombo|War Maul}}</td></tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateWeaponCombo|Stiletto Dagger}}</pre></td>
<td style="padding: 20px 30px;">
{{GenerateWeaponCombo|Stiletto Dagger}}</td></tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateWeaponCombo|Crossbow}}</pre></td>
<td style="padding: 20px 30px;">
{{GenerateWeaponCombo|Crossbow}}</td></tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateWeaponCombo|Frostlight Lantern Shield}}</pre></td>
<td style="padding: 20px 30px;">
{{GenerateWeaponCombo|Frostlight Lantern Shield}}</td></tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateWeaponCombo|Lute}}</pre></td>
<td style="padding: 20px 30px;">
{{GenerateWeaponCombo|Lute}}</td></tr></table>
</noinclude>

Latest revision as of 01:25, 28 February 2025

Example Usage

Code Preview
{{GenerateWeaponCombo|Arming Sword}}

Combo


Primary Attack: Slash/Slash/Pierce dealing 100%/105%/110% damage on each swing, with impact zone: 100%/90%.

Attack Times

Reference Attack Times for a glossary of the terms used above.
{{GenerateWeaponCombo|Rapier}}

Combo


Primary Attack: Pierce/Pierce/Pierce/Pierce dealing 100%/105%/110%/115% damage on each swing, with impact zone: 100%/90%.

Special Attack: Riposte Slash/Pierce dealing 150%/150% damage on each swing, with impact zone: 100%.

Attack Times

Reference Attack Times for a glossary of the terms used above.
{{GenerateWeaponCombo|Longword}}

Combo


Primary Attack: Pierce/Slash/Slash dealing 100%/105%/110% damage on each swing, with impact zone: 100%/90%.

Special Attack: Riposte Slash/Slash dealing 150%/150% damage on each swing, with impact zone: 100%.

Attack Times

Reference Attack Times for a glossary of the terms used above.
{{GenerateWeaponCombo|War Maul}}

Combo


Primary Attack: dealing damage on each swing, with impact zone: 100%/80%.

Secondary Attack: dealing damage on each swing, with impact zone: 100%/80%.

Attack Times

Reference Attack Times for a glossary of the terms used above.
{{GenerateWeaponCombo|Stiletto Dagger}}

Combo


Secondary Attack: Slash/Slash/Pierce dealing 100%/100%/120% damage on each swing, with impact zone: 100%.

Attack Times

Reference Attack Times for a glossary of the terms used above.
{{GenerateWeaponCombo|Crossbow}}
{{GenerateWeaponCombo|Frostlight Lantern Shield}}

Combo


Special Attack: Riposte Slash/Pierce dealing 115%/115% damage on each swing, with impact zone: 100%.

Attack Times

Reference Attack Times for a glossary of the terms used above.
{{GenerateWeaponCombo|Lute}}

Combo


Primary Attack: Blunt/Blunt dealing damage on each swing, with impact zone: 100%/90%.

Attack Times

Reference Attack Times for a glossary of the terms used above.