Difference between revisions of "Template:Elemental"

From DDO Compendium
 
(20 intermediate revisions by the same user not shown)
Line 13: Line 13:
|example5 = <nowiki>{{Elemental|Light|Dice|{{Dice||1|10||4}}|Undead}}</nowiki>
|example5 = <nowiki>{{Elemental|Light|Dice|{{Dice||1|10||4}}|Undead}}</nowiki>
|example5output = {{Elemental|Light|Dice|{{Dice||1|10||4}}|Undead}}
|example5output = {{Elemental|Light|Dice|{{Dice||1|10||4}}|Undead}}
|example6 = <nowiki>{{Elemental|Cold|Gale}}</nowiki>
|example6output = {{Elemental|Cold|Gale}}
|parameter1name = Element
|parameter1name = Element
|parameter1description = Defines which element is being added for damage.
|parameter1description = Defines which element is being added for damage.
Line 32: Line 30:
* Touch
* Touch
* Burst
* Burst
* Burst10
* Superior Burst
* Superior Burst
* Gale
* Greater Burst
* Greater Burst10
* Effect (requires damage amount)
* Effect (requires damage amount)
* Critical (requires damage amount)
* Critical (requires damage amount)
* Critical Burst
* Critical Burst
* Dice (requires damage amount)
* Dice (requires damage amount) [[Template:Dice]]
* Coruscating (requires damage amount)
* Coruscating (requires damage amount)
* Radiance
* Radiance
* Blast
* Greater Blast
* Spell
* HitAndCrit
* Vorpal *Requires Damage Amount using [[Template:Dice]])
* Basic - Default if it doesn't match any of the above
* Basic - Default if it doesn't match any of the above
|parameter3name = Damage Amount
|parameter3name = Damage Amount
Line 47: Line 52:
|parameter5name = Title
|parameter5name = Title
|parameter5description = This is the title of the enchantment, if different than the default
|parameter5description = This is the title of the enchantment, if different than the default
|parameter6name = Is Armor
|parameter6description = Is this enchantment on armor
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:Elemental||[[Category:Items that do {{{1}}} Damage]]}}{{#switch: {{lc:{{{2}}}}}
<onlyinclude>{{#switch: {{lc:{{{2}}}}}
|touch='''[[Elemental#Touch|{{#if: {{{5|}}}|{{{5}}}|{{{1}}} Touch}}:]]''' This weapon is feels like {{{1}}} when touched. The weapon deals an additional 1 {{{1}}} damage each hit.
|touch={{EnchTitle|Elemental (Enchantment)#Touch|{{{1}}} Touch|{{{5|}}}}}{{EnchBody|This weapon is feels like {{{1}}} when touched. The weapon deals an additional 1 {{{1}}} damage each hit.}}
|burst='''[[Elemental#Burst|{{#if: {{{5|}}}|{{{5}}}|{{{1}}} Burst}}:]]''' This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||1|6}} {{{1}}} damage each hit.  In addition, critical hits deal and additional {{Dice||1|10}} {{{1}}} damage for weapons with a x2 critical multiplier, {{Dice||2|10}} for a x3 critical multiplier and {{Dice||3|10}} for a x4 multiplier.
|burst={{EnchTitle|Elemental (Enchantment)#Burst|{{{1}}} Burst|{{{5|}}}}}{{EnchBody|{{#if: {{{6|}}}|While you are wearing this item, your melee, ranged, and unarmed attacks gain the {{{1}}} Burst ability. (}}This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||1|6}} {{{1}}} damage each hit.  In addition, critical hits deal an additional {{Dice||1|10}} {{{1}}} damage for weapons with a x2 critical multiplier, {{Dice||2|10}} for a x3 critical multiplier and {{Dice||3|10}} for a x4 multiplier.{{#if: {{{6|}}}|)}}}}
|superior burst='''[[Elemental#Superior Burst|{{#if: {{{5|}}}|{{{5}}}|Superior {{{1}}} Burst}}:]]''' This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||2|6}} {{{1}}} damage each hit.  In addition, critical hits deal and additional {{Dice||2|10}} {{{1}}} damage for weapons with a x2 critical multiplier, {{Dice||4|10}} for a x3 critical multiplier and {{Dice||6|10}} for a x4 multiplier.
|burst10={{EnchTitle|Elemental (Enchantment)#Burst|{{{1}}} Burst|{{{5|}}}}}{{EnchBody|This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||1|10}} {{{1}}} damage each hit.  In addition, critical hits deal an additional {{Dice||1|10}} {{{1}}} damage for weapons with a x2 critical multiplier, {{Dice||2|10}} for a x3 critical multiplier and {{Dice||3|10}} for a x4 multiplier.}}
|greater burst='''[[Elemental#Greater Burst|{{#if: {{{5|}}}|{{{5}}}|Greater {{{1}}} Burst}}:]]''' This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||4|6}} {{{1}}} damage each hit.  In addition, critical hits deal and additional {{Dice||4|10}} {{{1}}} damage for weapons with a x2 critical multiplier, {{Dice||6|10}} for a x3 critical multiplier and {{Dice||8|10}} for a x4 multiplier.
|superior burst={{EnchTitle|Elemental (Enchantment)#Superior Burst|Superior {{{1}}} Burst|{{{5|}}}}}{{EnchBody|This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||2|6}} {{{1}}} damage each hit.  In addition, critical hits deal an additional {{Dice||2|10}} {{{1}}} damage for weapons with a x2 critical multiplier, {{Dice||4|10}} for a x3 critical multiplier and {{Dice||6|10}} for a x4 multiplier.}}
|gale='''[[Elemental#Effect|{{#if: {{{5|}}}|{{{5}}}|{{{1}}} Gale}}:]]''' This weapon is imbued with {{lc:{{{1}}}}} wrath. On an attack roll of 20 which is confirmed as a critical hit this {{lc:{{{1}}}}} power will be released, dealing damage to the target and all enemies near it for {{Dice||15|6}} {{lc:{{{1}}}}} damage. A successful {{SaveDC|Will|39||||color}} save reduces this by half.
|greater burst={{EnchTitle|Elemental (Enchantment)#Greater Burst|Greater {{{1}}} Burst|{{{5|}}}}}{{EnchBody|This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||4|6}} {{{1}}} damage each hit.  In addition, critical hits deal an additional {{Dice||4|10}} {{{1}}} damage for weapons with a x2 critical multiplier, {{Dice||6|10}} for a x3 critical multiplier and {{Dice||8|10}} for a x4 multiplier.}}
|effect='''[[Elemental#Effect|{{#if: {{{5|}}}|{{{5}}}|{{{1}}} +{{{3}}}}}:]]''' Additional {{Dice||{{{3}}}|6}} {{{1}}} damage per hit.
|greater burst10={{EnchTitle|Elemental (Enchantment)#Greater Burst|Greater {{{1}}} Burst|{{{5|}}}}}{{EnchBody|This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||4|10}} {{{1}}} damage each hit. In addition, critical hits deal an additional {{Dice||4|10}} {{{1}}} damage for weapons with a x2 critical multiplier, {{Dice||6|10}} for a x3 critical multiplier and {{Dice||8|10}} for a x4 multiplier.}}
|critical='''[[Elemental#Critical|{{#if: {{{5|}}}|{{{5}}}|Critical {{{1}}} +{{{3}}}}}:]]''' This weapon deals {{Dice||{{{3}}}|6}} {{{1}}} Damage on Critical Hit.
|effect={{EnchTitle|Elemental (Enchantment)#Effect|{{{1}}} +{{{3}}}|{{{5|}}}}}{{EnchBody|Additional {{Dice||{{{3}}}|6}} {{{1}}} damage per hit.}}
|dice='''[[Elemental|{{#if: {{{5|}}}|{{{5}}}|{{{1}}}{{#if: {{{4|}}}|&nbsp;vs. {{{4}}}}}}}:]]''' The weapon deals an additional {{{3}}} {{{1}}} damage on each hit{{#if: {{{4|}}}|&nbsp;vs. {{{4}}}}}.
|critical={{EnchTitle|Elemental (Enchantment)#Critical|Critical {{{1}}} +{{{3}}}|{{{5|}}}}}{{EnchBody|This weapon deals {{Dice||{{{3}}}|6}} {{{1}}} Damage on Critical Hit.}}
|coruscating='''[[Elemental|{{#if: {{{5|}}}|{{{5}}}|Coruscating {{{3}}}{{#if: {{{4|}}}|&nbsp;vs. {{{4}}}}}}}:]]''' This effect causes the edges of this weapon to coruscate, dealing {{Dice||{{{3}}}|6}} Light damage on each hit{{#if: {{{4|}}}|&nbsp;vs. {{{4}}}}}.
|dice={{EnchTitle|Elemental (Enchantment)|{{{1}}}{{#if: {{{4|}}}|&nbsp;vs. {{{4}}}}}|{{{5|}}}}}{{EnchBody|The weapon deals an additional {{{3}}} {{{1}}} damage on each hit{{#if: {{{4|}}}|&nbsp;vs. {{{4}}}}}.}}
|critical burst='''[[Elemental|{{#if: {{{5|}}}|{{{5}}}|{{{1}}} Burst}}:]]''' Deals Burst {{{1}}} damage on critical hits, increasing with higher critical multipliers on the weapon.
|vorpal={{EnchTitle|Elemental (Enchantment)|{{{1}}}{{#if: {{{4|}}}|&nbsp;vs. {{{4}}}}}|{{{5|}}}}}{{EnchBody|Deals an additional {{{3}}} {{{1}}} damage on vorpal hits{{#if: {{{4|}}}|&nbsp;vs. {{{4}}}}}.}}
|radiance='''[[Elemental#Light|{{#if: {{{5|}}}|{{{5}}}|{{{1}}} +{{{3}}}}}:]]''' This weapon is imbued with a brilliant radiant power that deals an additional {{Dice||{{{3}}}|6}} {{{1}}} damage and blinds the target on a successful critical hit.
|coruscating={{EnchTitle|Elemental (Enchantment)|Coruscating {{{3}}}{{#if: {{{4|}}}|&nbsp;vs. {{{4}}}}}|{{{5|}}}}}{{EnchBody|This effect causes the edges of this weapon to coruscate, dealing {{Dice||{{{3}}}|6}} Light damage on each hit{{#if: {{{4|}}}|&nbsp;vs. {{{4}}}}}.}}
|#default='''[[Elemental|{{#if: {{{5|}}}|{{{5}}}|{{{1}}}}}:]]''' This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||{{{3|1}}}|6}} {{{1}}} damage each hit.}}</onlyinclude>
|critical burst={{EnchTitle|Elemental (Enchantment)|{{{1}}} Burst|{{{5|}}}}}{{EnchBody|Deals Burst {{{1}}} damage on critical hits, increasing with higher critical multipliers on the weapon.}}
|radiance={{EnchTitle|Elemental (Enchantment)#Light|{{{1}}} +{{{3}}}|{{{5|}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||This weapon is imbued with a brilliant radiant power that deals an additional {{Dice||{{{3}}}|6}} {{{1}}} damage and blinds the target on a successful critical hit.}}
|burst10={{EnchTitle|Elemental (Enchantment)#Burst|{{{1}}} Burst|{{{5|}}}}}{{EnchBody|This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||1|10}} {{{1}}} damage each hit.  In addition, critical hits deal an additional {{Dice||1|10}} {{{1}}} damage for weapons with a x2 critical multiplier, {{Dice||2|10}} for a x3 critical multiplier and {{Dice||3|10}} for a x4 multiplier.}}
|superior burst={{EnchTitle|Elemental (Enchantment)#Superior Burst|Superior {{{1}}} Burst|{{{5|}}}}}{{EnchBody|This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||2|6}} {{{1}}} damage each hit.  In addition, critical hits deal an additional {{Dice||2|10}} {{{1}}} damage for weapons with a x2 critical multiplier, {{Dice||4|10}} for a x3 critical multiplier and {{Dice||6|10}} for a x4 multiplier.}}
|blast={{EnchTitle|Elemental (Enchantment)#Blast|{{{1}}} Blast|{{{5|}}}}}{{EnchBody|This weapon is sheathed in {{{1}}}. Critical hits deal an additional {{Dice||1|10}} {{{1}}} damage for weapons with a x2 critical multiplier, {{Dice||2|10}} for a x3 critical multiplier and {{Dice||3|10}} for a x4 multiplier. Additionally, if you roll a 20 when attacking and confirm the critical hit, the weapon blasts your target, doing {{Dice||4|6}} more {{{1}}} damage.}}
|greater blast={{EnchTitle|Elemental (Enchantment)#Greater Blast|Greater {{{1}}} Blast|{{{5|}}}}}{{EnchBody|This weapon is sheathed in {{{1}}}. Critical hits deal an additional {{Dice||4|10}} {{{1}}} damage for weapons with a x2 critical multiplier, {{Dice||6|10}} for a x3 critical multiplier and {{Dice||8|10}} for a x4 multiplier. Additionally, if you roll a 20 when attacking and confirm the critical hit, the weapon blasts your target, doing {{Dice||6|6}} more {{{1}}} damage.}}
| spell = {{EnchTitle|Elemental (Enchantment)#Harmful Spell|{{{1}}} Spell|{{{5|}}}}}{{EnchBody|On Harmful Spellcast: Do an additional {{Dice||{{{3|1}}}|6}} {{{1}}} Damage.}}
|hitandcrit = {{EnchTitle|Elemental (Enchantment)|{{{1}}}|{{{5|}}}}}{{EnchBody|This weapon is sheathed in {{{1}}}, dealing {{Dice||{{{3|1}}}|6}} {{{1}}} damage a successful hit, and an additional {{Dice||{{{3|1}}}|6}} {{{1}}} damage on a critical hit.}}{{EnchCat|Elemental|Items that do {{{1}}} Damage|Items that do Elemental Damage}}
|#default={{EnchTitle|Elemental (Enchantment)|{{{1}}}|{{{5|}}}}}{{EnchBody|This weapon is sheathed in {{{1}}}. The weapon deals an additional {{Dice||{{{3|1}}}|6}} {{{1}}} damage each hit.}}}}{{EnchCat|Elemental|Items that do {{{1}}} Damage|Items that do Elemental Damage}}</onlyinclude>

Latest revision as of 12:45, 30 August 2022

Elemental[edit]

This template is used on equipment for the Elemental damage enchantment. The Elemental enchantment adds extra elemental damage on an attack.

Example Usage
{{Elemental|Fire}}Fire: This weapon is sheathed in Fire. The weapon deals an additional 1d6 Fire damage each hit.
{{Elemental|Fire|Effect|9}}Fire +9: Additional 9d6 Fire damage per hit.
{{Elemental|Fire|Critical|2}}Critical Fire +2: This weapon deals 2d6 Fire Damage on Critical Hit.
{{Elemental|Fire|Critical|2}}Critical Fire +2: This weapon deals 2d6 Fire Damage on Critical Hit.

Usage[edit]

{{Elemental|(Element)|(Type)|(Damage Amount)|(Creature)|(Title)|(Is Armor)}}

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 effect is added. This is optional, and if missing it will assume you meant the basic effect.
Possible Values:
  • Touch
  • Burst
  • Burst10
  • Superior Burst
  • Greater Burst
  • Greater Burst10
  • Effect (requires damage amount)
  • Critical (requires damage amount)
  • Critical Burst
  • Dice (requires damage amount) Template:Dice
  • Coruscating (requires damage amount)
  • Radiance
  • Blast
  • Greater Blast
  • Spell
  • HitAndCrit
  • Vorpal *Requires Damage Amount using Template:Dice)
  • Basic - Default if it doesn't match any of the above
Damage AmountThis specifies how much damage is added specified as the number of d6 dice are rolled. It is only used when the type is Effect or Critical or if type is Dice, than the exact dice amount.
CreatureThis is the creature the extra damage is against (i.e. Undead, Evil, etc)
TitleThis is the title of the enchantment, if different than the default
Is ArmorIs this enchantment on armor

Template

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


{{{1}}}: This weapon is sheathed in {{{1}}}. The weapon deals an additional 1d6 {{{1}}} damage each hit.