From Dark and Darker Wiki

(Hitslow is no longer static. WeaponTable now checks for global entries and displays all attack values otherwise.)
(Fixed issue with hitslow, where it would display empty value format.)
Line 374: Line 374:


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|AttackHitslow|Rarity|Global|Move Speed Bonus}} }}<!--
-->{{#vardefine:global_hitslow_duration|{{Weapon Data|{{#var:current}}|Abilities|Primary|Global|Effects|AttackHitslow|Rarity|Global|Duration}} }}<!--
-->{{#if:{{#var:is_shield}}<!--
-->{{#if:{{#var:is_shield}}<!--
-->||<td><!--
-->||<td><!--
-->{{#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_duration|{{Weapon Data|{{#var:current}}|Abilities|Primary|Global|Effects|AttackHitslow|Rarity|Global|Duration}} }}<!--
--><span style="color:#eee8;">Hitslow</span><br><!--
-->{{#if:{{#var:global_hitslow}}<!--
-->{{#if:{{#var:global_hitslow}}<!--
-->|{{#var:global_hitslow}}<!--
-->|<span style="color:#eee8;">Hitslow</span><br>{{#var:global_hitslow}}<!--
-->|{{#loop:i|0|{{#arraysize:all_attacks}}<!--
-->|{{#loop:i|0|{{#arraysize:all_attacks}}<!--
-->|{{#vardefine:current_attack|{{#arrayindex:all_attacks|{{#var:i}} }} }}<!--
-->|{{#vardefine:current_attack|{{#arrayindex:all_attacks|{{#var:i}} }} }}<!--
-->{{#ifeq:{{#var:i}}|0||/}}<!--
-->{{#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|AttackHitslow|Rarity|Global|Move Speed Bonus}} }} }}<!--
--> for <!--
-->{{#if:{{#var:global_hitslow_duration}}<!--
-->{{#if:{{#var:global_hitslow_duration}}<!--
-->|{{#var:global_hitslow_duration}}s<!--
-->|&nbsp;for&nbsp;{{#var:global_hitslow_duration}}s<!--
-->|{{#loop:i|0|{{#arraysize:all_attacks}}<!--
-->|{{#loop:i|0|{{#arraysize:all_attacks}}<!--
-->|{{#vardefine:current_attack|{{#arrayindex:all_attacks|{{#var:i}} }} }}<!--
-->|{{#vardefine:current_attack|{{#arrayindex:all_attacks|{{#var:i}} }} }}<!--
-->{{#ifeq:{{#var:i}}|0||/}}<!--
-->{{#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|AttackHitslow|Rarity|Global|Duration}}s}} }}</td>}}<!--


Line 424: Line 421:
<pre>{{GenerateWeaponTable|Craftable|Dagger}}</pre></td>
<pre>{{GenerateWeaponTable|Craftable|Dagger}}</pre></td>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
{{GenerateWeaponTable|Craftable|Dagger}}</td></tr>
{{GenerateWeaponTable|Craftable|MagicStuff}}</td></tr>
<tr>
<tr>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">

Revision as of 15:57, 20 July 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
Warlock
Druid
Sorcerer
One Handed
Off-Hand
-15Dexterity
2
Strength
2
Knowledge
2
Physical Gear Weapon Damage
3
Gear Magical Damage
6
Magical Penetration
10%
Casting
Always: x65%

None
Wizard
Warlock
Sorcerer
Two Handed
Main-Hand
-21
Physical Base Weapon Damage
13
Magical Base Weapon Damage
18
Primary Attacks
All Slash
100%/105%/110%
Primary Attacks
100%/90%/70% + 3
Impact Resist
3
Guard
Always: x65%

Casting
Always: x65%

Primary Attacks
Mid Attack: x85%
Otherwise: x55%

Block Reaction
Always: x65%

Hitslow
// for s/s/s
None
Wizard
Warlock
Druid
Sorcerer
One Handed
Off-Hand
-15Will
2
Knowledge
2
Physical Gear Weapon Damage
3
Gear Magical Damage
6
True Magical Damage
1
Magical Penetration
10%
Casting
Always: x65%

None
Wizard
Warlock
Sorcerer
Two Handed
Main-Hand
-25
Physical Base Weapon Damage
13
Magical Base Weapon Damage
18
Outgoing Magical Healing Add
2
Primary Attacks
All Slash
100%/105%/110%
Primary Attacks
100%/90%/70% + 3
Impact Resist
3
Guard
Always: x65%

Casting
Always: x65%

Primary Attacks
Mid Attack: x85%
Otherwise: x55%

Block Reaction
Always: x65%

Hitslow
// for s/s/s
None
Cleric
Warlock
Wizard
Druid
Sorcerer
Two Handed
Main-Hand
-30
Physical Base Weapon Damage
30
Outgoing Magical Healing Add
7
Spell Casting Speed
5%
Primary Attacks
All Blunt
100%/110%
Primary Attacks
100%/80% + 4
Impact Resist
3
CeremonialStaffGuard
Always: x65%

CeremonialStaffCasting
Always: x65%

Primary Attacks
Mid Attack: x85%
Otherwise: x55%

Block CeremonialStaffReaction
Always: x65%

Hitslow
/ for s/s
None
Wizard
Cleric
Warlock
Druid
Sorcerer
Two Handed
Main-Hand
-10
Physical Base Weapon Damage
22
Gear Magical Damage
5
Magical Penetration
10%
Primary Attacks
Blunt
100%
Primary Attack 1
100% + 2
Primary Attack 1
Always: x95%

SpellBookCasting
Always: x65%

Hitslow
 for s
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
35
36
37
38
39
40
41
42
Armor Penetration
20%
Primary Attack 1
100% + 3
2.97sPrimary Attack 1
Always: x55%

Reload
Always: x40%

QuickShot
Always: x55%

MultiShot
Always: x55%

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

Reload
Always: x50%

QuickShot
Always: x65%

MultiShot
Always: x65%

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

Reload
Always: x60%

QuickShot
Always: x75%

MultiShot
Always: x75%

Hitslow
 for s
1025Elven Bow of Truth