Difference between revisions of "Template:AdditionalDamageType"

From DDO Compendium
Line 26: Line 26:
<onlyinclude>{{#switch: {{lc:{{{2}}}}}
<onlyinclude>{{#switch: {{lc:{{{2}}}}}
| ranged ={{#switch: {{lc:{{{1}}}}}
| ranged ={{#switch: {{lc:{{{1}}}}}
|bludgeon= {{#ifeq: {{FULLPAGENAME}} |Template:AdditionalDamageType||[[Category:Items with Blunted Ammunition]]}}'''[[Blunted Ammunition|{{#if: {{{3|}}}|{{{3}}}|Blunted Ammunition}}:]]''' The ammunition fired by this weapon deals blunt damage in addition to its other damage types.}}
|bludgeon= {{#ifeq: {{#dplvar:enhview}}|titleonly|[[Blunted Ammunition|{{#if: {{{3|}}}|{{{3}}}|Blunted Ammunition}}]]|{{#ifeq: {{FULLPAGENAME}} |Template:AdditionalDamageType||[[Category:Items with Blunted Ammunition]]}}'''[[Blunted Ammunition|{{#if: {{{3|}}}|{{{3}}}|Blunted Ammunition}}:]]''' The ammunition fired by this weapon deals blunt damage in addition to its other damage types.}}}}
| melee ={{#switch: {{lc:{{{1}}}}}
| melee ={{#switch: {{lc:{{{1}}}}}
| pierce ={{#ifeq: {{FULLPAGENAME}} |Template:AdditionalDamageType||[[Category:Items with Spikes]]}}'''[[Spiked|{{#if: {{{3|}}}|{{{3}}}|Spiked}}:]]''' This weapon is studded with vicious spikes, causing to to deal piercing damage in addition to its normal damage types.
| pierce ={{#ifeq: {{#dplvar:enhview}}|titleonly|[[Spiked|{{#if: {{{3|}}}|{{{3}}}|Spiked}}]]|{{#ifeq: {{FULLPAGENAME}} |Template:AdditionalDamageType||[[Category:Items with Spikes]]}}'''[[Spiked|{{#if: {{{3|}}}|{{{3}}}|Spiked}}:]]''' This weapon is studded with vicious spikes, causing to to deal piercing damage in addition to its normal damage types.}}
| pierce damage = {{#ifeq: {{FULLPAGENAME}} |Template:AdditionalDamageType||[[Category:Items with Additional Pierce Damage]]}}'''[[Spiked|{{#if: {{{3|}}}|{{{3}}}|Spiked}}:]]''' On Damage: 10% Chance of dealing an additional {{Dice||10|6}} Piercing Damage.
| pierce damage = {{#ifeq: {{#dplvar:enhview}}|titleonly|[[Spiked|{{#if: {{{3|}}}|{{{3}}}|Spiked}}]]|{{#ifeq: {{FULLPAGENAME}} |Template:AdditionalDamageType||[[Category:Items with Additional Pierce Damage]]}}'''[[Spiked|{{#if: {{{3|}}}|{{{3}}}|Spiked}}:]]''' On Damage: 10% Chance of dealing an additional {{Dice||10|6}} Piercing Damage.}}
| silver={{#ifeq: {{FULLPAGENAME}} |Template:AdditionalDamageType||[[Category:Items with Pierce Silver]]}}'''[[Pierce Silver|{{#if: {{{3|}}}|{{{3}}}|Pierce Silver}}:]]''' Provides the [[Pierce Silver]] feat, allowing your equipped weapons to break Silver DR.
| silver={{#ifeq: {{FULLPAGENAME}} |Template:AdditionalDamageType|[[Pierce Silver|{{#if: {{{3|}}}|{{{3}}}|Pierce Silver}}]]|[[Category:Items with Pierce Silver]]}}'''[[Pierce Silver|{{#if: {{{3|}}}|{{{3}}}|Pierce Silver}}:]]''' Provides the [[Pierce Silver]] feat, allowing your equipped weapons to break Silver DR.}}
|adamantine={{#ifeq: {{FULLPAGENAME}} |Template:AdditionalDamageType||[[Category:Items with Adamantine Weapons]]}}'''[[Adamantine Weapons|{{#if: {{{3|}}}|{{{3}}}|Adamantine Weapons}}:]]''' Your weapons bypass Adamantine Damage Reduction.}}
|adamantine={{#ifeq: {{#dplvar:enhview}}|titleonly|[[Adamantine Weapons|{{#if: {{{3|}}}|{{{3}}}|Adamantine Weapons}}]]|{{#ifeq: {{FULLPAGENAME}} |Template:AdditionalDamageType||[[Category:Items with Adamantine Weapons]]}}'''[[Adamantine Weapons|{{#if: {{{3|}}}|{{{3}}}|Adamantine Weapons}}:]]''' Your weapons bypass Adamantine Damage Reduction.}}
}}</onlyinclude>
}}</onlyinclude>

Revision as of 16:37, 4 December 2019

AdditionalDamageType[edit]

This template is used on equipment to add additional damage types from normal.

Example Usage
{{AdditionalDamageType|Bludgeon|Ranged}}Blunted Ammunition: The ammunition fired by this weapon deals blunt damage in addition to its other damage types.
{{AdditionalDamageType|Pierce|Melee}}Spiked: This weapon is studded with vicious spikes, causing to to deal piercing damage in addition to its normal damage types.

Usage[edit]

{{AdditionalDamageType|(Damage Type)|(Attack type)|(Title)}}

Parameter Documentation
Damage TypeThe extra damage type added by this enhancement
  • Melee Only
    • Pierce
    • Pierce Damage
    • Silver
  • Ranged Only
    • Bludgeon
Attack typeWhat type of attack is being done
Possible Values:
  • Ranged
  • Melee
TitleThe title of the enchantment, if the default isn't correct.

Template

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