From Dark and Darker Wiki

m (Changing Template to use calls that work with Weapon Data.)
(Updated calls for new Weapon Data structure.)
Line 1: Line 1:
<includeonly>{{#vardefine:all_abilities|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|all}} }}
<includeonly>{{#vardefine:all_abilities|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|all}} }}
{{#if:{{#pos:{{#var:all_abilities}}|Primary}}{{#pos:{{#var:all_abilities}}|Secondary}}{{#pos:{{#var:all_abilities}}|Riposte}}<!--
{{#if:{{#pos:{{#var:all_abilities}}|Primary}}{{#pos:{{#var:all_abilities}}|Secondary}}{{#pos:{{#var:all_abilities}}|special}}<!--
-->|<h2>Combo</h2><br><!--
-->|<h2>Combo</h2><br><!--
-->{{#if:{{#pos:{{#var:all_abilities}}|Primary}}<!--
-->{{#if:{{#pos:{{#var:all_abilities}}|Primary}}<!--
-->|<span style="color:#eee8;">Primary Attack: </span><!--
-->|<span style="color:#eee8;">Primary Attack: </span><!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 1|damagetype}}<!-- Attack type of the first primary attack
-->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|damagetype}} }}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 2|damagetype}}|/}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|all}}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 2|damagetype}}<!-- Attack type of the second primary attack
-->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|damagetype}}{{#var:global}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 3|damagetype}}|/}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 2|all}}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 3|damagetype}}<!-- Attack type of the third primary attack
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 2|damagetype}}{{#var:global}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 4|damagetype}}|/}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 3|all}}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 4|damagetype}}<!-- Attack type of the fourth primary attack
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 3|damagetype}}{{#var:global}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 4|all}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 4|damagetype}}{{#var:global}} }} }} }} }}<!--
--> dealing <!--
--> dealing <!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 1|combodamage}}<!-- Combo damage of the first primary attack
-->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|combodamage}} }}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 2|combodamage}}|/}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|all}}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 2|combodamage}}<!-- Combo damage of the second primary attack
-->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|combodamage}}{{#var:global}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 3|combodamage}}|/}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 2|all}}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 3|combodamage}}<!-- Combo damage of the third primary attack
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 2|combodamage}}{{#var:global}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 4|combodamage}}|/}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 3|all}}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 4|combodamage}}<br>}}<!-- Combo damage of the fourth primary attack
-->|/{{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> }}<!--
-->{{#if:{{#pos:{{#var:all_abilities}}|Secondary}}<!--
-->{{#if:{{#pos:{{#var:all_abilities}}|Secondary}}<!--
-->|<br><span style="color:#eee8;">Secondary Attack: </span><!--
-->|<br><span style="color:#eee8;">Secondary Attack: </span><!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 1|damagetype}}<!-- Attack type of the first secondary attack
-->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|global|damagetype}} }}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 2|damagetype}}|/}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|all}}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 2|damagetype}}<!-- Attack type of the second secondary attack
-->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|damagetype}}{{#var:global}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|all}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|damagetype}}{{#var:global}} }} }}<!--
--> dealing <!--
--> dealing <!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 1|combodamage}}<!-- Combo damage of the first secondary attack
-->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|global|combodamage}} }}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 2|combodamage}}|/}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|all}}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 2|combodamage}}<br>}}<!-- Combo damage of the second secondary attack
-->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|combodamage}}{{#var:global}}<!--
-->{{#if:{{#pos:{{#var:all_abilities}}|Riposte}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|all}}<!--
-->|<br><span style="color:#eee8;">Riposte Attack: </span>><!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|combodamage}}{{#var:global}} }} }}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 1|damagetype}}<!-- Attack type of the first riposte attack
--> damage on each swing, with impact zone: <!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 2|damagetype}}|/}}<!--
-->{{#replace:<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 2|damagetype}}<!-- Attack type of the second riposte attack
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|global|impactzones}}<!--
--> dealing<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|impactzones}}|,|/}}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 1|combodamage}}<!-- Combo damage of the first riposte attack
-->.<br> }}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 2|combodamage}}|/}}<!--
-->{{#if:{{#pos:{{#var:all_abilities}}|Special}}<!--
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 2|combodamage}}}}<!-- Combo damage of the second riposte attack
-->|<br><span style="color:#eee8;">Special Attack: </span><!--
-->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|global|damagetype}} }}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 1|all}}<!--
-->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 1|damagetype}}{{#var:global}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 2|all}}<!--
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 2|damagetype}}{{#var:global}} }} }}<!--
--> dealing <!--
-->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|global|combodamage}} }}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 1|all}}<!--
-->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 1|combodamage}}{{#var:global}}<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 2|all}}<!--
-->|/{{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>'''Attack Times'''<br><!--
--><br>'''Attack Times'''<br><!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 1|attackspeed}}<!--
--><div style="display:inline-block; border-left:20px solid #0000;"><!--
-->|Primary Combo: 1 Attack <!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|attackspeed}}<!--
--><blockquote>{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 1|attackspeed}}</blockquote>}}<!--
-->|Primary Combo: 1 Attack<br><!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 2|attackspeed}}<!--
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|attackspeed}}</div><br><br>}}<!--
-->|Primary Combo: 2 Attacks<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 2|attackspeed}}<!--
--><blockquote>{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 2|attackspeed}}</blockquote>}}<!--
-->|Primary Combo: 2 Attacks<br><!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 3|attackspeed}}<!--
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 2|attackspeed}}</div><br><br>}}<!--
-->|Primary Combo: 3 Attacks<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 3|attackspeed}}<!--
--><blockquote>{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 3|attackspeed}}</blockquote>}}<!--
-->|Primary Combo: 3 Attacks<br><!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 4|attackspeed}}<!--
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 3|attackspeed}}</div><br><br>}}<!--
-->|Primary Combo: 4 Attacks<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 4|attackspeed}}<!--
--><blockquote>{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack 4|attackspeed}}</blockquote>}}<!--
-->|Primary Combo: 4 Attacks<br><!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 1|attackspeed}}<!--
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 4|attackspeed}}</div><br><br>}}<!--
-->|Secondary Combo: 1 Attack<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|attackspeed}}<!--
--><blockquote>{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 1|attackspeed}}</blockquote>}}<!--
-->|Secondary Combo: 1 Attack<br><!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 2|attackspeed}}<!--
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|attackspeed}}</div><br><br>}}<!--
-->|Secondary Combo: 2 Attacks<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|attackspeed}}<!--
--><blockquote>{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 2|attackspeed}}</blockquote>}}<!--
-->|Secondary Combo: 2 Attacks<br><!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 1|attackspeed}}<!--
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|attackspeed}}</div><br><br>}}<!--
-->|Riposte Combo: 1 Attack<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 1|attackspeed}}<!--
--><blockquote>{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 1|attackspeed}}</blockquote>}}<!--
-->|Special Combo: 1 Attack<br><!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 2|attackspeed}}<!--
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 1|attackspeed}}</div><br><br>}}<!--
-->|Riposte Combo: 2 Attacks<!--
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 2|attackspeed}}<!--
--><blockquote>{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 2|attackspeed}}</blockquote>}}}}</includeonly><noinclude>{{GenerateWeaponCombo|Arming Sword}}</noinclude>
-->|Special Combo: 2 Attacks<br><!--
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 2|attackspeed}}</div><br><br>}}</div>}}<!--
--></includeonly><noinclude>
<table class="wikitable">
<tr>
<th>Code</th>
<th>Preview</th></tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateHitbox|Arming Sword}}</pre></td>
<td style="padding: 20px 30px;">
{{GenerateWeaponCombo|Arming Sword}}</td></tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateHitbox|Rapier}}</pre></td>
<td style="padding: 20px 30px;">
{{GenerateWeaponCombo|Rapier}}</td></tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateHitbox|Longword}}</pre></td>
<td style="padding: 20px 30px;">
{{GenerateWeaponCombo|Longsword}}</td></tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateHitbox|War Maul}}</pre></td>
<td style="padding: 20px 30px;">
{{GenerateWeaponCombo|War Maul}}</td></tr></table>
</noinclude>

