Difference between revisions of "Template:Smiting"

From DDO Compendium
Line 20: Line 20:
<onlyinclude>
<onlyinclude>
{{#switch: {{lc:{{{1}}}}}
{{#switch: {{lc:{{{1}}}}}
| improved = {{#ifeq: {{FULLPAGENAME}} |Template:Smiting||[[Category:Items with Improved Smiting]]}}[[Smiting#Improved Smiting|'''Improved Smiting''':]] On Hit: {{Dice||4|6}} {{DamageType|Bane}} damage to [[Construct|Constructs]]. On Vorpal Hit: If an Construct struck by this weapon has fewer than 1500 Hit Points, it is instantly slain. If an Construct has above 1500 Hit Points, it takes 150 damage.  
| improved = {{EnchTitle|Smiting#Improved Smiting|Improved Smiting}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Smiting||[[Category:Items with Improved Smiting]]}}On Hit: {{Dice||4|6}} {{DamageType|Bane}} damage to [[Construct|Constructs]]. On Vorpal Hit: If an Construct struck by this weapon has fewer than 1500 Hit Points, it is instantly slain. If an Construct has above 1500 Hit Points, it takes 150 damage.}}
| sovereign = {{#ifeq: {{FULLPAGENAME}} |Template:Smiting||[[Category:Items with Sovereign Smiting]]}}[[Smiting#Sovereign Smiting|'''Sovereign Smiting''':]] On Hit: {{Dice||4|6}} {{DamageType|Bane}} damage to [[Construct|Constructs]]. On Vorpal Hit: If an Construct struck by this weapon has fewer than 3000 Hit Points, it is instantly slain. If an Construct has above 3000 Hit Points, it takes 300 damage.  
 
| weapons = {{#ifeq: {{FULLPAGENAME}} |Template:Smiting||[[Category:Items with Smiting Weapons]]}}[[Smiting#Smiting Weapons|'''Smiting Weapons''':]] While wearing this item, your melee and ranged weapons gain Vorpal effect: If an [[Construct]] struck by this weapon has fewer than 1500 Hit Points, it is instantly slain. If an Construct has above 1500 Hit Points, it takes 150 damage.
| sovereign = {{EnchTitle|Smiting#Sovereign Smiting|Sovereign Smiting}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Smiting||[[Category:Items with Sovereign Smiting]]}}On Hit: {{Dice||4|6}} {{DamageType|Bane}} damage to [[Construct|Constructs]]. On Vorpal Hit: If an Construct struck by this weapon has fewer than 3000 Hit Points, it is instantly slain. If an Construct has above 3000 Hit Points, it takes 300 damage.}}
| #default = {{#ifeq: {{FULLPAGENAME}} |Template:Smiting||[[Category:Items with Smiting]]}}[[Smiting|'''Smiting''':]] On Hit: {{Dice||4|6}} {{DamageType|Bane}} damage to [[Construct|Constructs]]. On Vorpal Hit: If an Construct struck by this weapon has fewer than 1000 Hit Points, it is instantly slain. If an Construct has above 1000 Hit Points, it takes 100 damage.}}</onlyinclude>
 
| weapons = {{EnchTitle|Smiting#Smiting Weapons|Smiting Weapons}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Smiting||[[Category:Items with Smiting Weapons]]}}While wearing this item, your melee and ranged weapons gain Vorpal effect: If an [[Construct]] struck by this weapon has fewer than 1500 Hit Points, it is instantly slain. If an Construct has above 1500 Hit Points, it takes 150 damage.}}
 
| #default = {{EnchTitle|Smiting|Smiting}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Smiting||[[Category:Items with Smiting]]}}On Hit: {{Dice||4|6}} {{DamageType|Bane}} damage to [[Construct|Constructs]]. On Vorpal Hit: If an Construct struck by this weapon has fewer than 1000 Hit Points, it is instantly slain. If an Construct has above 1000 Hit Points, it takes 100 damage.}}
}}</onlyinclude>

Revision as of 20:08, 9 December 2019

Smiting[edit]

This template is used on equipment for the Smiting enchantment. Smiting will slay a construct when under a specific hit point level.

Example Usage
{{Smiting}}Smiting: On Hit: 4d6 Bane damage to Constructs. On Vorpal Hit: If an Construct struck by this weapon has fewer than 1000 Hit Points, it is instantly slain. If an Construct has above 1000 Hit Points, it takes 100 damage.
{{Smiting|Improved}}Improved Smiting: On Hit: 4d6 Bane damage to Constructs. On Vorpal Hit: If an Construct struck by this weapon has fewer than 1500 Hit Points, it is instantly slain. If an Construct has above 1500 Hit Points, it takes 150 damage.
{{Smiting|Weapons}}Smiting Weapons: While wearing this item, your melee and ranged weapons gain Vorpal effect: If an Construct struck by this weapon has fewer than 1500 Hit Points, it is instantly slain. If an Construct has above 1500 Hit Points, it takes 150 damage.

Usage[edit]

{{Smiting|(Style)}}

Parameter Documentation
StyleThis is the which style of smiting this covers. If this is not specified, the basic smiting is used.
Possible Values:
  • Improved
  • Sovereign
  • Weapons
  • Basic

Template

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



Smiting: On Hit: 4d6 Bane damage to Constructs. On Vorpal Hit: If an Construct struck by this weapon has fewer than 1000 Hit Points, it is instantly slain. If an Construct has above 1000 Hit Points, it takes 100 damage.