From Dark and Darker Wiki
(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.) |
(Added horizontal bar between Unique and Artifact stats on horizontal display.) |
||
| (7 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 171: | Line 171: | ||
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="colorrarity7">{{#var:weapon_stat}}</span>}}<br>}} }} }}</td>}}<!-- | -->| {{!}} <span class="colorrarity7">{{#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 254: | Line 251: | ||
-->|/{{#var:damagetype}} }} }} }} }} }}<!-- | -->|/{{#var:damagetype}} }} }} }} }} }}<!-- | ||
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}} }}<!-- | ||
--><br>{{Weapon Data|{{#var:current}}|abilities|primary|attack 1|combodamage}}{{#var:global_combodamage}}<!-- | |||
-->{{#if:{{#pos:{{#var:attacks}}|2}}<!-- | |||
-->|/{{Weapon Data|{{#var:current}}|abilities|primary|attack 2|combodamage}}{{#var:global_combodamage}}<!-- | |||
-->{{#if:{{#pos:{{#var:attacks}}|3}}<!-- | |||
-->|/{{Weapon Data|{{#var:current}}|abilities|primary|attack 3|combodamage}}{{#var:global_combodamage}}<!-- | |||
--> | -->{{#if:{{#pos:{{#var:attacks}}|4}}<!-- | ||
-->|/{{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 | ||
-->|{{#if:{{#vardefineecho:global_damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|global|damagetype}} }}<!-- | -->|<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}} }}<!-- | |||
-->|All {{#var:global_damagetype}}<!-- | |||
Else if the weapon has secondary damage types, display them | Else if the weapon has secondary damage types, display them | ||
-->|{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|attack 1|damagetype}} }}<!-- | -->|{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|attack 1|damagetype}} }}<!-- | ||
-->| | -->|{{#var:damagetype}}<!-- | ||
-->{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|attack 2|damagetype}} }}<!-- | -->{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|attack 2|damagetype}} }}<!-- | ||
-->|/{{#var:damagetype}} }} }} }}<!-- | -->|/{{#var:damagetype}}<!-- | ||
-->{{#if:{{#vardefineecho:damagetype|{{Weapon Data|{{#var:current}}|abilities|secondary|attack 3|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 322: | Line 319: | ||
-->|<span style="color:#eee8;"><!-- | -->|<span style="color:#eee8;"><!-- | ||
-->Mid Attack: </span>x<!-- | -->Mid Attack: </span>x<!-- | ||
-->{{#var:movespeed}}<br><!-- | |||
--><span style="color:#eee8;"><!-- | --><span style="color:#eee8;"><!-- | ||
-->Otherwise: </span>x<!-- | -->Otherwise: </span>x<!-- | ||
-->{{#var:preparemovespeed}}<br><br><!-- | |||
-->|<span style="color:#eee8;"><!-- | -->|<span style="color:#eee8;"><!-- | ||
-->Always: </span>x<!-- | -->Always: </span>x<!-- | ||
-->{{#var:movespeed}}<br><br>}}<!-- | |||
Else loop through all attacks | Else loop through all attacks | ||
| Line 345: | Line 342: | ||
-->|<span style="color:#eee8;"><!-- | -->|<span style="color:#eee8;"><!-- | ||
-->Mid Attack: </span>x<!-- | -->Mid Attack: </span>x<!-- | ||
-->{{#var:movespeed}}<br><!-- | |||
--><span style="color:#eee8;"><!-- | --><span style="color:#eee8;"><!-- | ||
-->Otherwise: </span>x<!-- | -->Otherwise: </span>x<!-- | ||
-->{{#var:preparemovespeed}}<br><br><!-- | |||
-->|<span style="color:#eee8;"><!-- | -->|<span style="color:#eee8;"><!-- | ||
-->Always: </span>x<!-- | -->Always: </span>x<!-- | ||
-->{{#var:movespeed}}<br><br>}} }} }} }} }}<!-- | |||
Slowdown On Hit | Slowdown On Hit | ||
-->{{#arraydefine:all_attacks|{{Weapon Data|{{#var:current}}|Abilities| | -->{{#ifeq:{{Weapon Data|{{#var:current}}|slottype}}|Off-Hand<!-- | ||
-->{{#vardefine:global_hitslow|{{Weapon Data|{{#var:current}}|Abilities| | -->|{{#vardefine:ability_type|Secondary}}<!-- | ||
-->{{#vardefine:global_hitslow_duration|{{Weapon Data|{{#var:current}}|Abilities| | -->|{{#vardefine:ability_type|Primary}} }}<!-- | ||
-->{{#arraydefine:all_attacks|{{Weapon Data|{{#var:current}}|Abilities|{{#var:ability_type}}|all}} }}{{#arraydefine:global|Global}}{{#arraydiff:all_attacks|all_attacks|global}}<!-- | |||
-->{{#vardefine:global_hitslow|{{Weapon Data|{{#var:current}}|Abilities|{{#var:ability_type}}|Global|Effects|HitSlow|Rarity|Global|Move Speed Bonus}} }}<!-- | |||
-->{{#vardefine:global_hitslow_duration|{{Weapon Data|{{#var:current}}|Abilities|{{#var:ability_type}}|Global|Effects|HitSlow|Rarity|Global|Duration}} }}<!-- | |||
-->{{#if:{{#var:is_shield}}<!-- | -->{{#if:{{#var:is_shield}}<!-- | ||
| Line 366: | Line 366: | ||
-->|{{#vardefine:current_attack|{{#arrayindex:all_attacks|{{#var:i}} }} }}<!-- | -->|{{#vardefine:current_attack|{{#arrayindex:all_attacks|{{#var:i}} }} }}<!-- | ||
-->{{#ifeq:{{#var:i}}|0|<span style="color:#eee8;">Hitslow</span><br>|/}}<!-- | -->{{#ifeq:{{#var:i}}|0|<span style="color:#eee8;">Hitslow</span><br>|/}}<!-- | ||
-->{{Weapon Data|{{#var:current}}|Abilities| | -->{{Weapon Data|{{#var:current}}|Abilities|{{#var:ability_type}}|{{#var:current_attack}}|Effects|HitSlow|Rarity|Global|Move Speed Bonus}} }} }}<!-- | ||
-->{{#if:{{#var:global_hitslow_duration}}<!-- | -->{{#if:{{#var:global_hitslow_duration}}<!-- | ||
-->| for {{#var:global_hitslow_duration}}s<!-- | -->| for {{#var:global_hitslow_duration}}s<!-- | ||
| Line 372: | Line 372: | ||
-->|{{#vardefine:current_attack|{{#arrayindex:all_attacks|{{#var:i}} }} }}<!-- | -->|{{#vardefine:current_attack|{{#arrayindex:all_attacks|{{#var:i}} }} }}<!-- | ||
-->{{#ifeq:{{#var:i}}|0| for |/}}<!-- | -->{{#ifeq:{{#var:i}}|0| for |/}}<!-- | ||
-->{{Weapon Data|{{#var:current}}|Abilities| | -->{{Weapon Data|{{#var:current}}|Abilities|{{#var:ability_type}}|{{#var:current_attack}}|Effects|HitSlow|Rarity|Global|Duration}}s}} }}</td>}}<!-- | ||
Max Ammo | Max Ammo | ||
| Line 398: | 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 412: | 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> | ||
Revision as of 04:03, 14 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}} |
|