User:Toancaro/Cleric/Template:ExtraSpellTable: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><nowiki
{{#arraydefine: allDomainSpells | Aid,Animal Friendship,Barkskin,Beacon of Hope,Bestow Curse,Bless,Burning Hands,Call Lightning,Calm Emotions,Charm Person,Command,Confusion,Crusader's Mantle,Cure Wounds,Daylight,Death Ward,Destructive Wave,Dimension Door,Disguise Self,Divine Favour,Dominate Beast,Dominate Person,Faerie Fire,Fear,Fireball,Flame Strike,Flaming Sphere,Fog Cloud,Freedom of Movement,Grasping Vine,Greater Restoration,Guardian of Faith,Gust of Wind,Hold Monster,Hold Person,Ice Storm,Insect Plague,Lesser Restoration,Light,Magic Weapon,Mass Cure Wounds,Mirror Image,Otiluke's Resilient Sphere,Pass Without Trace,Plant Growth,Poison Spray,Polymorph,Produce Flame,Revivify,Scorching Ray,Seeming,Shatter,Shield of Faith,Shillelagh,Sleep,Sleet Storm,Slow,Speak with Animals,Speak with Dead,Spike Growth,Spirit Guardians,Spiritual Weapon,Stoneskin,Telekinesis,Thorn Whip,Thunderwave,Wall of Fire,Wall of Stone}}
/>{{#arraydefine: allDomainSpells | Aid,Animal Friendship,Barkskin,Beacon of Hope,Bestow Curse,Bless,Burning Hands,Call Lightning,Calm Emotions,Charm Person,Command,Confusion,Crusader's Mantle,Cure Wounds,Daylight,Death Ward,Destructive Wave,Dimension Door,Disguise Self,Divine Favour,Dominate Beast,Dominate Person,Faerie Fire,Fear,Fireball,Flame Strike,Flaming Sphere,Fog Cloud,Freedom of Movement,Grasping Vine,Greater Restoration,Guardian of Faith,Gust of Wind,Hold Monster,Hold Person,Ice Storm,Insect Plague,Lesser Restoration,Light,Magic Weapon,Mass Cure Wounds,Mirror Image,Otiluke's Resilient Sphere,Pass Without Trace,Plant Growth,Poison Spray,Polymorph,Produce Flame,Revivify,Scorching Ray,Seeming,Shatter,Shield of Faith,Shillelagh,Sleep,Sleet Storm,Slow,Speak with Animals,Speak with Dead,Spike Growth,Spirit Guardians,Spiritual Weapon,Stoneskin,Telekinesis,Thorn Whip,Thunderwave,Wall of Fire,Wall of Stone}}<nowiki


{{#arrayslice: domainSpells1 | allDomainSpells | 0 | 25}}
/>{{#arrayslice: domainSpells1 | allDomainSpells | 0 | 25}}<nowiki
{{#vardefine: query1 | {{#arrayprint: domainSpells1 | OR | @ | _pageName = "@" }}}}
/>{{#vardefine: query1 | {{#arrayprint: domainSpells1 | OR | @ | _pageName = "@" }}}}<nowiki
{{#vardefine: spellNamesQuery1 | {{#replace:{{#var: query1}} | OR | <nowiki/> <nowiki/>OR<nowiki/> <nowiki/>}}}}
/>{{#vardefine: spellNamesQuery1 | {{#replace:{{#var: query1}} | OR | <nowiki/> <nowiki/>OR<nowiki/> <nowiki/>}}}}<nowiki


{{#arrayslice: domainSpells2 | allDomainSpells | 25 | 25}}
/>{{#arrayslice: domainSpells2 | allDomainSpells | 25 | 25}}<nowiki
{{#vardefine: query2 | {{#arrayprint: domainSpells2 | OR | @ | _pageName = "@" }}}}
/>{{#vardefine: query2 | {{#arrayprint: domainSpells2 | OR | @ | _pageName = "@" }}}}<nowiki
{{#vardefine: spellNamesQuery2 | {{#replace:{{#var: query2}} | OR | <nowiki/> <nowiki/>OR<nowiki/> <nowiki/>}}}}
/>{{#vardefine: spellNamesQuery2 | {{#replace:{{#var: query2}} | OR | <nowiki/> <nowiki/>OR<nowiki/> <nowiki/>}}}}<nowiki


{{#arrayslice: domainSpells3 | allDomainSpells | 50 |  25}}
/>{{#arrayslice: domainSpells3 | allDomainSpells | 50 |  25}}<nowiki
{{#vardefine: query3 | {{#arrayprint: domainSpells3 | OR | @ | _pageName = "@" }}}}
/>{{#vardefine: query3 | {{#arrayprint: domainSpells3 | OR | @ | _pageName = "@" }}}}<nowiki
{{#vardefine: spellNamesQuery3 | {{#replace:{{#var: query3}} | OR | <nowiki/> <nowiki/>OR<nowiki/> <nowiki/>}}}}
/>{{#vardefine: spellNamesQuery3 | {{#replace:{{#var: query3}} | OR | <nowiki/> <nowiki/>OR<nowiki/> <nowiki/>}}}}<nowiki
/>{{#vardefine: spellNamesQuery | {{#var: spellNamesQuery1}} OR {{#var: spellNamesQuery2}} OR {{#var: spellNamesQuery3}} }}<nowiki


{{#vardefine: spellNamesQuery | {{#var: spellNamesQuery1}} AND {{#var: spellNamesQuery3}} AND {{#var: spellNamesQuery3}} }}
/>{{#vardefine: finalQuery | ({{#var: spellNamesQuery}}) AND classes HOLDS NOT "Cleric" AND {{#if: {{{where|}}} | {{{where}}} | TRUE}} }}<nowiki
{{#vardefine: finalQuery | ({{#var: spellNamesQuery}}) AND {{#if: {{{where|}}} | {{{where}}} | TRUE}} }}


Test: {{#var: finalQuery }}
/>{{#cargo_query:
 
 
{{#cargo_query:
tables = spells
tables = spells
| fields=_pageName=spell,name,classes,description,spell_school,damage_type=damage
| fields=_pageName=spell, name, classes, description, spell_school, action_type=casttime, damage_type=damage, is_concentration=conc, is_ritual=ritual, spell_level=level, can_upcast=upcastable, spell_range=range, aoe, aoe_size=area, has_attack_roll=attack, damage_save=save, condition_duration=duration
| where={{#var: finalQuery }}
| where={{#var: finalQuery }}
| intro={{User:Toancaro/Cleric/Template:ExtraSpellTable/Header}}
| intro={{User:Toancaro/Cleric/Template:ExtraSpellTable/Header}}
Line 29: Line 26:
| template=User:Toancaro/Cleric/Template:ExtraSpellTable/Row
| template=User:Toancaro/Cleric/Template:ExtraSpellTable/Row
| named args=yes
| named args=yes
}}
}}</includeonly><noinclude>
</includeonly>
<noinclude>
{{User:Toancaro/Cleric/Template:ExtraSpellTable
{{User:Toancaro/Cleric/Template:ExtraSpellTable
| where=spell_level="0"
| where=spell_level="4"
}}
}}</noinclude>
</noinclude>

Latest revision as of 15:11, 8 January 2024

Name Subclass Spell School Classes C C R A Saving Throw Icon.png Range Icon.png D Description
Confusion Confusion Knowledge Knowledge Enchantment Enchantment Bard Bard
Druid Druid
Sorcerer Sorcerer
Wizard Wizard
Action Concentration 18m 6m Befuddle a group of creatures, causing them to attack at random, wander around aimlessly, and occasionally skip turns in the stupor.
Dimension Door Dimension Door Trickery Trickery Conjuration Conjuration Bard Bard
Sorcerer Sorcerer
Warlock Warlock
Wizard Wizard
Action 2m Teleport yourself and up to one adjacent ally to a place you can see. The ally cannot be larger than Medium.
Dominate Beast Dominate Beast Nature Nature Enchantment Enchantment Druid Druid
Sorcerer Sorcerer
Action Concentration 18m Make a Beast fight alongside you. Every time the Beast takes damage, it makes a Wisdom Saving throw against your domination.
Grasping Vine Grasping Vine Nature Nature Conjuration Conjuration Druid Druid Bonus Action 9m Summon a giant vine capable of dragging creatures toward itself. Duration: 10 turns
Ice Storm Ice Storm Tempest Tempest Evocation Evocation Druid Druid
Sorcerer Sorcerer
Wizard Wizard
Action 18m 6m Damage Types Impel a storm of hail and ice to crash from the sky, covering the ground and striking all objects and creatures within range, dealing Damage TypesBludgeoning and Damage TypesCold damage. It also creates an Ice Ice surface that lasts 2 turns.
Otiluke's Resilient Sphere Otiluke's Resilient Sphere Knowledge Knowledge Evocation Evocation Wizard Wizard Action Concentration DEX 9m Enclose a target in a sphere of shimmering force, reducing its movement speed by half, and blocking all incoming and spell effects.
Polymorph Polymorph Trickery Trickery Transmutation Transmutation Bard Bard
Druid Druid
Sorcerer Sorcerer
Wizard Wizard
Action Concentration 18m Transform a creature into a harmless sheep.
Stoneskin Stoneskin War War Abjuration Abjuration Druid Druid
Sorcerer Sorcerer
Wizard Wizard
Action Concentration 1.5m Turn a creature's flesh hard as stone. It takes only half the damage of all non-magical Damage TypesBludgeoning, Damage TypesPiercing, and Damage TypesSlashing damage.
Wall of Fire Wall of Fire Light Light Evocation Evocation Druid Druid
Sorcerer Sorcerer
Wizard Wizard
Action Concentration 18m Damage Types Create a blazing wall of fire, Burning Burning anyone who dares stand too close. Deals Damage TypesFire to anything that moves into or starts it's turn in the area.