Difference between revisions of "Template:AbilityDamage"

From DDO Compendium
 
(3 intermediate revisions by 2 users not shown)
Line 18: Line 18:
|parameter3name = Title
|parameter3name = Title
|parameter3description = The title of this enchantment if not the same as the default
|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|}}}}}
}}</noinclude><onlyinclude>{{EnchTitle|Ability Damage|{{#switch: {{lc:{{{1|}}}}}
|constitution=Wounding
|constitution=Wounding
|#default=Inflict {{{1|}}}
|#default=Inflict {{{1|}}}
}} {{{2|}}}|{{{3|}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:AbilityDamage||[[Category:Weapons that deal {{ucfirst:{{lc:{{{1|}}}}}}} damage]]}}This weapon deals {{{2|}}} {{{1|}}} damage on each hit.}}</onlyinclude>
}} {{{2|}}}|{{{3|}}}}}{{EnchBody|This weapon deals {{{2|}}} {{{1|}}} damage on each {{#if: {{{4|}}}|critical&nbsp;}}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
AbilityThe ability of damage
Possible Values:
  • Strength
  • Dexterity
  • Constitution
  • Wisdom
  • Intelligence
  • Charisma
ValueAmount of Ability Damage dealt
TitleThe title of this enchantment if not the same as the default
CriticalTrue if this only happens on crits
RangeTrue 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.