Difference between revisions of "Template:AbilityDamage"

From DDO Compendium
m (cat)
Line 17: Line 17:
|parameter2description = Amount of Ability Damage dealt
|parameter2description = Amount of Ability Damage dealt
|parameter3name = Title
|parameter3name = Title
|parameter3description = The title of this enchantment if not the same as the default
|parameter4description = The title of this enchantment if not the same as the default
|parameter4name = Critical
|parameter3description = True if this only happens on crits
}}</noinclude><onlyinclude>{{EnchTitle|Ability Damage|{{#switch: {{lc:{{{1|}}}}}
}}</noinclude><onlyinclude>{{EnchTitle|Ability Damage|{{#switch: {{lc:{{{1|}}}}}
|constitution=Wounding
|constitution=Wounding
|#default=Inflict {{{1|}}}
|#default=Inflict {{{1|}}}
}} {{{2|}}}|{{{3|}}}}}{{EnchBody|This weapon deals {{{2|}}} {{{1|}}} damage on each hit.}}{{EnchCat|AbilityDamage|Weapons that deal {{{2|}}} {{ucfirst:{{lc:{{{1|}}}}}}} damage}}</onlyinclude>
}} {{{2|}}}|{{{3|}}}}}{{EnchBody|This weapon deals {{{2|}}} {{{1|}}} damage on each {{#if: {{{4|}}}|critical&nbsp;}}hit.}}{{EnchCat|AbilityDamage|Weapons that deal {{{2|}}} {{ucfirst:{{lc:{{{1|}}}}}}} damage}}</onlyinclude>

Revision as of 16:39, 25 June 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)}}

Parameter Documentation
AbilityThe ability of damage
Possible Values:
  • Strength
  • Dexterity
  • Constitution
  • Wisdom
  • Intelligence
  • Charisma
ValueAmount of Ability Damage dealt
TitleTrue if this only happens on crits
CriticalThe title of this enchantment if not the same as the default

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.