Difference between revisions of "Template:Guard"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|example1 = <nowiki>{{Guard|Fire|3}}</nowiki> | |example1 = <nowiki>{{Guard|Fire|3}}</nowiki> | ||
|example1output = {{Guard|Fire|3}} | |example1output = {{Guard|Fire|3}} | ||
|example2 = <nowiki>{{Guard| | |example2 = <nowiki>{{Guard|Constitution|1|6|Poison Guard|Fortitude|20}}</nowiki> | ||
|example2output = {{Guard| | |example2output = {{Guard|Constitution|1|6|Poison Guard|Fortitude|20}} | ||
| | |||
| | |||
|parameter1name = Damage Type | |parameter1name = Damage Type | ||
|parameter1description = The type of damage that is added, or effect that occurs | |parameter1description = The type of damage that is added, or effect that occurs | ||
|parameter2name = Additional Dice | |parameter2name = Additional Dice | ||
|parameter2description = This is the number of dice of damage that is done | |parameter2description = This is the number of dice of damage that is done | ||
Line 20: | Line 14: | ||
|parameter3name = Die Side | |parameter3name = Die Side | ||
|parameter3description = This is the number of sides the dice that are rolled have. If you leave this off it defaults to a d6. | |parameter3description = This is the number of sides the dice that are rolled have. If you leave this off it defaults to a d6. | ||
|parameter4name = Title | |||
|parameter4description = The title of this enchantment if different than the default | |||
|parameter5name = Save that Negates | |||
|parameter5description = The type of save that will negate the effect | |||
|parameter5values= | |||
* Fortitude | |||
* Reflex | |||
* Will | |||
|parameter6name = DC | |||
|parameter6description = The DC of the save that negates | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude> | <onlyinclude>{{EnchTitle|Guard|{{{1}}} Guard +{{{2|}}}|{{{4|}}}}}{{EnchBody|When hit or missed in Melee: Deals {{Dice||{{{2}}}|{{{3|6}}}}} {{{1}}} damage to your attacker.{{#if: {{{5|}}}|A successful {{SaveDC|{{{5}}}|{{{6|}}}||||color}} will negate this effect.}}}}{{EnchCat|Guard|Items with {{{1}}} Guard|Guard Items}}</onlyinclude> | ||
}}</onlyinclude> |
Latest revision as of 22:02, 21 April 2022
Guard[edit]
This template is used on equipment for the Guard enchantment. Guard is an enchantment that adds damage when the defender is successfully hit.
Example Usage | |
{{Guard|Fire|3}} | Fire Guard +3: When hit or missed in Melee: Deals 3d6 Fire damage to your attacker. |
{{Guard|Constitution|1|6|Poison Guard|Fortitude|20}} | Poison Guard: When hit or missed in Melee: Deals 1d6 Constitution damage to your attacker.A successful Fortitude DC: 20 will negate this effect. |
Usage[edit]
{{Guard|(Damage Type)|(Additional Dice)|(Die Side)|(Title)|(Save that Negates)|(DC)}}
Parameter Documentation | |
Damage Type | The type of damage that is added, or effect that occurs |
Additional Dice | This is the number of dice of damage that is done |
Die Side | This is the number of sides the dice that are rolled have. If you leave this off it defaults to a d6. |
Title | The title of this enchantment if different than the default |
Save that Negates | The type of save that will negate the effect Possible Values:
|
DC | The DC of the save that negates |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{1}}} Guard +: When hit or missed in Melee: Deals {{{2}}}d6 {{{1}}} damage to your attacker.