Difference between revisions of "Template:Resistance"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
|parameter1values = | |parameter1values = | ||
|parameter2name = Bonus Type | |parameter2name = Bonus Type | ||
|parameter2description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to | |parameter2description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Resistance. | ||
|parameter2values = | |parameter2values = | ||
|parameter3name = Resistance Type | |parameter3name = Resistance Type | ||
Line 18: | Line 18: | ||
* Leave blank for default | * Leave blank for default | ||
* Curse | * Curse | ||
* Enchantment | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{{3}}} | <onlyinclude>{{#switch: {{lc:{{{3}}}}} | ||
|Curse | |curse = {{EnchTitle|Curse Resistance|{{BonusTypeNameConversion|{{{2|}}}|True}} Curse Resistance +{{{1}}}}}{{EnchBody|Passive: +{{{1}}} {{BonusTypeNameConversion|{{#if: {{{2|}}}|{{{2|}}}|Enhancement}}}} bonus to saves versus curses.}}{{EnchCat|Resistance|Items with Curse Resistance}} | ||
|#default = | |||
|enchantment = {{EnchTitle|Enchantment Resistance|{{BonusTypeNameConversion|{{{2|}}}|True}} Enchantment Resistance +{{{1}}}}}{{EnchBody|Passive: +{{{1}}} {{BonusTypeNameConversion|{{#if: {{{2|}}}|{{{2|}}}|Resistance}}}} bonus to saves versus enchantments.}}{{EnchCat|Resistance|Items with Enchantment Resistance}} | |||
|#default = {{EnchTitle|Saves|{{BonusTypeNameConversion|{{{2|}}}|True}} Resistance +{{{1}}}}}{{EnchBody|Passive: +{{{1}}} {{BonusTypeNameConversion|{{#if: {{{2|}}}|{{{2|}}}|Resistance}}}} bonus to Fortitude, Reflex, and Will Saving Throws.}}{{EnchCat|Resistance|Items with a Bonus to All Saves}} | |||
}}</onlyinclude> | }}</onlyinclude> |
Latest revision as of 19:15, 28 June 2020
Resistance[edit]
This template is used on equipment for the Resistance enchantment. This adds resistance to all saving throws.
Example Usage | |
{{Resistance|3|Insightful}} | Insightful Resistance +3: Passive: +3 Insight bonus to Fortitude, Reflex, and Will Saving Throws. |
{{Resistance|4||Curse}} | Curse Resistance +4: Passive: +4 Enhancement bonus to saves versus curses. |
Usage[edit]
{{Resistance|(Enhancement Amount)|(Bonus Type)|(Resistance Type)}}
Parameter Documentation | |
Enhancement Amount | This is the amount that is added to the saving throw. |
Bonus Type | This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Resistance. |
Resistance Type | The custom resistance type (Optional) Possible Values:
|
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Resistance +{{{1}}}: Passive: +{{{1}}} Resistance bonus to Fortitude, Reflex, and Will Saving Throws.