From Dark and Darker Wiki
m (uniques>artifacts) |
(Removing Combo Attack Times and replacing it with hitbox images. Moving the new hitbox column and old impact zones column nearer to Damage on Hit column.) |
||
Line 32: | Line 32: | ||
<th style="width:25%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Damage on Hit</th> | <th style="width:25%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Damage on Hit</th> | ||
<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:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Hitbox</th> | |||
<th style="width:10%" 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">Combo</th> | <th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Combo</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 199: | Line 199: | ||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:artifactname}}|stats|{{ #var:stat }} }} }}<!-- | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:artifactname}}|stats|{{ #var:stat }} }} }}<!-- | ||
-->|<span class="colorrarity7">{{#var:weapon_stat}}</span>}}<br>}} }} }}</td>}}<!-- | -->|<span class="colorrarity7">{{#var:weapon_stat}}</span>}}<br>}} }} }}</td>}}<!-- | ||
Hitbox | |||
-->{{#if:{{#var:is_shield}}{{#var:is_bow}}{{#var:is_crossbow}}<!-- | |||
-->||<td>[[File:{{#var:current}} Hitbox.png|link=|{{IconboxInventorySize|Weapon Data|{{#var:current}}}}]]</td>}}<!-- | |||
Impact Zones + Impact Power | |||
-->{{#arraydefine:all_abilities|{{#var:abilities}} }}<!-- | |||
--><td><!-- | |||
If the weapon has abilities, loop through them | |||
-->{{#loop: i|0|{{#arraysize:all_abilities}}<!-- | |||
-->|{{#vardefine:ability|{{#arrayindex:all_abilities|{{#var:i}} }} }}<!-- | |||
If ability is not Other | |||
-->{{#if:{{#pos:{{#var:ability}}|Other}}<!-- | |||
If the weapon has a global impact power, display it | |||
-->||{{#if:{{#vardefineecho:impactzones|{{#replace:{{Weapon Data|{{#var:current}}|abilities|{{#var:ability}}|global|impactzones}}|,|/}} }}<!-- | |||
-->|<span style="color:#eee8;">{{#var:ability}} Attacks</span><br><!-- | |||
-->{{#var:impactzones}}<!-- | |||
-->{{#if:{{#var:impactzones}}| + }}<!-- If Impact Zones exist, display a separator | |||
-->{{Weapon Data|{{#var:current}}|abilities|{{#var:ability}}|global|impactpower}}<br><!-- | |||
Else loop though all attacks | |||
-->|{{#arraydefine:all_attacks|{{Weapon Data|{{#var:current}}|abilities|{{#var:ability}}|all}} }}<!-- | |||
-->{{#loop:i|0|{{#arraysize:all_attacks}}<!-- | |||
-->|{{#vardefine:attack|{{#arrayindex:all_attacks|{{#var:i}} }} }}<!-- | |||
-->{{#if:{{#vardefineecho:impactzones|{{#replace:{{Weapon Data|{{#var:current}}|abilities|{{#var:ability}}|{{#var:attack}}|impactzones}}|,|/}} }}<!-- | |||
-->|<span style="color:#eee8;">{{#var:ability}} {{#var:attack}}</span><br><!-- | |||
-->{{#var:impactzones}}<!-- | |||
If Impact Zones exist, display a separator | |||
-->{{#if:{{#var:impactzones}}| + }}<!-- | |||
-->{{#if:{{#vardefineecho:impactpower|{{Weapon Data|{{#var:current}}|abilities|{{#var:ability}}|{{#var:attack}}|impactpower}} }}<!-- | |||
-->|{{#var:impactpower}}<!-- | |||
-->|{{Weapon Data|{{#var:current}}|abilities|{{#var:ability}}|global|impactpower}} }}<br>}} }} }} }} }}<!-- | |||
If the weapon has impact resistance, display it | |||
-->{{#if:{{Weapon Data|{{#var:current}}|impactresistance}}<!-- | |||
-->|<span style="color:#eee8;">Impact Resist</span><br><!-- | |||
-->{{Weapon Data|{{#var:current}}|impactresistance}} }}</td><!-- | |||
Combo | Combo | ||
Line 268: | Line 303: | ||
-->{{#if:{{#vardefineecho:combodamage|{{Weapon Data|{{#var:current}}|abilities|special|riposte attack 2|combodamage}} }}<!-- | -->{{#if:{{#vardefineecho:combodamage|{{Weapon Data|{{#var:current}}|abilities|special|riposte attack 2|combodamage}} }}<!-- | ||
-->|/{{#var:combodamage}} }} }} }}</td>}}<!-- | -->|/{{#var:combodamage}} }} }} }}</td>}}<!-- | ||
Reload Time | Reload Time | ||
Line 421: | Line 400: | ||
<tr> | <tr> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> | ||
<pre>{{GenerateWeaponTable| | <pre>{{GenerateWeaponTable|Uncraftable|Dagger}}</pre></td> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> | ||
{{GenerateWeaponTable| | {{GenerateWeaponTable|Uncraftable|Dagger}}</td></tr> | ||
<tr> | <tr> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> |
Revision as of 21:50, 13 February 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|Dagger}} |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{GenerateWeaponTable|Craftable|Shield}} |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{GenerateWeaponTable|Uncraftable|Bow|type=Bow}} |
|