Revision as of 09:59, 10 April 2024

Code Preview
{{GenerateHitbox|Arming Sword}}

Combo


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

Attack Times
Primary Combo: 1 Attack
Windup:399ms
Hit:205ms
Combo Activation:234ms
Recover:963ms


Primary Combo: 2 Attacks
Windup:399ms
Hit:205ms
Combo Activation:234ms
Windup:400ms
Hit:157ms
Combo Activation:376ms
Recover:667ms


Primary Combo: 3 Attacks
Windup:399ms
Hit:205ms
Combo Activation:234ms
Windup:400ms
Hit:157ms
Combo Activation:376ms
Windup:600ms
Hit:154ms
Recover:1213ms


{{GenerateHitbox|Rapier}}

Combo


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

Attack Times
Primary Combo: 1 Attack
Windup:446ms
Hit:56ms
Combo Activation:112ms
Recover:453ms


Primary Combo: 2 Attacks
Windup:446ms
Hit:56ms
Combo Activation:112ms
Windup:669ms
Hit:79ms
Combo Activation:180ms
Recover:472ms


Primary Combo: 3 Attacks
Windup:446ms
Hit:56ms
Combo Activation:112ms
Windup:669ms
Hit:79ms
Combo Activation:180ms
Windup:651ms
Hit:81ms
Combo Activation:239ms
Recover:529ms


