From Dark and Darker Wiki
(better if statement) |
(Added link to Riposte description for weapons with a special attack) |
||
(11 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:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|damagetype}} }}<!-- | |||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|all}}<!-- | |||
-->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|damagetype}}{{#var:global}}<!-- | |||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 2|all}}<!-- | |||
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 2|damagetype}}{{#var:global}}<!-- | |||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 3|all}}<!-- | |||
-->|/{{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 <!-- | |||
-->{{#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> }}<!-- | |||
-->{{#if:{{#pos:{{#var:all_abilities}}|Secondary}}<!-- | |||
-->|<br><span style="color:#eee8;">Secondary Attack: </span><!-- | |||
-->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|global|damagetype}} }}<!-- | |||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|all}}<!-- | |||
-->|{{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 <!-- | |||
-->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|global|combodamage}} }}<!-- | |||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|all}}<!-- | |||
-->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|combodamage}}{{#var:global}}<!-- | |||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|all}}<!-- | |||
-->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|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> }}<!-- | |||
-->{{#if:{{#pos:{{#var:all_abilities}}|Special}}<!-- | |||
-->|<br><span style="color:#eee8;">Special Attack: [[Impact_Power#Weapon blocking|Riposte]] </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><!-- | ||
{{#if:{{Weapon Data|{{PAGENAME}}| | --><div style="display:inline-block; border-left:20px solid #0000;"><!-- | ||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|attackspeed}}<!-- | |||
-->|Primary Combo: 1 Attack<br><!-- | |||
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 1|attackspeed}}</div><br><br>}}<!-- | |||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 2|attackspeed}}<!-- | |||
-->|Primary Combo: 2 Attacks<br><!-- | |||
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 2|attackspeed}}</div><br><br>}}<!-- | |||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 3|attackspeed}}<!-- | |||
{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed | -->|Primary Combo: 3 Attacks<br><!-- | ||
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 3|attackspeed}}</div><br><br>}}<!-- | |||
{{Weapon Data|{{PAGENAME}}|attackspeed | -->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 4|attackspeed}}<!-- | ||
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed | -->|Primary Combo: 4 Attacks<br><!-- | ||
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 4|attackspeed}}</div><br><br>}}<!-- | |||
{{Weapon Data|{{PAGENAME}}|attackspeed | -->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|attackspeed}}<!-- | ||
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed | -->|Secondary Combo: 1 Attack<br><!-- | ||
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|attackspeed}}</div><br><br>}}<!-- | |||
{{Weapon Data|{{PAGENAME}}|attackspeed | -->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|attackspeed}}<!-- | ||
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed | -->|Secondary Combo: 2 Attacks<br><!-- | ||
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|attackspeed}}</div><br><br>}}<!-- | |||
{{Weapon Data|{{PAGENAME}}|attackspeed | -->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 1|attackspeed}}<!-- | ||
}}{{#if:{{Weapon Data|{{PAGENAME}}|attackspeed | -->|Special Combo: 1 Attack<br><!-- | ||
--><div style="display:inline-block; border-left:20px solid #0000;">{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 1|attackspeed}}</div><br><br>}}<!-- | |||
{{Weapon Data|{{PAGENAME}} | -->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 2|attackspeed}}<!-- | ||
} | -->|Special Combo: 2 Attacks<br><!-- | ||
<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> | |||
=Example Usage= | |||
< | <table class="wikitable"> | ||
{{ | <tr> | ||
<th>Code</th> | |||
< | <th>Preview</th></tr> | ||
<tr> | |||
<td style="padding: 20px 30px;"> | |||
< | <pre>{{GenerateWeaponCombo|Arming Sword}}</pre></td> | ||
{{ | <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|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></table> | |||
</noinclude> |
Latest revision as of 02:37, 8 August 2024
Example Usage
Code | Preview |
---|---|
{{GenerateWeaponCombo|Arming Sword}} |
ComboPrimary 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 |
{{GenerateWeaponCombo|Rapier}} |
ComboPrimary 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 |
{{GenerateWeaponCombo|Longword}} |
ComboPrimary Attack: Pierce/Slash/Slash dealing 100%/105%/110% damage on each swing, with impact zone: 100%/80%/60%. Special Attack: Riposte 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 |
{{GenerateWeaponCombo|War Maul}} |
ComboPrimary 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 |
{{GenerateWeaponCombo|Crossbow}} |
|
{{GenerateWeaponCombo|Frostlight Lantern Shield}} |
ComboSpecial Attack: Riposte Slash/Pierce dealing 100%/100% damage on each swing, with impact zone: 150%. Attack Times Special Combo: 1 Attack Windup:418ms Hit:211ms Combo Activation:146ms Recover:625ms Special Combo: 2 Attacks Windup:418ms Hit:211ms Combo Activation:146ms Windup:414ms Hit:411ms Recover:1141ms |