Difference between revisions of "Template:ElementalAOE"

From DDO Compendium
Line 31: Line 31:
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
|acid={{EnchTitle|Elemental AOE#Acid Torrent|{{#switch: {{lc:{{{2}}}}}|greater=Greater&nbsp;|#default=}}Acid Torrent}}
|acid={{EnchTitle|Elemental AOE#Acid Torrent|{{{2|}}} Acid Torrent}}
|electricity={{EnchTitle|Elemental AOE#Electric Storm|{{#switch: {{lc:{{{2}}}}}|greater=Greater&nbsp;|#default=}}Electric Storm}}
|electricity={{EnchTitle|Elemental AOE#Electric Storm|{{{2|}}} Electric Storm}}
|fire={{EnchTitle|Elemental AOE#Fiery Detonation|{{#switch: {{lc:{{{2}}}}}|greater=Greater&nbsp;|#default=}}Fiery Detonation}}
|fire={{EnchTitle|Elemental AOE#Fiery Detonation|{{{2|}}} Fiery Detonation}}
|cold={{EnchTitle|Elemental AOE#Freezing Gale|{{#switch: {{lc:{{{2}}}}}|greater=Greater&nbsp;|#default=}}Freezing Gale}}
|cold={{EnchTitle|Elemental AOE#Freezing Gale|{{{2|}}} Freezing Gale}}
}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#switch: {{lc:{{{1}}}}}
}}{{EnchBody|On an attack roll of 20 which is confirmed as a critical hit this power will be released, dealing damage to the target and all enemies near it for {{#switch: {{lc:{{{2}}}}}
|acid={{#ifeq: {{FULLPAGENAME}} |Template:ElementalAOE||[[Category:Items that have Acid Torrent]]}}
 
|electricity={{#ifeq: {{FULLPAGENAME}} |Template:ElementalAOE||[[Category:Items that have Electric Storm]]}}
 
|fire={{#ifeq: {{FULLPAGENAME}} |Template:ElementalAOE||[[Category:Items that have Fiery Detonation]]}}
 
|cold={{#ifeq: {{FULLPAGENAME}} |Template:ElementalAOE||[[Category:Items that have Freezing Gale]]}}
}} On an attack roll of 20 which is confirmed as a critical hit this power will be released, dealing damage to the target and all enemies near it for {{#switch: {{lc:{{{2}}}}}
| greater={{Dice||30|3||90}}
| greater={{Dice||30|3||90}}
|#default={{Dice||15|6}}}} {{lc:{{{1}}}}} damage. A successful {{#switch: {{lc:{{{2}}}}}  
|#default={{Dice||15|6}}}} {{lc:{{{1}}}}} damage. A successful {{#switch: {{lc:{{{2}}}}}  
| greater={{SaveDC|Reflex|90||||color}}
| greater={{SaveDC|Reflex|90||||color}}
|#default= {{SaveDC|Reflex|39||||color}}}} save reduces this by half.}}</onlyinclude>
|#default= {{SaveDC|Reflex|39||||color}}}} save reduces this by half.}}{{#switch: {{lc:{{{1}}}}}
|acid={{EnchCat|ElementalAOE|Items that have Acid Torrent}}
|electricity={{EnchCat|ElementalAOE|Items that have Electric Storm}}
|fire={{EnchCat|ElementalAOE|Items that have Fiery Detonation}}
|cold={{EnchCat|ElementalAOE|Items that have Freezing Gale}}
}} </onlyinclude>

Revision as of 21:36, 12 December 2019

ElementalAOE[edit]

This template is used on equipment for the Elemental AOE enchantments.

Example Usage
{{ElementalAOE|Fire}}Fiery Detonation: On an attack roll of 20 which is confirmed as a critical hit this power will be released, dealing damage to the target and all enemies near it for 15d6 fire damage. A successful Reflex DC: 39 save reduces this by half.
{{ElementalAOE|Fire|Greater}}Greater Fiery Detonation: On an attack roll of 20 which is confirmed as a critical hit this power will be released, dealing damage to the target and all enemies near it for 30d3+90 fire damage. A successful Reflex DC: 90 save reduces this by half.
{{ElementalAOE|Electricity}}Electric Storm: On an attack roll of 20 which is confirmed as a critical hit this power will be released, dealing damage to the target and all enemies near it for 15d6 electricity damage. A successful Reflex DC: 39 save reduces this by half.
{{ElementalAOE|Electricity|Greater}}Greater Electric Storm: On an attack roll of 20 which is confirmed as a critical hit this power will be released, dealing damage to the target and all enemies near it for 30d3+90 electricity damage. A successful Reflex DC: 90 save reduces this by half.

Usage[edit]

{{ElementalAOE|(Element)|(Type)}}

Parameter Documentation
ElementDefines which element is being added for damage.
Possible Values:
  • Acid
  • Cold
  • Electricity
  • Fire
  • Force
  • Light
  • Sonic
  • Negative
  • Poison
TypeThis specifies which type of AOE
Possible Values:
  • Greater
  • Basic - Default if it doesn't match any of the above

Template

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


On an attack roll of 20 which is confirmed as a critical hit this power will be released, dealing damage to the target and all enemies near it for 15d6 {{{1}}} damage. A successful Reflex DC: 39 save reduces this by half.