Difference between revisions of "Template:SpellLore"
From DDO Compendium
MNDeveloper (talk | contribs) |
m |
||
Line 4: | Line 4: | ||
|example1 = <nowiki>{{SpellLore|Radiance|30}}</nowiki> | |example1 = <nowiki>{{SpellLore|Radiance|30}}</nowiki> | ||
|example1output = {{SpellLore|Radiance|30}} | |example1output = {{SpellLore|Radiance|30}} | ||
|example2 = <nowiki>{{SpellLore||15}}</nowiki> | |||
|example2output = {{SpellLore||15}} | |||
|parameter1name = Group | |parameter1name = Group | ||
|parameter1description = This is the group of spells that the critical chance is being increased. | |parameter1description = This is the group of spells that the critical chance is being increased. | ||
Line 17: | Line 19: | ||
* Reconstruction | * Reconstruction | ||
* Resonance | * Resonance | ||
* "" (Default, leave blank for ALL spells) | |||
|parameter2name = Enhancement Amount | |parameter2name = Enhancement Amount | ||
|parameter2description = This is the amount that spell critical chance is increased. | |parameter2description = This is the amount that spell critical chance is increased. | ||
Line 25: | Line 28: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>[[Category:Items with {{{1}}} Spell Lore]]'''[[Spell Critical Chance|{{{3|}}} {{{1}}} Lore +{{{2}}}%:]]''' Passive: Your {{#switch: {{{1}}} | <onlyinclude>[[Category:Items with {{{1|}}} Spell Lore]]'''[[Spell Critical Chance|{{{3|}}} {{#if: {{{1|}}} | {{{1|}}} | Spell }} Lore +{{{2}}}%:]]''' Passive: {{#if: {{{1|}}} | Your | All your}} {{#switch: {{{1|}}} | ||
|Combustion = Fire | |Combustion = Fire | ||
|Corrosion = Acid | |Corrosion = Acid | ||
Line 36: | Line 39: | ||
|Reconstruction = Repair | |Reconstruction = Repair | ||
|Resonance = Sonic | |Resonance = Sonic | ||
|#default= | |||
}} spells gain a +{{{2}}}% {{lc:{{{3|equipment}}}}} bonus to their chance to Critical Hit.</onlyinclude> | }} spells gain a +{{{2}}}% {{lc:{{{3|equipment}}}}} bonus to their chance to Critical Hit.</onlyinclude> |
Revision as of 15:43, 31 May 2018
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)}}
Parameter Documentation | |
Group | This is the group of spells that the critical chance is being increased. Possible Values:
|
Enhancement Amount | This is the amount that spell critical chance is increased. |
Bonus Type | This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Equipment. |
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.