Difference between revisions of "Template:Guard"

From DDO Compendium
m
Line 1: Line 1:
<noinclude>[[Category:Template]]
<noinclude>[[Category:Template]]
The Guard Template has many types of syntax's to use, as follows:<br>
This template is for damaging guards. If you would like to make a new guard, such as Nightmare Guard, please use a new template.<br>


Where the damage is in format (a '''d''' b) like 1d4
Where the damage is in format (a '''d''' b) like 1d4
==== Elemental ====
<nowiki>{{Guard|(Element)|a|b (Optional, default is 6)}}</nowiki><br>
<nowiki>{{Guard|Elemental|(Element)|a|b|(Optional Name)}}</nowiki><br>
<br>Example: <nowiki>{{Guard|Fire|3}}</nowiki><br>
<br>Defaults:
{{Guard|Fire|3}}
* b = 4
<br>Example: <nowiki>{{Guard|Elemental|Fire|3}}</nowiki><br>
{{Guard|Elemental|Fire|3}}
==== Alignment ====
<nowiki>{{{Guard|Alignment|a|(Optional Name)}}</nowiki>




</noinclude><onlyinclude>{{#switch: {{{1}}}
</noinclude><onlyinclude>[[Category:Items with {{{1}}} Guard]][[Guard|{{{1}}} Guard +{{{2}}}d{{{3|6}}}:]] When hit or missed in Melee: Deals {{{2}}}d{{{3|6}}} damage to your attacker.
|Elemental = [[Category:Items with {{{2}}} Guard]][[{{{2}}} Guard|{{{2}}} Guard {{{3}}}:]] When hit in Melee: Deals {{Dice||{{{3}}}|{{{4|4}}}}} {{{2}}} damage to your attacker.
|Alignment =
}}
</onlyinclude>
</onlyinclude>

Revision as of 19:47, 1 May 2018

This template is for damaging guards. If you would like to make a new guard, such as Nightmare Guard, please use a new template.

Where the damage is in format (a d b) like 1d4 {{Guard|(Element)|a|b (Optional, default is 6)}}

Example: {{Guard|Fire|3}}
Fire Guard +3d6: When hit or missed in Melee: Deals 3d6 damage to your attacker.


[[Category:Items with {{{1}}} Guard]]{{{1}}} Guard +{{{2}}}d6: When hit or missed in Melee: Deals {{{2}}}d6 damage to your attacker.