Difference between revisions of "Template:AbilityDamage"
From DDO Compendium
(Created page with "<noinclude>{{Template:TemplateDocumentation |name = AbilityDamage |description = Adds an Ability Damage to Weapon |usesnamedparameters = |example1 = |example1output = |exam...") |
MNDeveloper (talk | contribs) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|name = AbilityDamage | |name = AbilityDamage | ||
|description = Adds an Ability Damage to Weapon | |description = Adds an Ability Damage to Weapon | ||
| | |category=Item Enchantment Template | ||
|example1 = | |example1=<nowiki>{{AbilityDamage|Wisdom|4}}</nowiki> | ||
| | |example1output={{AbilityDamage|Wisdom|4}} | ||
| | |||
| | |||
| | |||
| | |||
|parameter1name = Ability | |parameter1name = Ability | ||
|parameter1description = The ability of damage | |parameter1description = The ability of damage | ||
Line 22: | Line 16: | ||
|parameter2name = Value | |parameter2name = Value | ||
|parameter2description = Amount of Ability Damage dealt | |parameter2description = Amount of Ability Damage dealt | ||
| | |parameter3name = Title | ||
}}</noinclude><onlyinclude> | |parameter3description = The title of this enchantment if not the same as the default | ||
| | |parameter4name = Critical | ||
|parameter4description = True if this only happens on crits | |||
|parameter5name = Range | |||
|parameter5description = True if the amount is a [[Template:Dice]] Range | |||
}}</noinclude><onlyinclude>{{EnchTitle|Ability Damage|{{#switch: {{lc:{{{1|}}}}} | |||
|constitution=Wounding | |||
|#default=Inflict {{{1|}}} | |#default=Inflict {{{1|}}} | ||
}} {{{2|}}} | }} {{{2|}}}|{{{3|}}}}}{{EnchBody|This weapon deals {{{2|}}} {{{1|}}} damage on each {{#if: {{{4|}}}|critical }}hit.}}{{EnchCat|AbilityDamage|Weapons that deal {{#if: {{{5|}}}||{{{2|}}}}} {{ucfirst:{{lc:{{{1|}}}}}}} damage}}</onlyinclude> |
Latest revision as of 00:13, 10 August 2021
AbilityDamage[edit]
Adds an Ability Damage to Weapon
Example Usage | |
{{AbilityDamage|Wisdom|4}} | Inflict Wisdom 4: This weapon deals 4 Wisdom damage on each hit. |
Usage[edit]
{{AbilityDamage|(Ability)|(Value)|(Title)|(Critical)|(Range)}}
Parameter Documentation | |
Ability | The ability of damage Possible Values:
|
Value | Amount of Ability Damage dealt |
Title | The title of this enchantment if not the same as the default |
Critical | True if this only happens on crits |
Range | True if the amount is a Template:Dice Range |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Inflict: This weapon deals damage on each hit.