From Dark and Darker Wiki
(Changed globalization logic on combo mults.) |
(Updated artifact color rarity class) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
<th style="width:12%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Stats</th> | <th style="width:12%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Stats</th> | ||
<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Impact Zones + Impact Power/Resist</th> | <th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Impact Zones + Impact Power/Resist</th> | ||
<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"> | <th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Animation Times</th> | ||
<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Weapons#Movement_Multiplier_Explanation|Action Movement Penalty]]</th> | <th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Weapons#Movement_Multiplier_Explanation|Action Movement Penalty]]</th> | ||
<th style="width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Slowdown On Hit</th> | <th style="width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Slowdown On Hit</th> | ||
Line 25: | Line 25: | ||
<th style="width:12%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Stats</th> | <th style="width:12%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Stats</th> | ||
<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Impact Zones + Impact Power/Resist</th> | <th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Impact Zones + Impact Power/Resist</th> | ||
<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"> | <th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Animation Times</th> | ||
<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Weapons#Movement_Multiplier_Explanation|Action Movement Penalty]]</th> | <th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Weapons#Movement_Multiplier_Explanation|Action Movement Penalty]]</th> | ||
<th style="width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Slowdown On Hit</th> | <th style="width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Slowdown On Hit</th> | ||
Line 120: | Line 120: | ||
-->|<span class="colorrarity7">{{#var:weapon_stat}}</span><br>}}<!-- | -->|<span class="colorrarity7">{{#var:weapon_stat}}</span><br>}}<!-- | ||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:artifactname}}|stats|Physical Base Weapon Damage}} }}<!-- | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:artifactname}}|stats|Physical Base Weapon Damage}} }}<!-- | ||
-->|<span class=" | -->|<span class="colorrarity8">{{#var:weapon_stat}}</span><br>}} }}</div>}}<!-- | ||
Magical Base Weapon Damage | Magical Base Weapon Damage | ||
-->{{#if:{{#pos:{{#var:AllStats}}|Magical Base Weapon Damage}}<!-- | -->{{#if:{{#pos:{{#var:AllStats}}|Magical Base Weapon Damage}}<!-- | ||
Line 144: | Line 144: | ||
-->|<span class="colorrarity7">{{#var:mag_weapon_stat}}</span>}}<!-- | -->|<span class="colorrarity7">{{#var:mag_weapon_stat}}</span>}}<!-- | ||
-->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:artifactname}}}|stats|Magical Base Weapon Damage}} }}<!-- | -->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:artifactname}}}|stats|Magical Base Weapon Damage}} }}<!-- | ||
-->|<span class=" | -->|<span class="colorrarity8">{{#var:mag_weapon_stat}}</span>}} }}</div>}} }}<!-- | ||
Armor Rating | Armor Rating | ||
-->{{#if:{{#var:is_shield}}<!-- | -->{{#if:{{#var:is_shield}}<!-- | ||
Line 167: | Line 167: | ||
-->|<span class="colorrarity7">{{#var:weapon_stat}}</span><br>}}<!-- | -->|<span class="colorrarity7">{{#var:weapon_stat}}</span><br>}}<!-- | ||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:artifactname}}|stats|armor rating}} }}<!-- | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:artifactname}}|stats|armor rating}} }}<!-- | ||
-->|<span class=" | -->|<span class="colorrarity8">{{#var:weapon_stat}}</span>}} }}</td>}}<!-- | ||
Stats | Stats | ||
-->{{#if:{{#var:is_shield}}<!-- | -->{{#if:{{#var:is_shield}}<!-- | ||
-->||<td>{{ | -->||<td>{{#loop: i|0|{{#arraysize:stats}}<!-- | ||
-->|{{#vardefine:stat|{{#arrayindex:stats|{{#var:i}} }} }}<!-- | |||
|{{#vardefine:stat|{{#arrayindex:stats|{{#var:i}} }} }}<!-- | |||
If the stats isn't Physical Base Weapon Damage,Magical Base Weapon Damage, or Armor Rating, or Move Speed, display it. | If the stats isn't Physical Base Weapon Damage,Magical Base Weapon Damage, or Armor Rating, or Move Speed, display it. | ||
-->{{#if:{{#ifeq:{{#var:stat}}|Physical Base Weapon Damage|true}}{{#ifeq:{{#var:stat}}|Magical Base Weapon Damage|true}}{{#pos:{{#var:stat}}|Armor Rating}}{{#pos:{{#var:stat}}|Move Speed}}<!-- | -->{{#if:{{#ifeq:{{#var:stat}}|Physical Base Weapon Damage|true}}{{#ifeq:{{#var:stat}}|Magical Base Weapon Damage|true}}{{#pos:{{#var:stat}}|Armor Rating}}{{#pos:{{#var:stat}}|Move Speed}}<!-- | ||
Line 198: | Line 195: | ||
-->|<span class="colorrarity7">{{#var:weapon_stat}}</span>}}<!-- | -->|<span class="colorrarity7">{{#var:weapon_stat}}</span>}}<!-- | ||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:artifactname}}|stats|{{ #var:stat }} }} }}<!-- | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:artifactname}}|stats|{{ #var:stat }} }} }}<!-- | ||
-->|<span class=" | -->| {{!}} <span class="colorrarity8">{{#var:weapon_stat}}</span>}}<br>}} }} }}</td>}}<!-- | ||
Hitbox | Hitbox | ||
Line 240: | Line 237: | ||
-->{{#if:{{#pos:{{#var:abilities}}|Primary}}<!-- | -->{{#if:{{#pos:{{#var:abilities}}|Primary}}<!-- | ||
If the weapon have a global primary damage type, display it | If the weapon have a global primary damage type, display it | ||
-->|{{#if:{{#vardefineecho:global_damagetype|{{Weapon Data|{{#var:current}}|abilities|primary|global|damagetype}} }}<!-- | -->|<span style="color:#eee8;">Primary Attacks</span><br><!-- | ||
-->| | -->{{#vardefine:attacks|{{Weapon Data|{{#var:current}}|abilities|primary|all}} }}<!-- | ||
-->{{#if:{{#vardefineecho:global_damagetype|{{Weapon Data|{{#var:current}}|abilities|primary|global|damagetype}} }}<!-- | |||
-->|All {{#var:global_damagetype}}<!-- | |||
Else if the weapon has primary damage types, display them | Else if the weapon has primary damage types, display them | ||
-->|{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|primary|attack 1|damagetype}} }}<!-- | -->|{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|primary|attack 1|damagetype}} }}<!-- | ||
-->| | -->|{{#var:damagetype}}<!-- | ||
-->{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|primary|attack 2|damagetype}} }}<!-- | -->{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|primary|attack 2|damagetype}} }}<!-- | ||
-->|/{{#var:damagetype}}<!-- | -->|/{{#var:damagetype}}<!-- | ||
Line 255: | Line 252: | ||
If the weapon have a global primary combo damage, display it | If the weapon have a global primary combo damage, display it | ||
-->{{#vardefine:global_combodamage|{{Weapon Data|{{#var:current}}|abilities|primary|global|combodamage}} }}<!-- | -->{{#vardefine:global_combodamage|{{Weapon Data|{{#var:current}}|abilities|primary|global|combodamage}} }}<!-- | ||
--><br>{{Weapon Data|{{#var:current}}|abilities|primary|attack 1|combodamage}}<!-- | --><br>{{Weapon Data|{{#var:current}}|abilities|primary|attack 1|combodamage}}{{#var:global_combodamage}}<!-- | ||
-->{{#if:{{# | -->{{#if:{{#pos:{{#var:attacks}}|2}}<!-- | ||
-->|/{{#var:combodamage}}{{#var:global_combodamage}}<!-- | -->|/{{Weapon Data|{{#var:current}}|abilities|primary|attack 2|combodamage}}{{#var:global_combodamage}}<!-- | ||
-->{{#if:{{# | -->{{#if:{{#pos:{{#var:attacks}}|3}}<!-- | ||
-->|/{{#var:combodamage}}{{#var:global_combodamage}}<!-- | -->|/{{Weapon Data|{{#var:current}}|abilities|primary|attack 3|combodamage}}{{#var:global_combodamage}}<!-- | ||
-->{{#if:{{# | -->{{#if:{{#pos:{{#var:attacks}}|4}}<!-- | ||
-->|/{{#var:combodamage}}{{#var:global_combodamage}} }} }} }} }}<!-- | -->|/{{Weapon Data|{{#var:current}}|abilities|primary|attack 4|combodamage}}{{#var:global_combodamage}} }} }} }} }}<!-- | ||
-->{{#if:{{#pos:{{#var:abilities}}|Secondary}}<!-- | -->{{#if:{{#pos:{{#var:abilities}}|Secondary}}<!-- | ||
If the weapon has a global secondary damage type, display it | If the weapon has a global secondary damage type, display it | ||
-->|<br><span style="color:#eee8;">Secondary Attacks</span><br><!-- | -->|<br><span style="color:#eee8;">Secondary Attacks</span><br><!-- | ||
-->{{#vardefine:attacks|{{Weapon Data|{{#var:current}}|abilities|secondary|all}} }}<!-- | |||
-->{{#if:{{#vardefineecho:global_damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|global|damagetype}} }}<!-- | -->{{#if:{{#vardefineecho:global_damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|global|damagetype}} }}<!-- | ||
-->|All {{#var:global_damagetype}}<!-- | -->|All {{#var:global_damagetype}}<!-- | ||
Line 276: | Line 274: | ||
-->|/{{#var:damagetype}} }} }} }} }}<!-- | -->|/{{#var:damagetype}} }} }} }} }}<!-- | ||
If the weapon has a global secondary combo damage, display it | If the weapon has a global secondary combo damage, display it | ||
-->{{# | -->{{#vardefine:global_combodamage|{{Weapon Data|{{#var:current}}|abilities|secondary|global|combodamage}} }}<!-- | ||
--><br>{{Weapon Data|{{#var:current}}|abilities|secondary|attack 1|combodamage}}{{#var:global_combodamage}}<!-- | |||
-->{{#if:{{#pos:{{#var:attacks}}|2}}<!-- | |||
-->|/{{Weapon Data|{{#var:current}}|abilities|secondary|attack 2|combodamage}}{{#var:global_combodamage}}<!-- | |||
-->{{#if:{{#pos:{{#var:attacks}}|3}}<!-- | |||
-->|/{{Weapon Data|{{#var:current}}|abilities|secondary|attack 3|combodamage}}{{#var:global_combodamage}} }} }} }}<!-- | |||
-->{{#if:{{#pos:{{#var:abilities}}|Special}}<!-- | -->{{#if:{{#pos:{{#var:abilities}}|Special}}<!-- | ||
If the weapon has a global special damage type, display it | If the weapon has a global special damage type, display it | ||
-->|{{#if:{{#vardefineecho:global_damagetype|{{Weapon Data|{{#var:current}}|abilities|special|global|damagetype}} }}<!-- | -->|<br><span style="color:#eee8;">Special Attacks</span><br><!-- | ||
-->| | -->{{#vardefine:attacks|{{Weapon Data|{{#var:current}}|abilities|special|all}} }}<!-- | ||
-->{{#if:{{#vardefineecho:global_damagetype|{{Weapon Data|{{#var:current}}|abilities|special|global|damagetype}} }}<!-- | |||
-->|All {{#var:global_damagetype}}<!-- | |||
Else if the weapon has special damage types, display them | Else if the weapon has special damage types, display them | ||
-->|{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|special|riposte attack 1|damagetype}} }}<!-- | -->|{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|special|riposte attack 1|damagetype}} }}<!-- | ||
-->| | -->|{{#var:damagetype}}<!-- | ||
-->{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|special|riposte attack 2|damagetype}} }}<!-- | -->{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|special|riposte attack 2|damagetype}} }}<!-- | ||
-->|/{{#var:damagetype}} }} }} }}<!-- | -->|/{{#var:damagetype}} }} }} }}<!-- | ||
If the weapon has a global special combo damage, display it | If the weapon has a global special combo damage, display it | ||
-->{{# | -->{{#vardefine:global_combodamage|{{Weapon Data|{{#var:current}}|abilities|special|global|combodamage}} }}<!-- | ||
--><br>{{Weapon Data|{{#var:current}}|abilities|special|riposte attack 1|combodamage}}{{#var:global_combodamage}}<!-- | |||
-->{{#if:{{#pos:{{#var:attacks}}|2}}<!-- | |||
-->|/{{Weapon Data|{{#var:current}}|abilities|special|riposte attack 2|combodamage}}{{#var:global_combodamage}} }} }}</td>}}<!-- | |||
Attack Animation Times | |||
-->{{#if:{{#var:is_bow}}{{#var:is_crossbow}}<!-- | -->{{#if:{{#var:is_bow}}{{#var:is_crossbow}}<!-- | ||
-->|<td>{{Weapon Data|{{#var:current}}| | -->|<td><span style="color:#eee8;">Primary Attack</span><!-- | ||
-->{{#if:{{#vardefineecho:Windup|{{Weapon Animation Times Data|{{#var:current}}|Primary|Attack 1|Windup}} }}|<br>Windup: {{#var:Windup}} }}<!-- | |||
--><br>Finish: {{Weapon Animation Times Data|{{#var:current}}|Primary|Attack 1|Finish}}{{Weapon Animation Times Data|{{#var:current}}|Secondary|Attack 1|Finish}}<!-- | |||
--><br><br><span style="color:#eee8;">Reload</span><br>{{Weapon Animation Times Data|{{#var:current}}|Other|Reload|Windup}}{{Weapon Animation Times Data|{{#var:current}}|Other|Reload|Finish}}</td>}}<!-- | |||
Action Movement Penalty | Action Movement Penalty | ||
Line 402: | Line 398: | ||
<th>Code</th> | <th>Code</th> | ||
<th>Preview</th></tr> | <th>Preview</th></tr> | ||
<tr> | |||
<td style="padding: 20px 30px;"> | |||
<pre>{{GenerateWeaponTable|Uncraftable|Sword}}</pre></td> | |||
<td style="padding: 20px 30px;"> | |||
{{GenerateWeaponTable|Uncraftable|Sword}}</td></tr> | |||
<tr> | <tr> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> | ||
Line 416: | Line 417: | ||
<pre>{{GenerateWeaponTable|Uncraftable|Bow|type=Bow}}</pre></td> | <pre>{{GenerateWeaponTable|Uncraftable|Bow|type=Bow}}</pre></td> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> | ||
{{GenerateWeaponTable|Uncraftable|Bow|type=Bow}}</td></tr></table> | {{GenerateWeaponTable|Uncraftable|Bow|type=Bow}}</td></tr> | ||
<tr> | |||
<td style="padding: 20px 30px;"> | |||
<pre>{{GenerateWeaponTable|Uncraftable|Crossbow|type=Bow}}</pre></td> | |||
<td style="padding: 20px 30px;"> | |||
{{GenerateWeaponTable|Uncraftable|crossbow|type=Bow}}</td></tr></table> | |||
</noinclude> | </noinclude> |
Latest revision as of 16:12, 30 April 2025
Parameters:
- 1={Craftable,Uncraftable,Both}
- 2={Shield,Sword,Axe,Polearm,Unarmed,Mace,Bow,Dagger,MagicStuff,Staff,Crossbow,Throwable,LightSource}
- type={Bow,Crossbow,Shield} (optional)
Code | Preview | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{GenerateWeaponTable|Uncraftable|Sword}} |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{GenerateWeaponTable|Uncraftable|Dagger}} |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{GenerateWeaponTable|Craftable|Shield}} |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{GenerateWeaponTable|Uncraftable|Bow|type=Bow}} |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{GenerateWeaponTable|Uncraftable|Crossbow|type=Bow}} |
|