Difference between revisions of "Template:DamageEffect"

From DDO Compendium
Line 51: Line 51:
|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='''[[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.
|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='''[[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.
|dice='''[[Elemental|{{#if: {{{5|}}}|{{{5}}}|{{{1}}} Damage}}:]]''' On Hit: {{{3}}} {{{1}}} damage.
|dice='''[[Elemental|{{#if: {{{5|}}}|{{{5}}}|{{{1}}} Damage}}:]]''' On Hit: {{{3}}} {{{1}}} damage. {{#ifeq: {{lc:{{{4}}}}}|true|{{#switch {{{1|}}}
|Unholy= This effect makes the weapon evil aligned. Good characters wielding this weapon will suffer one negative level.
|Holy = This effect makes this weapon good aligned. Evil characters wielding this weapon will suffer one negative level.
|Axiomatic =  This effect makes the weapon lawfully aligned. Chaotic characters wielding this weapon will suffer one negative level.
|Anarchic = This effect makes the weapon chaotically aligned. Lawful characters wielding this weapon will suffer one negative level.
}}
|#default={{#switch: {{{1|}}}
|#default={{#switch: {{{1|}}}
|Unholy= '''[[Unholy|{{#if: {{{5|}}}|{{{5}}}|Unholy {{{3}}}}}:]]''' This weapon is used by the wicked to smite the pure, dealing an additional {{Dice||{{{3}}}|6}} evil damage on each hit. This effect makes the weapon evil aligned. {{#switch: {{lc:{{{4}}}}}|true = Good characters wielding this weapon will suffer one negative level.}}
|Unholy= '''[[Unholy|{{#if: {{{5|}}}|{{{5}}}|Unholy {{{3}}}}}:]]''' This weapon is used by the wicked to smite the pure, dealing an additional {{Dice||{{{3}}}|6}} evil damage on each hit. This effect makes the weapon evil aligned. {{#switch: {{lc:{{{4}}}}}|true = Good characters wielding this weapon will suffer one negative level.}}

Revision as of 01:30, 27 September 2018

DamageEffect[edit]

A consolidated template for all damage bonus effects

Example Usage
{{DamageEffect|Entropic||1}}{{#switch:

|touch=Entropic Touch: This weapon is feels like Entropic when touched. The weapon deals an additional 1 Entropic damage each hit. |burst=Entropic Burst: This weapon is sheathed in Entropic. The weapon deals an additional 1d6 Entropic damage each hit. In addition, critical hits deal and additional 1d10 Entropic damage for weapons with a x2 critical multiplier, 2d10 for a x3 critical multiplier and 3d10 for a x4 multiplier. |dice=Entropic Damage: On Hit: 1 Entropic damage.

  1. default=Entropic 1: This weapon is intensely powerful, and crackles with destructive, unpredictable magic. It deals an additional 1d6 untyped damage on each hit.
{{DamageEffect|Anarchic||3|True}}{{#switch:

|touch=Anarchic Touch: This weapon is feels like Anarchic when touched. The weapon deals an additional 1 Anarchic damage each hit. |burst=Anarchic Burst: This weapon is sheathed in Anarchic. The weapon deals an additional 1d6 Anarchic damage each hit. In addition, critical hits deal and additional 1d10 Anarchic damage for weapons with a x2 critical multiplier, 2d10 for a x3 critical multiplier and 3d10 for a x4 multiplier. |dice=Anarchic Damage: On Hit: 3 Anarchic damage. {{#switch Anarchic |Unholy= This effect makes the weapon evil aligned. Good characters wielding this weapon will suffer one negative level. |Holy = This effect makes this weapon good aligned. Evil characters wielding this weapon will suffer one negative level. |Axiomatic = This effect makes the weapon lawfully aligned. Chaotic characters wielding this weapon will suffer one negative level. |Anarchic = This effect makes the weapon chaotically aligned. Lawful characters wielding this weapon will suffer one negative level.

}}
{{DamageEffect|Unholy||9||Choked by Mother Night|"Mother Night does not answer the prayers of her disciples without due cause. Strike those who disobey Her with this relic, and be rewarded."}}{{#switch:

|touch=Choked by Mother Night: This weapon is feels like Unholy when touched. The weapon deals an additional 1 Unholy damage each hit. |burst=Choked by Mother Night: This weapon is sheathed in Unholy. The weapon deals an additional 1d6 Unholy damage each hit. In addition, critical hits deal and additional 1d10 Unholy damage for weapons with a x2 critical multiplier, 2d10 for a x3 critical multiplier and 3d10 for a x4 multiplier. |dice=Choked by Mother Night: On Hit: 9 Unholy damage.

  1. default=Choked by Mother Night: This weapon is used by the wicked to smite the pure, dealing an additional 9d6 evil damage on each hit. This effect makes the weapon evil aligned.
    "Mother Night does not answer the prayers of her disciples without due cause. Strike those who disobey Her with this relic, and be rewarded."

Usage[edit]

{{DamageEffect|(Effect Name)|(Effect Type)|(Dice Count)|((Alignment) Does this cause negative level of those of the opposite alignment?)|(Title)|(Quote)}}

Parameter Documentation
Effect NameWhat is the name of this effect
Possible Values:
  • Acid
  • Cold
  • Electricity
  • Fire
  • Force
  • Light
  • Sonic
  • Negative
  • Poison
  • Holy
  • Unholy
  • Anarchic
  • Axomatic
  • Entropic
Effect TypeThe Type of the Effect
Possible Values:
  • Touch
  • Burst
  • Effect (Default)
  • Dice - Set dice count to actual dice
Dice CountHow many d6 damage is dealt?
Possible Values: any integer number
(Alignment) Does this cause negative level of those of the opposite alignment?
Possible Values:
  • True
  • False (default)
TitleCustom title for the effect
QuoteA quote to display after the effect

Template

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


[[Category:Items that do {{{1}}} Damage]]{{#switch: {{{2}}}

|touch={{{1}}} Touch: This weapon is feels like {{{1}}} when touched. The weapon deals an additional 1 {{{1}}} damage each hit. |burst={{{1}}} Burst: This weapon is sheathed in {{{1}}}. The weapon deals an additional 1d6 {{{1}}} damage each hit. In addition, critical hits deal and additional 1d10 {{{1}}} damage for weapons with a x2 critical multiplier, 2d10 for a x3 critical multiplier and 3d10 for a x4 multiplier. |dice={{{1}}} Damage: On Hit: {{{3}}} {{{1}}} damage.

  1. default=[[Category:Items that do {{{1}}} Damage]]{{{1}}} +{{{3}}}: Additional {{{3}}}d6 {{{1}}} damage per hit.