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}}| | {{#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 | -->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|damagetype}} }}<!-- | ||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack | -->{{#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 <!-- | --> dealing <!-- | ||
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary | -->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|global|combodamage}} }}<!-- | ||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary attack | -->{{#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 | -->|/{{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 | -->{{#vardefine:global|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|global|damagetype}} }}<!-- | ||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary attack | -->{{#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 <!-- | --> dealing <!-- | ||
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary attack 1| | -->{{#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 | -->|{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|combodamage}}{{#var:global}}<!-- | ||
-->{{#if:{{#pos:{{#var:all_abilities}}| | -->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|all}}<!-- | ||
-->|<br><span style="color:#eee8;"> | -->|/{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|combodamage}}{{#var:global}} }} }}<!-- | ||
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 1| | --> 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}}|,|/}}<!-- | ||
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|riposte attack 1| | -->.<br> }}<!-- | ||
-->{{#if:{{#pos:{{#var:all_abilities}}|Special}}<!-- | |||
-->{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|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;"><!-- | ||
-->{{#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}}<!-- | |||
-->|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>}}<!-- | |||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|primary|attack 4|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>}}<!-- | |||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 1|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>}}<!-- | |||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|secondary|attack 2|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>}}<!-- | |||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 1|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>}}<!-- | |||
-->{{#if:{{Weapon Data|{{{1|{{PAGENAME}}}}}|abilities|special|riposte attack 2|attackspeed}}<!-- | |||
-->|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}} |
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 |
{{GenerateHitbox|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 |
{{GenerateHitbox|Longword}} |
ComboPrimary 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}} |
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 |