Difference between revisions of "Template:AC"

From DDO Compendium
m (cat)
m (move default categorization inside the switch)
Line 45: Line 45:
| protection from evil = {{EnchTitle|Armor Class#Protection From Evil|Protection from Evil +{{{2}}}}}{{EnchBody|You have a +{{{2}}} Deflection bonus to AC, and a +{{{2}}} Resistance bonus to Saves vs Evil Monsters.}}{{EnchCat|AC|Items with +{{{2}}} {{BonusTypeNameConversion|{{{3|Deflection}}}}} {{#ifexpr: {{{2}}} < 0|Penalty|Bonus}} to Armor Class}}{{EnchCat|AC|Items with +{{{2}}} Resistance {{#ifexpr: {{{2}}} < 0|Penalty|Bonus}} to Saves vs Evil Monsters}}
| protection from evil = {{EnchTitle|Armor Class#Protection From Evil|Protection from Evil +{{{2}}}}}{{EnchBody|You have a +{{{2}}} Deflection bonus to AC, and a +{{{2}}} Resistance bonus to Saves vs Evil Monsters.}}{{EnchCat|AC|Items with +{{{2}}} {{BonusTypeNameConversion|{{{3|Deflection}}}}} {{#ifexpr: {{{2}}} < 0|Penalty|Bonus}} to Armor Class}}{{EnchCat|AC|Items with +{{{2}}} Resistance {{#ifexpr: {{{2}}} < 0|Penalty|Bonus}} to Saves vs Evil Monsters}}


|#default = {{EnchTitle|Armor Class|{{{1|}}} +{{{2|}}}}}{{EnchBody|This item grants a +{{{2|}}} {{{1|}}} bonus to Armor Class.}}}}{{EnchCat|AC|Items with +{{{2}}} {{BonusTypeNameConversion|{{{1|Enhancement}}}}} {{#ifexpr: {{{2}}} < 0|Penalty|Bonus}} to Armor Class}}</onlyinclude>
|#default = {{EnchTitle|Armor Class|{{{1|}}} +{{{2|}}}}}{{EnchBody|This item grants a +{{{2|}}} {{{1|}}} bonus to Armor Class.}}{{EnchCat|AC|Items with +{{{2}}} {{BonusTypeNameConversion|{{{1|Enhancement}}}}} {{#ifexpr: {{{2}}} < 0|Penalty|Bonus}} to Armor Class}}}}</onlyinclude>

Revision as of 18:25, 13 November 2020

AC[edit]

This template is used on equipment for the Armor Class enchantment. It shows the text of the ability as close as possible to the way it looks on an items examine window.

Example Usage
{{AC|Natural Armor|5|Insight}}Insightful Natural Armor +5: Passive: +5 Insight Natural Armor bonus to Armor Class.

Usage[edit]

{{AC|(Source)|(Enhancement Amount)|(Bonus Type)}}

Parameter Documentation
SourceThis specifies the source of the Armor class change.
Possible Values:
  • Deflection
  • Natural Armor
  • Shield
  • Armor
  • Riposte
  • Rough Hide
  • Heightened Awareness
  • Hardened Exterior
  • Protection From Evil
Enhancement AmountThis is the amount the Armor Class is increased or decreased. A negative value here will produce "penalty" instead of "bonus".
Bonus TypeThis is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.

Template

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


+: This item grants a + bonus to Armor Class.