Difference between revisions of "Template:Deadly"

From DDO Compendium
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== Deadly ===
<noinclude>{{TemplateDocumentation
<noinclude>This template is used for all bonuses to Deadly Weapon Damage.[[Category:Template]]
|name = Deadly
 
|description = This template is used on equipment for the Deadly enchantment.  Deadly adds damage before multipliers.
Used in this manner:
|category=Item Enchantment Template
<br><nowiki>{{Deadly |Modifier|ModType (opt)}}</nowiki><br>
|example1 = <nowiki>{{Deadly|3}}</nowiki>
<br>Such that <nowiki>{{Deadly|+3}}</nowiki> results in<br>
|example1output = {{Deadly|3}}
<br>{{Deadly|+3}}<br>
|example2 = <nowiki>{{Deadly|3||Helpless}}</nowiki>
|example2output = {{Deadly|3||Helpless}}
|parameter1name = Enhancement Amount
|parameter1description = This is the amount that damage is increased.
|parameter2name = Bonus Type
|parameter2description = This is the bonus type (Enhancement, Insight, Quality, etc). Competence is the default
|parameter3name = Specific case
|parameter3description = This a specific case when this applies, i.e. Helpless
}}
</noinclude>
</noinclude>
 
<onlyinclude>{{EnchTitle|Damage|{{{3|}}} {{BonusTypeNameConversion|{{{2|}}}|True}} Deadly +{{{1}}}}}{{EnchBody|+{{{1}}} {{BonusTypeNameConversion|{{{2|Competence}}}}} {{#ifexpr: {{{1}}} < 0 | penalty | bonus}} to weapon damage{{#if: {{{3|}}}|&nbsp;against the {{{3}}}}}.}}{{EnchCat|Deadly|Items with Deadly|+{{{1|}}} {{BonusTypeNameConversion|{{{2|Competence}}}}} Bonus to Damage}}</onlyinclude>
=== Template ===
<onlyinclude>[[Category: Items with {{{2|}}} Deadly]][[Deadly | '''{{{2|}}} Deadly {{{1}}}:''']] {{{1}}} {{#if: {{{2|}}}|{{{2}}}|competence}} {{#ifexpr: {{{1}}} < 0 | penalty | bonus}} to weapon damage.</onlyinclude>

Latest revision as of 14:58, 3 May 2022

Deadly[edit]

This template is used on equipment for the Deadly enchantment. Deadly adds damage before multipliers.

Example Usage
{{Deadly|3}}Deadly +3: +3 Competence bonus to weapon damage.
{{Deadly|3||Helpless}}Helpless Deadly +3: +3 bonus to weapon damage against the Helpless.

Usage[edit]

{{Deadly|(Enhancement Amount)|(Bonus Type)|(Specific case)}}

Parameter Documentation
Enhancement AmountThis is the amount that damage is increased.
Bonus TypeThis is the bonus type (Enhancement, Insight, Quality, etc). Competence is the default
Specific caseThis a specific case when this applies, i.e. Helpless

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


Deadly +{{{1}}}: +{{{1}}} Competence Expression error: Unrecognized punctuation character "{". to weapon damage.