From Dark and Darker Wiki

m (Fixed example.)
m (uniques>artifacts)
 
(3 intermediate revisions by 2 users not shown)
Line 148: Line 148:
-->{{#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}} }}<!--
-->|<span class="colorrarity0">{{#var:weapon_stat}}</span><br>}}<!--
-->|{{#var:weapon_stat}}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 1}} }}<!--
-->|{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 0}} }}<!--
-->|<span class="colorrarity1">{{#var:weapon_stat}}</span><br>}}<!--
-->|<span class="colorrarity0">{{#var:weapon_stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 2}} }}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 1}} }}<!--
-->|<span class="colorrarity2">{{#var:weapon_stat}}</span><br>}}<!--
-->|<span class="colorrarity1">{{#var:weapon_stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 3}} }}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 2}} }}<!--
-->|<span class="colorrarity3">{{#var:weapon_stat}}</span><br>}}<!--
-->|<span class="colorrarity2">{{#var:weapon_stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 4}} }}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 3}} }}<!--
-->|<span class="colorrarity4">{{#var:weapon_stat}}</span><br>}}<!--
-->|<span class="colorrarity3">{{#var:weapon_stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 5}} }}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 4}} }}<!--
-->|<span class="colorrarity5">{{#var:weapon_stat}}</span><br>}}<!--
-->|<span class="colorrarity4">{{#var:weapon_stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 6}} }}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 5}} }}<!--
-->|<span class="colorrarity6">{{#var:weapon_stat}}</span><br>}}<!--
-->|<span class="colorrarity5">{{#var:weapon_stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 7}} }}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 6}} }}<!--
-->|<span class="colorrarity7">{{#var:weapon_stat}}</span><br>}}<!--
-->|<span class="colorrarity6">{{#var:weapon_stat}}</span><br>}}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:artifactname}}|stats|armor rating}} }}<!--
-->{{#if:{{#vardefineecho:weapon_stat|{{Weapon Data|{{#var:current}}|stats|armor rating 7}} }}<!--
-->|<span class="colorrarity7">{{#var:weapon_stat}}</span>}}</td>}}<!--
-->|<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 375: Line 377:
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}}<!--
-->{{#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|AttackHitslow|Rarity|Global|Move Speed Bonus}} }}<!--
-->{{#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|AttackHitslow|Rarity|Global|Duration}} }}<!--
-->{{#vardefine:global_hitslow_duration|{{Weapon Data|{{#var:current}}|Abilities|Primary|Global|Effects|HitSlow|Rarity|Global|Duration}} }}<!--


-->{{#if:{{#var:is_shield}}<!--
-->{{#if:{{#var:is_shield}}<!--
Line 385: Line 387:
-->|{{#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|Primary|{{#var:current_attack}}|Effects|AttackHitslow|Rarity|Global|Move Speed Bonus}} }} }}<!--
-->{{Weapon Data|{{#var:current}}|Abilities|Primary|{{#var:current_attack}}|Effects|HitSlow|Rarity|Global|Move Speed Bonus}} }} }}<!--
-->{{#if:{{#var:global_hitslow_duration}}<!--
-->{{#if:{{#var:global_hitslow_duration}}<!--
-->|&nbsp;for&nbsp;{{#var:global_hitslow_duration}}s<!--
-->|&nbsp;for&nbsp;{{#var:global_hitslow_duration}}s<!--
Line 391: Line 393:
-->|{{#vardefine:current_attack|{{#arrayindex:all_attacks|{{#var:i}} }} }}<!--
-->|{{#vardefine:current_attack|{{#arrayindex:all_attacks|{{#var:i}} }} }}<!--
-->{{#ifeq:{{#var:i}}|0|&nbsp;for&nbsp;|/}}<!--
-->{{#ifeq:{{#var:i}}|0|&nbsp;for&nbsp;|/}}<!--
-->{{Weapon Data|{{#var:current}}|Abilities|Primary|{{#var:current_attack}}|Effects|AttackHitslow|Rarity|Global|Duration}}s}} }}</td>}}<!--
-->{{Weapon Data|{{#var:current}}|Abilities|Primary|{{#var:current_attack}}|Effects|HitSlow|Rarity|Global|Duration}}s}} }}</td>}}<!--


Max Ammo
Max Ammo
Line 404: Line 406:
--><td><!--
--><td><!--
-->{{#if:{{#var:artifactname}}<!--
-->{{#if:{{#var:artifactname}}<!--
-->|[[Uniques|{{#var:artifactname}}]]<!--
-->|[[Artifacts|{{#var:artifactname}}]]<!--
-->|None}}</td></tr>}} }}</table><!--
-->|None}}</td></tr>}} }}</table><!--


Line 422: Line 424:
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
{{GenerateWeaponTable|Craftable|Dagger}}</td></tr>
{{GenerateWeaponTable|Craftable|Dagger}}</td></tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateWeaponTable|Craftable|Shield}}</pre></td>
<td style="padding: 20px 30px;">
{{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}}
Name Class Slot Movement Speed Damage on Hit Stats Combo Combo Attack Speed Impact Zones + Impact Power/Resist Action Movement Penalty Slowdown On Hit Artifact
Wizard
Rogue
Bard
Druid
One Handed
Main-Hand
-10
Physical Base Weapon Damage
23~24
Armor Penetration
5%
Undead Race Damage Bonus
15%
Primary Attacks
All Pierce
100%/105%/105%
Primary Attacks
Windup:319ms
Hit:365ms
Combo Activation:115ms
Windup:300ms
Hit:100ms
Combo Activation:230ms
Windup:396ms
Hit:186ms
Combo Activation:191ms
Recover:426ms
Primary Attacks
100% + 2
Primary Attacks
Mid Attack: x92.5%
Otherwise: x85%

Hitslow
-3% for 0.25s
None
Wizard
Rogue
Bard
Druid
One Handed
Main-Hand
-10
Physical Base Weapon Damage
24~25
Armor Penetration
5%
Undead Race Damage Bonus
15%
Primary Attacks
All Pierce
100%/105%/105%
Primary Attacks
Windup:319ms
Hit:365ms
Combo Activation:115ms
Windup:300ms
Hit:100ms
Combo Activation:230ms
Windup:396ms
Hit:186ms
Combo Activation:191ms
Recover:426ms
Primary Attacks
100% + 2
Primary Attacks
Mid Attack: x92.5%
Otherwise: x85%

Hitslow
-3% for 0.25s
None
Rogue
Fighter
Bard
Druid
One Handed
Off-Hand
-10
Physical Base Weapon Damage
27
True Physical Damage
1
Armor Penetration
10%
Primary Attacks
Slash/Slash/Pierce
100%/100%/130%
Primary Attacks
Windup:511ms
Hit:131ms
Combo Activation:61ms
Windup:464ms
Hit:180ms
Combo Activation:55ms
Windup:806ms
Hit:200ms
Recover:1061ms
Primary Attacks
100% + 2
Primary Attacks
Mid Attack: x92.5%
Otherwise: x85%

Hitslow
-7%/-7%/-15% for 0.5s/0.5s/1s
None
Wizard
Rogue
Bard
Druid
One Handed
Main-Hand
-10
Physical Base Weapon Damage
21~22
Armor Penetration
5%
Undead Race Damage Bonus
15%
Primary Attacks
All Pierce
100%/105%/105%
Primary Attacks
Windup:319ms
Hit:365ms
Combo Activation:115ms
Windup:300ms
Hit:100ms
Combo Activation:230ms
Windup:396ms
Hit:186ms
Combo Activation:191ms
Recover:426ms
Primary Attacks
100% + 2
Primary Attacks
Mid Attack: x92.5%
Otherwise: x85%

Hitslow
-3% for 0.25s
None
Rogue
Wizard
Bard
Two Handed
Utility
-10
Physical Base Weapon Damage
10
11
12
13
14
15
16
Primary Attacks
Pierce
Primary Attack 1
100% + 2
Primary Attack 1
Always: x85%

Hitslow
-25% for 1s
None
{{GenerateWeaponTable|Craftable|Shield}}
Name Class Slot Movement Speed Armor Rating Impact Resist Action Movement Penalty Artifact
Fighter
Bard
One Handed
Off-Hand
-1525~26Special Attacks
150% + 3
Impact Resist
4
Guard
Always: x50%

ShieldSlam
Always: x90%

LightActivate
Always: x60%

LightDeactivate
Always: x60%

Block Reaction
Always: x99%

Special Attacks
Always: x90%

None
{{GenerateWeaponTable|Uncraftable|Bow|type=Bow}}
Name Class Slot Movement Speed Damage on Hit Stats Impact Zones + Impact Power/Resist Reload Speed Action Movement Penalty Slowdown On Hit Quiver Size Initial Projectile Speed (m/s) Artifact
RangerTwo Handed
Main-Hand
-50
Physical Base Weapon Damage
38
39~40
41~42
43~44
45~46
47
49~51
Armor Penetration
20%
Primary Attack 1
100% + 3
sPrimary Attack 1
Always: x55%

Reload
Always: x40%

QuickShot
Always: x55%

MultiShot
Always: x55%

Hitslow
-30% for 1s
632.5Nipalan
RangerTwo Handed
Main-Hand
-40
Physical Base Weapon Damage
30
31~32
33~34
35~36
37
38
40~42
Armor Penetration
10%
Primary Attack 1
100% + 3
sPrimary Attack 1
Always: x65%

Reload
Always: x50%

QuickShot
Always: x65%

MultiShot
Always: x65%

Hitslow
-20% for 1s
8?Pestilence
Ranger
Bard
Two Handed
Main-Hand
-30
Physical Base Weapon Damage
19
20~21
22~23
24~25
26
27
28~29
Armor Penetration
5%
Primary Attack 1
100% + 3
sPrimary Attack 1
Always: x75%

Reload
Always: x60%

QuickShot
Always: x75%

MultiShot
Always: x75%

Hitslow
-12% for 0.5s
1025Elven Bow of Truth