Difference between revisions of "Template:AdditionalDamageType"

From DDO Compendium
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Template]][[Category:Item Enchantment Template]]{{TemplateDocumentation
<noinclude>{{TemplateDocumentation
|name = AdditionalDamageType
|name = AdditionalDamageType
|description = This template is used on equipment to add additional damage types from normal.
|description = This template is used on equipment to add additional damage types from normal.
|category=Item Enchantment Template
|example1 = <nowiki>{{AdditionalDamageType|Bludgeon|Ranged}}</nowiki>
|example1 = <nowiki>{{AdditionalDamageType|Bludgeon|Ranged}}</nowiki>
|example1output = {{AdditionalDamageType|Bludgeon|Ranged}}
|example1output = {{AdditionalDamageType|Bludgeon|Ranged}}
|example2 = <nowiki>{{AdditionalDamageType|Pierce|Melee}}</nowiki>
|example2output = {{AdditionalDamageType|Pierce|Melee}}
|parameter1name=Damage Type
|parameter1name=Damage Type
|parameter1description=The extra damage type added by this enhancement
|parameter1description=The extra damage type added by this enhancement
* Melee Only
** Pierce
** Pierce Damage
** Silver
* Ranged Only
** Bludgeon
|parameter2name=Attack type
|parameter2name=Attack type
|parameter2description=What type of attack is being done
|parameter2description=What type of attack is being done
Line 11: Line 20:
* Ranged
* Ranged
* Melee
* Melee
|parameter3name=Title
|parameter3description=The title of the enchantment, if the default isn't correct.
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{2}}}}}
<onlyinclude>{{#switch: {{lc:{{{2}}}}}
| ranged ={{#switch: {{lc:{{{1}}}}}
| ranged ={{#switch: {{lc:{{{1}}}}}
|bludgeon= '''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 ='''Spiked:''' 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|}}}}}{{EnchBody|On Damage: 10% Chance of dealing an additional {{Dice||10|6}} Piercing Damage.}}{{EnchCat|AdditionalDamageType|Items with Additional Pierce Damage}}
 
| 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>
}}</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.