Difference between revisions of "Template:SpellLore"

From DDO Compendium
Line 57: Line 57:
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{EnchTitle|Spell Critical Chance|{{BonusTypeNameConversion|{{{3|}}}|True}} {{#switch: {{lc:{{{1|}}}}}
<onlyinclude>{{#if: {{{3|}}}|{{#dplvar:set|bonustype|{{BonusTypeNameConversion|{{{3|}}}}}}}|{{#dplvar:set|bonustype|{{BonusTypeNameConversion|Equipment}}}}}}{{EnchTitle|Spell Critical Chance|{{BonusTypeNameConversion|{{{3|}}}|True}} {{#switch: {{lc:{{{1|}}}}}
|fire |combustion = Fire
|fire |combustion = Fire
|acid |corrosion = Acid
|acid |corrosion = Acid
Line 112: Line 112:
|thunderstorm=Sonic and Electric
|thunderstorm=Sonic and Electric
|#default=
|#default=
}} spells gain a +{{{2}}}% {{BonusTypeNameConversion|{{{3|Equipment}}}}} bonus to their chance to Critical Hit.}}{{EnchCat|SpellLore|Items with {{#switch: {{lc:{{{1|}}}}}
}} spells gain a +{{{2}}}% {{#dplvar:bonustype}} bonus to their chance to Critical Hit.}} {{#switch: {{lc:{{{1|}}}}}
|fire |combustion = Fire Lore
|fire |combustion = {{EnchCat|SpellLore|Items with Fire Lore|+{{#dplvar:bonustype}} Fire Spells Critical Hit Chance}}
|acid |corrosion = Acid Lore
|acid |corrosion = {{EnchCat|SpellLore|Items with Acid Lore|+{{#dplvar:bonustype}} Acid Spells Critical Hit Chance}}
|devotion = Devotion Lore
|devotion|healing = {{EnchCat|SpellLore|Items with Devotion Lore|+{{#dplvar:bonustype}} Positive Spells Critical Hit Chance}}
|ice |glaciation = Ice Lore
|ice |glaciation = {{EnchCat|SpellLore|Items with Ice Lore|+{{#dplvar:bonustype}} Cold Spells Critical Hit Chance}}
|force|kenetic|kinetic =Kinetic Lore
|force|kenetic|kinetic = {{EnchCat|SpellLore|Items with Kinetic Lore|+{{#dplvar:bonustype}} Force Spells Critical Hit Chance}}
|impulse = Impulse Lore
|impulse = {{EnchCat|SpellLore|Items with Impulse Lore|+{{#dplvar:bonustype}} Force Spells Critical Hit Chance}}
|lightning|magnetism = Lightning Lore
|lightning|magnetism = {{EnchCat|SpellLore|Items with Lightning Lore|+{{#dplvar:bonustype}} Electric Spells Critical Hit Chance}}
|negative|nullification|void = Void Lore
|negative|nullification|void = {{EnchCat|SpellLore|Items with Void Lore|+{{#dplvar:bonustype}} Negative Spells Critical Hit Chance|+{{#dplvar:bonustype}} Poison Spells Critical Hit Chance}}
|light|radiance = Radiance Lore
|light|radiance= {{EnchCat|SpellLore|Items with Radiance Lore|+{{#dplvar:bonustype}} Light Spells Critical Hit Chance|+{{#dplvar:bonustype}} Chaos Spells Critical Hit Chance|+{{#dplvar:bonustype}} Evil Spells Critical Hit Chance|+{{#dplvar:bonustype}} Good Spells Critical Hit Chance|+{{#dplvar:bonustype}} Lawful Spells Critical Hit Chance}}
|repair|reconstruction = Repair Lore
|repair|reconstruction = {{EnchCat|SpellLore|Items with Repair Lore|+{{#dplvar:bonustype}} Repair Spells Critical Hit Chance}}
|sonic|resonance = Sonic Lore
|sonic|resonance = {{EnchCat|SpellLore|Items with Sonic Lore|+{{#dplvar:bonustype}} Sonic Spells Critical Hit Chance}}
|healing = Healing Lore
|purifying flame = {{EnchCat|SpellLore|Items with Purifying Flame|+{{#dplvar:bonustype}} Fire Spells Critical Hit Chance|+{{#dplvar:bonustype}} Light Spells Critical Hit Chance}}
|purifying flame= Purifying Flame
|dark restoration = {{EnchCat|SpellLore|Items with Dark Restoration|+{{#dplvar:bonustype}} Negative Spells Critical Hit Chance|+{{#dplvar:bonustype}} Poison Spells Critical Hit Chance|+{{#dplvar:bonustype}} Positive Spells Critical Hit Chance}}
|dark restoration= Dark Restoration
|frozen storm = {{EnchCat|SpellLore|Items with Frozen Storm|+{{#dplvar:bonustype}} Cold Spells Critical Hit Chance|+{{#dplvar:bonustype}} Electric Spells Critical Hit Chance}}
|frozen storm=Frozen Storm
|creeping dust = {{EnchCat|SpellLore|Items with Creeping Dust|+{{#dplvar:bonustype}} Cold Spells Critical Hit Chance|+{{#dplvar:bonustype}} Acid Spells Critical Hit Chance}}
|creeping dust=Creeping Dust
|firestorm = {{EnchCat|SpellLore|Items with Firestorm|+{{#dplvar:bonustype}} Electric Spells Critical Hit Chance|+{{#dplvar:bonustype}} Fire Spells Critical Hit Chance}}
|firestorm=Firestorm
|silver flame = {{EnchCat|SpellLore|Items with Silver Flame|+{{#dplvar:bonustype}} Light Spells Critical Hit Chance|+{{#dplvar:bonustype}} Chaos Spells Critical Hit Chance|+{{#dplvar:bonustype}} Evil Spells Critical Hit Chance|+{{#dplvar:bonustype}} Good Spells Critical Hit Chance|+{{#dplvar:bonustype}} Lawful Spells Critical Hit Chance|+{{#dplvar:bonustype}} Positive Spells Critical Hit Chance}}
|silver flame=Silver Flame
|sacred ground = {{EnchCat|SpellLore|Items with Sacred Ground|+{{#dplvar:bonustype}} Light Spells Critical Hit Chance|+{{#dplvar:bonustype}} Chaos Spells Critical Hit Chance|+{{#dplvar:bonustype}} Evil Spells Critical Hit Chance|+{{#dplvar:bonustype}} Good Spells Critical Hit Chance|+{{#dplvar:bonustype}} Lawful Spells Critical Hit Chance|+{{#dplvar:bonustype}} Acid Spells Critical Hit Chance}}
|sacred ground=Sacred Ground
|universal = {{EnchCat|SpellLore|Items with Universal Spell Lore|+{{#dplvar:bonustype}} All Spells Critical Hit Chance}}
|universal=Universal Spell Lore
|blighted = {{EnchCat|SpellLore|Items with Blighted Lore|+{{#dplvar:bonustype}} Acid Spells Critical Hit Chance|+{{#dplvar:bonustype}} Negative Spells Critical Hit Chance|+{{#dplvar:bonustype}} Poison Spells Critical Hit Chance|+{{#dplvar:bonustype}} Evil Spells Critical Hit Chance}}
|blighted=Blighted Lore
 
|moonlit haunt=Moonlit Haunt Lore
|moonlit haunt = {{EnchCat|SpellLore|Items with Moonlit Haunt Lore|+{{#dplvar:bonustype}} Negative Spells Critical Hit Chance|+{{#dplvar:bonustype}} Poison Spells Critical Hit Chance|+{{#dplvar:bonustype}} Force Spells Critical Hit Chance}}
|frozen depths=Frozen Depths Lore
|frozen depths = {{EnchCat|SpellLore|Items with Frozen Depths Lore|+{{#dplvar:bonustype}} Negative Spells Critical Hit Chance|+{{#dplvar:bonustype}} Poison Spells Critical Hit Chance|+{{#dplvar:bonustype}} Cold Spells Critical Hit Chance}}
|winter's impertenence=Winter's Impertenence
|winter's impertenence = {{EnchCat|SpellLore|Items with Winter's Impertenence|+{{#dplvar:bonustype}} Force Spells Critical Hit Chance|+{{#dplvar:bonustype}} Negative Spells Critical Hit Chance}}
|summer's impertenence=Summer's Impertenence
|summer's impertenence= {{EnchCat|SpellLore|Items with Summer's Impertenence|+{{#dplvar:bonustype}} Light Spells Critical Hit Chance||+{{#dplvar:bonustype}} Fire Spells Critical Hit Chance}}
|thunderstorm=Thunderstorm
|thunderstorm = {{EnchCat|SpellLore|Items with Thunderstorm||+{{#dplvar:bonustype}} Electric Spells Critical Hit Chance|+{{#dplvar:bonustype}} Sonic Spells Critical Hit Chance}}
|#default=Spell Lore
|#default = {{EnchCat|SpellLore|Items with Spell Lore|+{{#dplvar:bonustype}} Fire Spells Critical Hit Chance|+{{#dplvar:bonustype}} Acid Spells Critical Hit Chance|+{{#dplvar:bonustype}} Positive Spells Critical Hit Chance|Items with Ice Lore|+{{#dplvar:bonustype}} Cold Spells Critical Hit Chance|+{{#dplvar:bonustype}} Force Spells Critical Hit Chance|+{{#dplvar:bonustype}} Electric Spells Critical Hit Chance|+{{#dplvar:bonustype}} Negative Spells Critical Hit Chance|+{{#dplvar:bonustype}} Poison Spells Critical Hit Chance|+{{#dplvar:bonustype}} Light Spells Critical Hit Chance|+{{#dplvar:bonustype}} Chaos Spells Critical Hit Chance|+{{#dplvar:bonustype}} Evil Spells Critical Hit Chance|+{{#dplvar:bonustype}} Good Spells Critical Hit Chance|+{{#dplvar:bonustype}} Lawful Spells Critical Hit Chance|+{{#dplvar:bonustype}} Repair Spells Critical Hit Chance|+{{#dplvar:bonustype}} Sonic Spells Critical Hit Chance}}
}}
}}}}</onlyinclude>
}}}}</onlyinclude>

Revision as of 13:53, 13 June 2024

SpellLore[edit]

This template is used on equipment for the SpellLore enchantment. SpellLore adds to the critical chance for a specific group of spells.

Example Usage
{{SpellLore|Radiance|30}}Radiance Lore +30%: Passive: Your Light and Alignment spells gain a +30% Equipment bonus to their chance to Critical Hit. }}}}
{{SpellLore||15}}Spell Lore +15%: Passive: All your spells gain a +15% Equipment bonus to their chance to Critical Hit. }}}}

Usage[edit]

{{SpellLore|(Group)|(Enhancement Amount)|(Bonus Type)|(Title)}}

Parameter Documentation
GroupThis is the group of spells that the critical chance is being increased.
Possible Values:
  • Combustion
  • Fire
  • Corrosion
  • Acid
  • Devotion
  • Glaciation
  • Ice
  • Impulse
  • Force
  • Magnetism
  • Lightning
  • Nullification
  • Negative
  • Void
  • Radiance
  • Light
  • Reconstruction
  • Repair
  • Kinetic
  • Resonance
  • Sonic
  • Healing
  • Universal
  • Purifying Flame (Fire and Light)
  • Frozen Storm (Cold and Lightning)
  • Creeping Dust (Cold and Acid)
  • Firestorm (Fire and Lightning)
  • Silver Flame (Positive, Light and Alignment)
  • Blighted (Acid, Negative, Poison and Evil)
  • Moonlit Haunt (Negative, Force and Poison)
  • Winter's Impertenence
  • Summer's Impertenence
  • Frozen Depths
  • Tunderstorm (Sonic and Electric)
  • Sacred Ground (Acid, Light and Alignment)
  • Dark Restoration (Negative, Poison and Positive)
  • "" (Default, leave blank for ALL spells)
Enhancement AmountThis is the amount that spell critical chance is increased.
Bonus TypeThis is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Equipment.
TitleThe title if it is different than the default

Template

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


Spell Lore +{{{2}}}%: Passive: All your spells gain a +{{{2}}}% Equipment bonus to their chance to Critical Hit. }}}}