Difference between revisions of "Template:SpellLore"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 46: | Line 46: | ||
* Sacred Ground (Acid, Light and Alignment) | * Sacred Ground (Acid, Light and Alignment) | ||
* Dark Restoration (Negative, Poison and Positive) | * Dark Restoration (Negative, Poison and Positive) | ||
* Flames of Darkness (Fire, Negative, and Poison) | |||
* "" (Default, leave blank for ALL spells) | * "" (Default, leave blank for ALL spells) | ||
|parameter2name = Enhancement Amount | |parameter2name = Enhancement Amount | ||
Line 84: | Line 85: | ||
|frozen depths=Frozen Depths | |frozen depths=Frozen Depths | ||
|thunderstorm=Thunderstorm | |thunderstorm=Thunderstorm | ||
|flames of darkness=Flames of Darkness | |||
|#default=Spell | |#default=Spell | ||
}} Lore +{{{2}}}%|{{{4|}}}}}{{EnchBody|Passive: {{#if: {{{1|}}} | Your | All your}} {{#switch: {{lc:{{{1|}}}}} | }} Lore +{{{2}}}%|{{{4|}}}}}{{EnchBody|Passive: {{#if: {{{1|}}} | Your | All your}} {{#switch: {{lc:{{{1|}}}}} | ||
Line 109: | Line 111: | ||
|frozen depths=Negative, Poison, and Cold | |frozen depths=Negative, Poison, and Cold | ||
|dark restoration= Negative, Poison and Positive | |dark restoration= Negative, Poison and Positive | ||
|flames of darkness = Fire, Negative, and Poison | |||
|universal= | |universal= | ||
|thunderstorm=Sonic and Electric | |thunderstorm=Sonic and Electric | ||
Line 139: | Line 142: | ||
|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}} | |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 = {{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}} | |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}} | ||
|flames of darkness={{EnchCat|SpellLore|Items with Flames of Darkness 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 Fire Spells Critical Hit Chance}} | |||
|#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}} | |#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 16:53, 27 September 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 | |
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. |
Title | The 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.