From Dark and Darker Wiki

< Module:Enchantments

(initial examples)
 
m (draw_table renamed to draw_roll_range_table)
Line 10: Line 10:


===Examples===
===Examples===
<pre>{{#invoke:Enchantments|draw_table|gem}}</pre>
<pre>{{#invoke:Enchantments|draw_roll_range_table|gem}}</pre>




{{#invoke:Enchantments|draw_table|gem}}
{{#invoke:Enchantments|draw_roll_range_table|gem}}

Revision as of 23:56, 27 February 2025

Overview

Functions for Enchantments. Data comes from Data:Enchantments.json.

Functions

draw_table

Create's a table of enchants for the Enchantments page

Parameters

  • base_or_gem - List 'base' (traditional) or 'gem' enchant roll ranges?

Examples

{{#invoke:Enchantments|draw_roll_range_table|gem}}


EnchantmentsRequired Gem1H1H Shield2H Shield2H Physical2H Hybrid2H MagicalChestLegsFootHeadHandsCloakNecklaceRingMax Total Possible
MinMaxMinMaxMinMaxMinMaxMinMaxMinMaxMinMaxMinMaxMinMaxMinMaxMinMaxMinMaxMinMaxMinMax
Attributes
All Attributes
Diamond.png
1113
Strength
Diamond.png
131312121212131221
Vigor
Diamond.png
131312121212131221
Agility
Diamond.png
131312121212131221
Dexterity
Diamond.png
131312121212131221
Will
Diamond.png
131312121212131221
Knowledge
Diamond.png
131312121212131221
Resourcefulness
Diamond.png
131312121212131221
Physical Damage
Physical Power Bonus
Ruby.png
12122323232312121212231225
Physical Power
Ruby.png
121313131312121212131225
Physical Gear Weapon Damage
Ruby.png
1112122
Physical Damage Add
Ruby.png
11115
True Physical Damage
Ruby.png
11115
Armor Penetration
Ruby.png
233434343423232323342336
Magical Damage
Magical Power Bonus
Ruby.png
122323232312121212231225
Magical Power
Blue Sapphire.png
121313131312121212131225
Magical Damage Add
Blue Sapphire.png
11115
True Magical Damage
Blue Sapphire.png
11115
Magical Penetration0
Reductions
Armor Rating Add
Emerald.png
510515515515510510510510515510120
Physical Damage Reduction
Emerald.png
12232323121212122311.523
Projectile Damage Reduction
Emerald.png
1223232312121212231224
Magical Damage Reduction
Blue Sapphire.png
12232323121212122311.523
Magical Resistance
Blue Sapphire.png
5101020102010205105105105101020510140
Cooldown Reduction Bonus0
Actions
Action Speed
Blue Sapphire.png
121223232323232312121212231225
Regular Interaction Speed0
Magical Interaction Speed0
Spell Casting Speed
Blue Sapphire.png
122323232312121212121224
Move Speed Add
Blue Sapphire.png
131314141414141413131313141336
Move Speed Bonus
Blue Sapphire.png
0.510.511212121212120.510.510.510.51120.5114
Health
Max Health Add
Emerald.png
131314141414141413131313141336
Max Health Bonus
Emerald.png
121223232323232312121212231225
Healing
Outgoing Physical Healing Add
Emerald.png
13131210
Outgoing Magical Healing Add
Emerald.png
1212131313131214
Statuses
Buff Duration Bonus
Emerald.png
232334343434343423232323342336
Debuff Duration Bonus
Emerald.png
232334343434343423232323342336
Memory
Memory Capacity Add
Emerald.png
131414141413131313141336
Memory Capacity Bonus
Emerald.png
364848484836363636483672
Misc
Luck
Blue Sapphire.png
40504050152515251525152540501525300