From Dark and Darker Wiki

(better formatting)
m (Changing Template to use structure that works with the new Item Data.)
Line 1: Line 1:
{{#if:{{Weapon Data|{{PAGENAME}}|combodamage|primary}}{{Weapon Data|{{PAGENAME}}|combodamage|secondary}}{{Weapon Data|{{PAGENAME}}|combodamage|riposte}}|<!--  
<includeonly>{{#vardefine:all_abilities|{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|all}} }}
{{#if:{{#pos:{{#var:all_abilities}}|Primary}}{{#pos:{{#var:all_abilities}}|Secondary}}{{#pos:{{#var:all_abilities}}|Riposte}}<!--
-->|<h2>Combo</h2><br><!--
-->{{#if:{{#pos:{{#var:all_abilities}}|Primary}}<!--
-->|<span style="color:#eee8;">Primary Attack: </span><!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 1|damagetype}}<!-- Attack type of the first primary attack
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 2|damagetype}}|/}}<!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 2|damagetype}}<!-- Attack type of the second primary attack
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 3|damagetype}}|/}}<!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 3|damagetype}}<!-- Attack type of the third primary attack
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 4|damagetype}}|/}}<!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 4|damagetype}}<!-- Attack type of the fourth primary attack
--> dealing <!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 1|combodamage}}<!-- Combo damage of the first primary attack
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 2|combodamage}}|/}}<!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 2|combodamage}}<!-- Combo damage of the second primary attack
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 3|combodamage}}|/}}<!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 3|combodamage}}<!-- Combo damage of the third primary attack
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 4|combodamage}}|/}}<!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 4|combodamage}}<br>}}<!-- Combo damage of the fourth primary attack
-->{{#if:{{#pos:{{#var:all_abilities}}|Secondary}}<!--
-->|<br><span style="color:#eee8;">Secondary Attack: </span><!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 1|damagetype}}<!-- Attack type of the first secondary attack
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 2|damagetype}}|/}}<!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 2|damagetype}}<!-- Attack type of the second secondary attack
--> dealing <!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 1|combodamage}}<!-- Combo damage of the first secondary attack
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 2|combodamage}}|/}}<!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 2|combodamage}}<br>}}<!-- Combo damage of the second secondary attack
-->{{#if:{{#pos:{{#var:all_abilities}}|Riposte}}<!--
-->|<br><span style="color:#eee8;">Riposte Attack: </span>><!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 1|damagetype}}<!-- Attack type of the first riposte attack
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 2|damagetype}}|/}}<!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 2|damagetype}}<!-- Attack type of the second riposte attack
--> dealing<!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 1|combodamage}}<!-- Combo damage of the first riposte attack
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 2|combodamage}}|/}}<!--
-->{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 2|combodamage}}}}<!-- Combo damage of the second riposte attack


--->==Combo==
--><br>'''Attack Times'''<br><!--
{{#if:{{Weapon Data|{{PAGENAME}}|combodamage|primary}}|
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 1|attackspeed}}<!--
{{PAGENAME}} has attacks of '''{{Weapon Data|{{PAGENAME}}|slashandstabs|primary}}''' dealing '''{{Weapon Data|{{PAGENAME}}|combodamage|primary}}''' damage}}{{#if:{{Weapon Data|{{PAGENAME}}|combodamage|secondary}}|
-->|Primary Combo: 1 Attack <!--
 
--><blockquote>{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 1|attackspeed}}</blockquote>}}<!--
<br>Secondary attacks: '''{{Weapon Data|{{PAGENAME}}|slashandstabs|secondary}}''' dealing '''{{Weapon Data|{{PAGENAME}}|combodamage|secondary}}''' damage}}{{#if:{{Weapon Data|{{PAGENAME}}|combodamage|riposte}}|
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 2|attackspeed}}<!--
 
-->|Primary Combo: 2 Attacks<!--
<br>Riposte attacks: '''{{Weapon Data|{{PAGENAME}}|slashandstabs|riposte}}''' dealing '''{{Weapon Data|{{PAGENAME}}|combodamage|riposte}}''' damage}}
--><blockquote>{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 2|attackspeed}}</blockquote>}}<!--
 
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 3|attackspeed}}<!--
<br>'''Attack Times'''<br>
-->|Primary Combo: 3 Attacks<!--
{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|01}}|
--><blockquote>{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 3|attackspeed}}</blockquote>}}<!--
<br>1 Attack Combo:<br>
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 4|attackspeed}}<!--
*{{Weapon Data|{{PAGENAME}}|attackspeed|01}}
-->|Primary Combo: 4 Attacks<!--
<nowiki>
--><blockquote>{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|primary attack 4|attackspeed}}</blockquote>}}<!--
</nowiki>
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 1|attackspeed}}<!--
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|02}}|
-->|Secondary Combo: 1 Attack<!--
<br>2 Attack Combo:<br>
--><blockquote>{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 1|attackspeed}}</blockquote>}}<!--
*{{Weapon Data|{{PAGENAME}}|attackspeed|02}}
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 2|attackspeed}}<!--
<nowiki>
-->|Secondary Combo: 2 Attacks<!--
</nowiki>
--><blockquote>{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 2|attackspeed}}</blockquote>}}<!--
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|03}}|
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 1|attackspeed}}<!--
<br>3 Attack Combo:<br>
-->|Riposte Combo: 1 Attack<!--
*{{Weapon Data|{{PAGENAME}}|attackspeed|03}}
--><blockquote>{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 1|attackspeed}}</blockquote>}}<!--
<nowiki>
-->{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 2|attackspeed}}<!--
</nowiki>
-->|Riposte Combo: 2 Attacks<!--
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|04}}|
--><blockquote>{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 2|attackspeed}}</blockquote>}}}}</includeonly><noinclude>{{GenerateWeaponCombo|Arming Sword}}</noinclude>
<br>4 Attack Combo:<br>
*{{Weapon Data|{{PAGENAME}}|attackspeed|04}}
<nowiki>
</nowiki>
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|secondary}}|
<br>Secondary:<br>
*{{Weapon Data|{{PAGENAME}}|attackspeed|secondary}}
<nowiki>
</nowiki>
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|secondary01}}|
<br>Secondary 1 Attack Combo:<br>
*{{Weapon Data|{{PAGENAME}}|attackspeed|secondary01}}
<nowiki>
</nowiki>
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|secondary02}}|
<br>Secondary 2 Attack Combo:<br>
*{{Weapon Data|{{PAGENAME}}|attackspeed|secondary02}}
<nowiki>
</nowiki>
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|riposte}}|
<br>Riposte:<br>
*{{Weapon Data|{{PAGENAME}}|attackspeed|riposte}}
<nowiki>
</nowiki>
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|riposte01}}|
<br>Riposte 1 Attack Combo:<br>
*{{Weapon Data|{{PAGENAME}}|attackspeed|riposte01}}
<nowiki>
</nowiki>
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed|riposte02}}|
<br>Riposte 2 Attack Combo:<br>
*{{Weapon Data|{{PAGENAME}}|attackspeed|riposte02}}
<nowiki>
</nowiki>
}}<!--
 
--->}}

Revision as of 10:29, 16 March 2024