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...")
 
 
(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
|usesnamedparameters =  
|category=Item Enchantment Template
|example1 =  
|example1=<nowiki>{{AbilityDamage|Wisdom|4}}</nowiki>
|example1output =
|example1output={{AbilityDamage|Wisdom|4}}
|example2 =
|example2output =
|example3 =
|example3output =  
|example4 =
|example4output =
|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
|parameter2values =
|parameter3name = Title
}}</noinclude><onlyinclude>[[Category:Weapons that deal {{{1|}}} damage]][[Ability Damage|'''{{#switch: {{{1|}}}
|parameter3description = The title of this enchantment if not the same as the default
|Constitution=Wounding
|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|}}}:''']] 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.