Difference between revisions of "Template:Guard"

From DDO Compendium
m
m
Line 1: Line 1:
<noinclude>[[Category:Template]]Used as following: <nowiki>{{Guard|(Type)|(Modifier)}}</nowiki><br><br>
<noinclude>[[Category:Template]]
The Guard Template has many types of syntax's to use, as follows:<br>


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


List of Customs:
* Invisibility
* Nightmare
<br><br>


</noinclude><onlyinclude>{{#switch: {{{1}}}
</noinclude><onlyinclude>{{#switch: {{{1}}}
| Custom = [[Category:Items with {{{2}}} Guard]][[{{{2}}} Guard|{{{2}}} Guard:]] {{#switch: {{{2}}}
|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.
| Invisibility = Complete: Chance to cast invisibility on you when you are hit for 10 seconds
|Alignment =  
| Nightmare = Complete: Chance to cast nightmare on target
| #default =  
}}
}}
| #default = [[Category:Items with {{{1}}} Guard]][[{{{1}}} Guard|{{{1}}} Guard:]]
</onlyinclude>
}}</onlyinclude>

Revision as of 19:41, 1 May 2018

The Guard Template has many types of syntax's to use, as follows:

Where the damage is in format (a d b) like 1d4

Elemental[edit]

{{Guard|Elemental|(Element)|a|b|(Optional Name)}}

Defaults:

  • b = 4


Example: {{Guard|Elemental|Fire|3}}
Fire Guard 3: When hit in Melee: Deals 3d4 Fire damage to your attacker.

Alignment[edit]

{{{Guard|Alignment|a|(Optional Name)}}