Difference between revisions of "Template:DR"

From DDO Compendium
Line 26: Line 26:
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:DR||[[Category: Items with Damage Reduction]]}}[[Damage Reduction|'''{{#if: {{{3|}}}|{{{3}}}|DR {{{1}}}/{{#if: {{{2|}}}|{{{2}}}|-}}}}:''']] {{#if: {{{4|}}}|{{{4}}}, reducing|Reduces}} all {{#if: {{{2|}}}|non-{{lc:{{{2}}}}}}} {{lc:{{{5|physical}}}}} damage by {{{1}}}.
<onlyinclude>{{EnchTitle|Damage Reduction|DR {{{1}}}/{{#if: {{{2|}}}|{{{2}}}|-}}|{{{3|}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:DR||[[Category: Items with Damage Reduction]]}}{{#if: {{{4|}}}|{{{4}}}, reducing|Reduces}} all {{#if: {{{2|}}}|non-{{lc:{{{2}}}}}}} {{lc:{{{5|physical}}}}} damage by {{{1}}}.}}</onlyinclude>
</onlyinclude>

Revision as of 19:10, 5 December 2019

DR[edit]

This template is used on equipment for the Damage Reduction enchantment. DR is an enchantment than gives a defender physical damage reduction of a certain amount when it is coming from a specific type of damage.

Example Usage
{{DR|5|Piercing}}DR 5/Piercing: Reduces all non-piercing physical damage by 5.
{{DR|2|}}DR 2/-: Reduces all physical damage by 2.
{{DR|30||Rune-fueled Warding|When you are holding a two-handed weapon}}Rune-fueled Warding: When you are holding a two-handed weapon you can extra damage reduction, reducing all physical damage by 30.

Usage[edit]

{{DR|(Reduced Amount)|(Bypassed Damage Type)|(Title)|(Description)|(Type of damage)}}

Parameter Documentation
Reduced AmountThis is the amount that damage is reduced by.
Bypassed Damage TypeThis is a damage type that is not included in the reduction. Comma separate if there is more than one, and if there is no bypass, leave this option blank.
TitleThis is a custom enhancement title for DR
DescriptionThis is a custom first part of the description.
Type of damageThis is the type of damage
Possible Values:
  • aligned
  • physical (default)

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


DR {{{1}}}/-: Reduces all physical damage by {{{1}}}.