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

Latest revision as of 18:25, 10 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.