Primary Combo: 4 Attacks
Windup:446ms
Hit:56ms
Combo Activation:112ms
Windup:669ms
Hit:79ms
Combo Activation:180ms
Windup:651ms
Hit:81ms
Combo Activation:239ms
Windup:596ms
Hit:83ms
Recover:688ms


{{GenerateHitbox|Longword}}

Combo


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

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

Attack Times
Primary Combo: 1 Attack
Windup:932ms
Hit:229ms
Combo Activation:283ms
Recover:723ms


Primary Combo: 2 Attacks
Windup:932ms
Hit:229ms
Combo Activation:283ms
Windup:679ms
Hit:233ms
Combo Activation:54ms
Recover:900ms


Primary Combo: 3 Attacks
Windup:932ms
Hit:229ms
Combo Activation:283ms
Windup:679ms
Hit:233ms
Combo Activation:54ms
Windup:757ms
Hit:233ms
Recover:976ms


Special Combo: 1 Attack
Windup:333ms
Hit:167ms
Combo Activation:333ms
Recover:700ms


Special Combo: 2 Attacks
Windup:333ms
Hit:167ms
Combo Activation:333ms
Windup:433ms
Hit:133ms
Recover:967ms


{{GenerateHitbox|War Maul}}

Combo


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

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

Attack Times
Primary Combo: 1 Attack
Windup:1033ms
Hit:300ms
Combo Activation:33ms
Recover:1033ms


Primary Combo: 2 Attacks
Windup:1033ms
Hit:300ms
Combo Activation:33ms
Windup:867ms
Hit:333ms
Combo Activation:267ms
Recover:1033ms


Primary Combo: 3 Attacks
Windup:1033ms
Hit:300ms
Combo Activation:33ms
Windup:867ms
Hit:333ms
Combo Activation:267ms
Windup:833ms
Hit:367ms
Combo Activation:33ms
Recover:967ms


Secondary Combo: 1 Attack
Windup:811ms
Hit:155ms
Combo Activation:133ms
Recover:767ms


Secondary Combo: 2 Attacks
Windup:811ms
Hit:155ms
Combo Activation:133ms
Windup:1133ms
Hit:167ms
Recover:1067ms