From Dark and Darker Wiki
(Merging the following template: WeaponTable, GenerateWeaponRows, GenerateWeaponRow) |
m (uniques>artifacts) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><table cellspacing="0" class="wikitable sortable jquery-tablesorter" style="text-align:center; vertical-align:middle;"> | <includeonly><!-- | ||
--><table cellspacing="0" class="wikitable sortable jquery-tablesorter" style="text-align:center; vertical-align:middle;"> | |||
<tr style="font-weight:bold;"> | <tr style="font-weight:bold;"> | ||
<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Name</th> | <th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Name</th> | ||
Line 9: | Line 11: | ||
<th style="width:15%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Armor Rating</th> | <th style="width:15%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Armor Rating</th> | ||
<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Impact Resist</th> | <th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Impact Resist</th> | ||
<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Action Movement | <th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">[[Weapons#Movement_Multiplier_Explanation|Action Movement Penalty]]</th> | ||
|bow= | |bow= | ||
<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:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"> | <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">Reload Speed</th> | ||
<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Action Movement | <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> | ||
<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Quiver Size</th> | <th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Quiver Size</th> | ||
Line 22: | Line 24: | ||
<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:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"> | <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">Reload Speed</th> | ||
<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Action Movement | <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> | ||
<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Initial Projectile Speed (m/s)</th> | <th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Initial Projectile Speed (m/s)</th> | ||
Line 33: | Line 35: | ||
<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Combo Attack Speed</th> | <th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Combo Attack Speed</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">Impact Zones + Impact Power/Resist</th> | ||
<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Action Movement | <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> | ||
}} | }} | ||
<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Artifact</th> | <th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Artifact</th></tr><!-- | ||
-->{{#arraydefine:weapons|{{Weapon Data|Alllists|Types|Weapon|{{{1}}}|{{{2}}}}}}}<!-- | -->{{#arraydefine:weapons|{{Weapon Data|Alllists|Types|Weapon|{{{1}}}|{{{2}}}}}}}<!-- | ||
-->{{#loop:i|0|{{#arraysize:weapons}}<!-- | -->{{#loop:i|0|{{#arraysize:weapons}}<!-- | ||
Line 54: | Line 55: | ||
-->{{Iconbox|{{#var:current}}<!-- | -->{{Iconbox|{{#var:current}}<!-- | ||
-->|image={{#var:current}}<!-- | -->|image={{#var:current}}<!-- | ||
-->{{#if:{{Weapon Data|{{#var:current}}| | -->{{#if:{{Weapon Data|{{#var:current}}|iscraftableby}}|| 2}}.png<!-- | ||
-->|size={{IconboxInventorySize|Weapon Data|{{#var:current}}}}<!-- | -->|size={{IconboxInventorySize|Weapon Data|{{#var:current}}}}<!-- | ||
-->|rarity=<!-- | -->|rarity=<!-- | ||
Line 92: | Line 93: | ||
-->{{#if:{{#var:is_shield}}<!-- | -->{{#if:{{#var:is_shield}}<!-- | ||
-->||<td><!-- | -->||<td><!-- | ||
Physical Weapon Damage | Physical Base Weapon Damage | ||
If the weapon has Physical Weapon Damage value or it has Physical Weapon Damage 0-7 values display it. | If the weapon has Physical Base Weapon Damage value or it has Physical Base Weapon Damage 0-7 values display it. | ||
Note: The weapon can have Physical Weapon Damage Add, which should no be displayed here. | Note: The weapon can have Physical Base Weapon Damage Add, which should no be displayed here. | ||
-->{{#if: {{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if: {{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|Physical Base Weapon Damage}} }}<!-- | ||
-->{{#vardefineecho:weapon_stat_5|{{Weapon Data|{{#var:current}}|stats| | -->{{#vardefineecho:weapon_stat_5|{{Weapon Data|{{#var:current}}|stats|Physical Base Weapon Damage 5}} }}<!-- | ||
-->|<div style="display:inline-block; vertical-align:top;"><!-- | -->|<div style="display:inline-block; vertical-align:top; margin-left:15px; margin-right:15px;"><!-- | ||
--><span style="color:#eee8;">Physical Weapon Damage<br></span><!-- | --><span style="color:#eee8;">Physical Base Weapon Damage<br></span><!-- | ||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|Physical Base Weapon Damage}} }}<!-- | ||
-->|{{#var:weapon_stat}}<!-- | -->|{{#var:weapon_stat}}<!-- | ||
-->|{{#vardefine:use_horizontal_format|{{#if:{{#vardefineecho:mag_weapon_stat_5|{{Weapon Data|{{#var:current}}|stats| | -->|{{#vardefine:use_horizontal_format|{{#if:{{#vardefineecho:mag_weapon_stat_5|{{Weapon Data|{{#var:current}}|stats|Magical Base Weapon Damage 5}} }}|1}} }}<!-- | ||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|Physical Base Weapon Damage 0}} }}<!-- | ||
-->|<span class="colorrarity0">{{#var:weapon_stat}}</span><br>}}<!-- | -->|<span class="colorrarity0">{{#var:weapon_stat}}</span><br>}}<!-- | ||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|Physical Base Weapon Damage 1}} }}<!-- | ||
-->|<span class="colorrarity1">{{#var:weapon_stat}}</span><br>}}<!-- | -->|<span class="colorrarity1">{{#var:weapon_stat}}</span><br>}}<!-- | ||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|Physical Base Weapon Damage 2}} }}<!-- | ||
-->|<span class="colorrarity2">{{#var:weapon_stat}}</span><br>}}<!-- | -->|<span class="colorrarity2">{{#var:weapon_stat}}</span><br>}}<!-- | ||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|Physical Base Weapon Damage 3}} }}<!-- | ||
-->|<span class="colorrarity3">{{#var:weapon_stat}}</span><br>}}<!-- | -->|<span class="colorrarity3">{{#var:weapon_stat}}</span><br>}}<!-- | ||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|Physical Base Weapon Damage 4}} }}<!-- | ||
-->|<span class="colorrarity4">{{#var:weapon_stat}}</span><br>}}<!-- | -->|<span class="colorrarity4">{{#var:weapon_stat}}</span><br>}}<!-- | ||
-->{{#if:{{#var:weapon_stat_5}}<!-- | -->{{#if:{{#var:weapon_stat_5}}<!-- | ||
-->|<span class="colorrarity5">{{#var:weapon_stat_5}}</span><br>}}<!-- | -->|<span class="colorrarity5">{{#var:weapon_stat_5}}</span><br>}}<!-- | ||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|Physical Base Weapon Damage 6}} }}<!-- | ||
-->|<span class="colorrarity6">{{#var:weapon_stat}}</span><br>}}<!-- | -->|<span class="colorrarity6">{{#var:weapon_stat}}</span><br>}}<!-- | ||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|Physical Base Weapon Damage 7}} }}<!-- | ||
-->|<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| | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:artifactname}}|stats|Physical Base Weapon Damage}} }}<!-- | ||
-->|<span class="colorrarity7">{{#var:weapon_stat}}</span><br>}} }}</div>}}<!-- | -->|<span class="colorrarity7">{{#var:weapon_stat}}</span><br>}} }}</div>}}<!-- | ||
Magical Weapon Damage | Magical Base Weapon Damage | ||
-->{{#if:{{#pos:{{#var:AllStats}}|Magical Weapon Damage}}<!-- | -->{{#if:{{#pos:{{#var:AllStats}}|Magical Base Weapon Damage}}<!-- | ||
-->|<div style="display:inline-block; vertical-align:top; | -->|<div style="display:inline-block; vertical-align:top; margin-left:15px; margin-right:15px;"><!-- | ||
--><span style="color:#eee8;">Magical Weapon Damage<br></span><!-- | --><span style="color:#eee8;">Magical Base Weapon Damage<br></span><!-- | ||
-->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats|Magical Base Weapon Damage}} }}<!-- | ||
-->|{{#var:mag_weapon_stat}}<!-- | -->|{{#var:mag_weapon_stat}}<!-- | ||
-->|{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->|{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats|Magical Base Weapon Damage 0}} }}<!-- | ||
-->|<span class="colorrarity0">{{#var:mag_weapon_stat}}</span><br>}}<!-- | -->|<span class="colorrarity0">{{#var:mag_weapon_stat}}</span><br>}}<!-- | ||
-->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats|Magical Base Weapon Damage 1}} }}<!-- | ||
-->|<span class="colorrarity1">{{#var:mag_weapon_stat}}</span><br>}}<!-- | -->|<span class="colorrarity1">{{#var:mag_weapon_stat}}</span><br>}}<!-- | ||
-->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats|Magical Base Weapon Damage 2}} }}<!-- | ||
-->|<span class="colorrarity2">{{#var:mag_weapon_stat}}</span><br>}}<!-- | -->|<span class="colorrarity2">{{#var:mag_weapon_stat}}</span><br>}}<!-- | ||
-->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats|Magical Base Weapon Damage 3}} }}<!-- | ||
-->|<span class="colorrarity3">{{#var:mag_weapon_stat}}</span><br>}}<!-- | -->|<span class="colorrarity3">{{#var:mag_weapon_stat}}</span><br>}}<!-- | ||
-->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats|Magical Base Weapon Damage 4}} }}<!-- | ||
-->|<span class="colorrarity4">{{#var:mag_weapon_stat}}</span><br>}}<!-- | -->|<span class="colorrarity4">{{#var:mag_weapon_stat}}</span><br>}}<!-- | ||
-->{{#if:{{#var:mag_weapon_stat_5}}<!-- | -->{{#if:{{#var:mag_weapon_stat_5}}<!-- | ||
-->|<span class="colorrarity5">{{#var:mag_weapon_stat_5}}</span><br>}}<!-- | -->|<span class="colorrarity5">{{#var:mag_weapon_stat_5}}</span><br>}}<!-- | ||
-->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats|Magical Base Weapon Damage 6}} }}<!-- | ||
-->|<span class="colorrarity6">{{#var:mag_weapon_stat}}</span><br>}}<!-- | -->|<span class="colorrarity6">{{#var:mag_weapon_stat}}</span><br>}}<!-- | ||
-->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats| | -->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:current}}|stats|Magical Base Weapon Damage 7}} }}<!-- | ||
-->|<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| | -->{{#if:{{#vardefineecho:mag_weapon_stat|{{Weapon Data|{{#var:artifactname}}}|stats|Magical Base Weapon Damage}} }}<!-- | ||
-->|<span class="colorrarity7">{{#var:mag_weapon_stat}}</span>}} }}</div>}} }}<!-- | -->|<span class="colorrarity7">{{#var:mag_weapon_stat}}</span>}} }}</div>}} }}<!-- | ||
Armor Rating | Armor Rating | ||
-->{{#if:{{#var:is_shield}}<!-- | -->{{#if:{{#var:is_shield}}<!-- | ||
-->|<td><!-- | -->|<td><!-- | ||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 0}} }}<!-- | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating}} }}<!-- | ||
-->|{{#var:weapon_stat}}<!-- | |||
-->|{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 0}} }}<!-- | |||
-->|<span class="colorrarity0">{{#var:weapon_stat}}</span><br>}}<!-- | |||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 1}} }}<!-- | |||
-->|<span class="colorrarity1">{{#var:weapon_stat}}</span><br>}}<!-- | |||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 2}} }}<!-- | |||
-->|<span class="colorrarity2">{{#var:weapon_stat}}</span><br>}}<!-- | |||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 3}} }}<!-- | |||
-->|<span class="colorrarity3">{{#var:weapon_stat}}</span><br>}}<!-- | |||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 4}} }}<!-- | |||
-->|<span class="colorrarity4">{{#var:weapon_stat}}</span><br>}}<!-- | |||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 5}} }}<!-- | |||
-->|<span class="colorrarity5">{{#var:weapon_stat}}</span><br>}}<!-- | |||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 6}} }}<!-- | |||
-->|<span class="colorrarity6">{{#var:weapon_stat}}</span><br>}}<!-- | |||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 7}} }}<!-- | |||
-->|<span class="colorrarity7">{{#var:weapon_stat}}</span><br>}}<!-- | |||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:artifactname}}|stats|armor rating}} }}<!-- | |||
-->|<span class="colorrarity7">{{#var:weapon_stat}}</span>}} }}</td>}}<!-- | |||
Stats | Stats | ||
Line 173: | Line 176: | ||
|{{#arraysize:stats}} | |{{#arraysize:stats}} | ||
|{{#vardefine:stat|{{#arrayindex:stats|{{#var:i}} }} }}<!-- | |{{#vardefine:stat|{{#arrayindex:stats|{{#var:i}} }} }}<!-- | ||
If the stats isn't Physical Weapon Damage,Magical 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 Weapon Damage|true}}{{#ifeq:{{#var:stat}}|Magical 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}}<!-- | ||
-->||<span style="color:#eee8;">{{#var:stat}}</span><br><!-- | -->||<span style="color:#eee8;">{{#var:stat}}</span><br><!-- | ||
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|{{#var:stat}} }} }}<!-- | -->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|{{#var:stat}} }} }}<!-- | ||
Line 326: | Line 329: | ||
-->|<td>{{Weapon Data|{{#var:current}}|reloadtime}}s</td>}}<!-- | -->|<td>{{Weapon Data|{{#var:current}}|reloadtime}}s</td>}}<!-- | ||
Movement | Action Movement Penalty | ||
--><td><!-- | --><td><!-- | ||
If the weapon has abilities, loop through them | If the weapon has abilities, loop through them | ||
Line 339: | Line 342: | ||
-->{{#if:{{#var:preparemovespeed}}<!-- | -->{{#if:{{#var:preparemovespeed}}<!-- | ||
-->|<span style="color:#eee8;"><!-- | -->|<span style="color:#eee8;"><!-- | ||
-->Mid Attack: </span><!-- | -->Mid Attack: </span>x<!-- | ||
-->{{#var:preparemovespeed}}<br><!-- | -->{{#var:preparemovespeed}}<br><!-- | ||
--><span style="color:#eee8;"><!-- | --><span style="color:#eee8;"><!-- | ||
-->Otherwise: </span><!-- | -->Otherwise: </span>x<!-- | ||
-->{{#var:movespeed}}<br><br><!-- | -->{{#var:movespeed}}<br><br><!-- | ||
-->|<span style="color:#eee8;"><!-- | -->|<span style="color:#eee8;"><!-- | ||
-->Always: </span><!-- | -->Always: </span>x<!-- | ||
-->{{#var:movespeed}}<br><br>}}<!-- | -->{{#var:movespeed}}<br><br>}}<!-- | ||
Line 362: | Line 365: | ||
-->{{#if:{{#var:preparemovespeed}}<!-- | -->{{#if:{{#var:preparemovespeed}}<!-- | ||
-->|<span style="color:#eee8;"><!-- | -->|<span style="color:#eee8;"><!-- | ||
-->Mid Attack: </span><!-- | -->Mid Attack: </span>x<!-- | ||
-->{{#var:preparemovespeed}}<br><!-- | -->{{#var:preparemovespeed}}<br><!-- | ||
--><span style="color:#eee8;"><!-- | --><span style="color:#eee8;"><!-- | ||
-->Otherwise: </span><!-- | -->Otherwise: </span>x<!-- | ||
-->{{#var:movespeed}}<br><br><!-- | -->{{#var:movespeed}}<br><br><!-- | ||
-->|<span style="color:#eee8;"><!-- | -->|<span style="color:#eee8;"><!-- | ||
-->Always: </span><!-- | -->Always: </span>x<!-- | ||
-->{{#var:movespeed}}<br><br>}} }} }} }} }}<!-- | -->{{#var:movespeed}}<br><br>}} }} }} }} }}<!-- | ||
Slowdown On Hit | Slowdown On Hit | ||
-->{{#arraydefine:all_attacks|{{Weapon Data|{{#var:current}}|Abilities|Primary|all}} }}{{#arraydefine:global|Global}}{{#arraydiff:all_attacks|all_attacks|global}}<!-- | |||
-->{{#vardefine:global_hitslow|{{Weapon Data|{{#var:current}}|Abilities|Primary|Global|Effects|HitSlow|Rarity|Global|Move Speed Bonus}} }}<!-- | |||
-->{{#vardefine:global_hitslow_duration|{{Weapon Data|{{#var:current}}|Abilities|Primary|Global|Effects|HitSlow|Rarity|Global|Duration}} }}<!-- | |||
-->{{#if:{{#var:is_shield}}<!-- | -->{{#if:{{#var:is_shield}}<!-- | ||
-->||<td>{{#if:{{# | -->||<td><!-- | ||
-->{{#if:{{#var:global_hitslow}}<!-- | |||
-->|<span style="color:#eee8;">Hitslow</span><br>{{#var:global_hitslow}}<!-- | |||
-->|{{#loop:i|0|{{#arraysize:all_attacks}}<!-- | |||
-->|{{#vardefine:current_attack|{{#arrayindex:all_attacks|{{#var:i}} }} }}<!-- | |||
-->{{#ifeq:{{#var:i}}|0|<span style="color:#eee8;">Hitslow</span><br>|/}}<!-- | |||
-->{{Weapon Data|{{#var:current}}|Abilities|Primary|{{#var:current_attack}}|Effects|HitSlow|Rarity|Global|Move Speed Bonus}} }} }}<!-- | |||
-->{{#if:{{#var:global_hitslow_duration}}<!-- | |||
-->| for {{#var:global_hitslow_duration}}s<!-- | |||
-->|{{#loop:i|0|{{#arraysize:all_attacks}}<!-- | |||
-->|{{#vardefine:current_attack|{{#arrayindex:all_attacks|{{#var:i}} }} }}<!-- | |||
-->{{#ifeq:{{#var:i}}|0| for |/}}<!-- | |||
-->{{Weapon Data|{{#var:current}}|Abilities|Primary|{{#var:current_attack}}|Effects|HitSlow|Rarity|Global|Duration}}s}} }}</td>}}<!-- | |||
Max Ammo | Max Ammo | ||
Line 389: | Line 406: | ||
--><td><!-- | --><td><!-- | ||
-->{{#if:{{#var:artifactname}}<!-- | -->{{#if:{{#var:artifactname}}<!-- | ||
-->|[[ | -->|[[Artifacts|{{#var:artifactname}}]]<!-- | ||
-->|None}}</td></tr>}} }}<!-- | -->|None}}</td></tr>}} }}</table><!-- | ||
-- | --></includeonly><noinclude> | ||
Parameters: | Parameters: | ||
*1={Craftable,Uncraftable,Both} | *1={Craftable,Uncraftable,Both} | ||
Line 404: | Line 421: | ||
<tr> | <tr> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> | ||
<pre>{{GenerateWeaponTable|Craftable| | <pre>{{GenerateWeaponTable|Craftable|Dagger}}</pre></td> | ||
<td style="padding: 20px 30px;"> | |||
{{GenerateWeaponTable|Craftable|Dagger}}</td></tr> | |||
<tr> | |||
<td style="padding: 20px 30px;"> | |||
<pre>{{GenerateWeaponTable|Craftable|Shield}}</pre></td> | |||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> | ||
{{GenerateWeaponTable|Craftable| | {{GenerateWeaponTable|Craftable|Shield|type=Shield}}</td></tr> | ||
<tr> | <tr> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> |
Latest revision as of 14:54, 6 September 2024
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|Craftable|Dagger}} |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{GenerateWeaponTable|Craftable|Shield}} |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{GenerateWeaponTable|Uncraftable|Bow|type=Bow}} |
|