Difference between revisions of "Template:SpellLore"

From DDO Compendium
 
(5 intermediate revisions by the same user not shown)
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|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Fire Spells Critical Hit Chance}}
|acid |corrosion = Acid Lore
|acid |corrosion = {{EnchCat|SpellLore|Items with Acid Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Acid Spells Critical Hit Chance}}
|devotion = Devotion Lore
|devotion|healing = {{EnchCat|SpellLore|Items with Devotion Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Positive Spells Critical Hit Chance}}
|ice |glaciation = Ice Lore
|ice |glaciation = {{EnchCat|SpellLore|Items with Ice Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Cold Spells Critical Hit Chance}}
|force|kenetic|kinetic =Kinetic Lore
|force|kenetic|kinetic = {{EnchCat|SpellLore|Items with Kinetic Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Force Spells Critical Hit Chance}}
|impulse = Impulse Lore
|impulse = {{EnchCat|SpellLore|Items with Impulse Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Force Spells Critical Hit Chance}}
|lightning|magnetism = Lightning Lore
|lightning|magnetism = {{EnchCat|SpellLore|Items with Lightning Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Electric Spells Critical Hit Chance}}
|negative|nullification|void = Void Lore
|negative|nullification|void = {{EnchCat|SpellLore|Items with Void Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Negative Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Poison Spells Critical Hit Chance}}
|light|radiance = Radiance Lore
|light|radiance= {{EnchCat|SpellLore|Items with Radiance Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Light Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Chaos Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Evil Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Good Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Lawful Spells Critical Hit Chance}}
|repair|reconstruction = Repair Lore
|repair|reconstruction = {{EnchCat|SpellLore|Items with Repair Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Repair Spells Critical Hit Chance}}
|sonic|resonance = Sonic Lore
|sonic|resonance = {{EnchCat|SpellLore|Items with Sonic Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Sonic Spells Critical Hit Chance}}
|healing = Healing Lore
|purifying flame = {{EnchCat|SpellLore|Items with Purifying Flame|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Fire Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Light Spells Critical Hit Chance}}
|purifying flame= Purifying Flame
|dark restoration = {{EnchCat|SpellLore|Items with Dark Restoration|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Negative Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Poison Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Positive Spells Critical Hit Chance}}
|dark restoration= Dark Restoration
|frozen storm = {{EnchCat|SpellLore|Items with Frozen Storm|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Cold Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Electric Spells Critical Hit Chance}}
|frozen storm=Frozen Storm
|creeping dust = {{EnchCat|SpellLore|Items with Creeping Dust|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Cold Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Acid Spells Critical Hit Chance}}
|creeping dust=Creeping Dust
|firestorm = {{EnchCat|SpellLore|Items with Firestorm|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Electric Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Fire Spells Critical Hit Chance}}
|firestorm=Firestorm
|silver flame = {{EnchCat|SpellLore|Items with Silver Flame|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Light Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Chaos Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Evil Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Good Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Lawful Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Positive Spells Critical Hit Chance}}
|silver flame=Silver Flame
|sacred ground = {{EnchCat|SpellLore|Items with Sacred Ground|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Light Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Chaos Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Evil Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Good Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Lawful Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Acid Spells Critical Hit Chance}}
|sacred ground=Sacred Ground
|universal = {{EnchCat|SpellLore|Items with Universal Spell Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to All Spells Critical Hit Chance}}
|universal=Universal Spell Lore
|blighted = {{EnchCat|SpellLore|Items with Blighted Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Acid Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Negative Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Poison Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Evil Spells Critical Hit Chance}}
|blighted=Blighted Lore
 
|moonlit haunt=Moonlit Haunt Lore
|moonlit haunt = {{EnchCat|SpellLore|Items with Moonlit Haunt Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Negative Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Poison Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Force Spells Critical Hit Chance}}
|frozen depths=Frozen Depths Lore
|frozen depths = {{EnchCat|SpellLore|Items with Frozen Depths Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Negative Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Poison Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Cold Spells Critical Hit Chance}}
|winter's impertenence=Winter's Impertenence
|winter's impertenence = {{EnchCat|SpellLore|Items with Winter's Impertenence|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Force Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Negative Spells Critical Hit Chance}}
|summer's impertenence=Summer's Impertenence
|summer's impertenence= {{EnchCat|SpellLore|Items with Summer's Impertenence|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Light Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Fire Spells Critical Hit Chance}}
|thunderstorm=Thunderstorm
|thunderstorm = {{EnchCat|SpellLore|Items with Thunderstorm|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Electric Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Sonic Spells Critical Hit Chance}}
|#default=Spell Lore
|#default = {{EnchCat|SpellLore|Items with Spell Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Fire Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Acid Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Positive Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Cold Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Force Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Electric Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Negative Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Poison Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Light Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Chaos Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Evil Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Good Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Lawful Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Repair Spells Critical Hit Chance|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Sonic Spells Critical Hit Chance}}
}}}}</onlyinclude>
}}</onlyinclude>

Latest revision as of 20:03, 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.