Difference between revisions of "Template:SpellLore"
From DDO Compendium
MNDeveloper (talk | contribs) m (Fixed spelling of Kinetic) |
MNDeveloper (talk | contribs) |
||
(22 intermediate revisions by the same user not shown) | |||
Line 37: | Line 37: | ||
* Creeping Dust (Cold and Acid) | * Creeping Dust (Cold and Acid) | ||
* Firestorm (Fire and Lightning) | * 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) | |||
* 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 44: | Line 54: | ||
|parameter3description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Equipment. | |parameter3description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Equipment. | ||
|parameter3values = | |parameter3values = | ||
|parameter4name = Title | |||
|parameter4description = The title if it is different than the default | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{# | <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 79: | Line 72: | ||
|healing = Healing | |healing = Healing | ||
|purifying flame= Purifying Flame | |purifying flame= Purifying Flame | ||
|dark restoration= Dark Restoration | |||
|frozen storm=Frozen Storm | |frozen storm=Frozen Storm | ||
|creeping dust=Creeping Dust | |creeping dust=Creeping Dust | ||
|firestorm=Firestorm | |firestorm=Firestorm | ||
|silver flame= Silver Flame | |||
|sacred ground=Sacred Ground | |||
|universal=Universal Spell | |universal=Universal Spell | ||
|blighted=Blighted | |||
|moonlit haunt=Moonlit Haunt | |||
|winter's impertenence=Winter's Impertenence | |||
|summer's impertenence=Summer's Impertenence | |||
|frozen depths=Frozen Depths | |||
|thunderstorm=Thunderstorm | |||
|flames of darkness=Flames of Darkness | |||
|#default=Spell | |#default=Spell | ||
}} Lore +{{{2}}}% | }} Lore +{{{2}}}%|{{{4|}}}}}{{EnchBody|Passive: {{#if: {{{1|}}} | Your | All your}} {{#switch: {{lc:{{{1|}}}}} | ||
|fire |combustion = Fire | |fire |combustion = Fire | ||
|acid |corrosion = Acid | |acid |corrosion = Acid | ||
Line 91: | Line 94: | ||
|force|kinetic|kenetic |impulse = Force, Physical, and Untyped | |force|kinetic|kenetic |impulse = Force, Physical, and Untyped | ||
|lightning|magnetism = Electric | |lightning|magnetism = Electric | ||
|negative|nullification = Negative | |negative|nullification|void = Negative Energy and Poison | ||
|light|radiance = Light and Alignment | |light|radiance = Light and Alignment | ||
|repair|reconstruction = Repair and Rust | |repair|reconstruction = Repair and Rust | ||
Line 100: | Line 103: | ||
|creeping dust=Cold and Acid | |creeping dust=Cold and Acid | ||
|firestorm=Fire and Lightning | |firestorm=Fire and Lightning | ||
|silver flame=Positive, Light, and Alignment | |||
|sacred ground=Acid, Light, and Alignment | |||
|blighted=Acid, Negative, Poison, and Evil | |||
|moonlit haunt=Negative, Force, and Poison | |||
|winter's impertenence=Force and Negative | |||
|summer's impertenence=Fire and Light | |||
|frozen depths=Negative, Poison, and Cold | |||
|dark restoration= Negative, Poison and Positive | |||
|flames of darkness = Fire, Negative, and Poison | |||
|universal= | |universal= | ||
|thunderstorm=Sonic and Electric | |||
|#default= | |#default= | ||
}} spells gain a +{{{2}}}% {{ | }} spells gain a +{{{2}}}% {{#dplvar:bonustype}} bonus to their chance to Critical Hit.}} {{#switch: {{lc:{{{1|}}}}} | ||
|fire |combustion = {{EnchCat|SpellLore|Items with Fire Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Fire Spells Critical Hit Chance}} | |||
|acid |corrosion = {{EnchCat|SpellLore|Items with Acid Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Acid Spells Critical Hit Chance}} | |||
|devotion|healing = {{EnchCat|SpellLore|Items with Devotion Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Positive Spells Critical Hit Chance}} | |||
|ice |glaciation = {{EnchCat|SpellLore|Items with Ice Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Cold Spells Critical Hit Chance}} | |||
|force|kenetic|kinetic = {{EnchCat|SpellLore|Items with Kinetic Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Force Spells Critical Hit Chance}} | |||
|impulse = {{EnchCat|SpellLore|Items with Impulse Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Force Spells Critical Hit Chance}} | |||
|lightning|magnetism = {{EnchCat|SpellLore|Items with Lightning Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Electric Spells Critical Hit Chance}} | |||
|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= {{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 = {{EnchCat|SpellLore|Items with Repair Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Repair Spells Critical Hit Chance}} | |||
|sonic|resonance = {{EnchCat|SpellLore|Items with Sonic Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to Sonic Spells Critical Hit Chance}} | |||
|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}} | |||
|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}} | |||
|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}} | |||
|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}} | |||
|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}} | |||
|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}} | |||
|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}} | |||
|universal = {{EnchCat|SpellLore|Items with Universal Spell Lore|Items with +{{{2}}}% {{#dplvar:bonustype}} bonus to All Spells Critical Hit Chance}} | |||
|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}} | |||
|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 = {{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 = {{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= {{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}} | |||
|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}} | |||
}}</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.