User:Toancaro/Template:ClassUniqueSpellTable: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{User:Toancaro/Template:SpellTable|where=spell_level="0"}}</includeonly><noinclude>{{User:Toancaro/Template:ClassUniqueSpellTable|Wizard}}</noinclude>")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{User:Toancaro/Template:SpellTable|where=spell_level="0"}}</includeonly><noinclude>{{User:Toancaro/Template:ClassUniqueSpellTable|Wizard}}</noinclude>
<includeonly><nowiki
/>{{#arraydefine: allClasses | Barbarian,Bard,Cleric,Druid,Fighter,Monk,Paladin,Ranger,Rogue,Sorcerer,Warlock,Wizard}}<nowiki
/>{{#arraysearcharray: excludedClasses | allClasses | /^(?!{{{1}}}$).+$/ }}<nowiki
/>{{#vardefine: tempQuery | {{#arrayprint: excludedClasses | AND | @ | classes HOLDS NOT "@" }}}}<nowiki
/>{{#vardefine: excludedQuery | {{#replace:{{#var: tempQuery}} | AND | <nowiki/> <nowiki/>AND<nowiki/> <nowiki/>}}}}<nowiki
/>{{#vardefine: finalQuery | classes HOLDS "{{{1}}}" AND {{#var: excludedQuery}} }}<nowiki
/><nowiki
/>{{User:Toancaro/Template:SpellTable|where={{#if: {{{where|}}} | {{{where}}} AND | }} {{#var: finalQuery}} }}</includeonly><noinclude>
Usage: {{Code|<nowiki>{{User:Toancaro/Template:ClassUniqueSpellTable|Wizard|where=spell_level="1"}}</nowiki>}}
 
{{User:Toancaro/Template:ClassUniqueSpellTable|Wizard|where=spell_level="1"}}</noinclude>

Latest revision as of 20:25, 9 January 2024

Usage: {{User:Toancaro/Template:ClassUniqueSpellTable|Wizard|where=spell_level="1"}}

Name Spell School Classes C C R A Saving Throw Icon.png Range Icon.png D Description
Find Familiar Find Familiar Conjuration Conjuration Wizard Wizard Action Ritual 18m Summon a familiar, a fey spirit that takes an animal form of your choosing
Grease Grease Conjuration Conjuration Wizard Wizard Action 18m Cover the ground in flammable grease. It becomes Difficult Terrain and creatures within can fall Prone Prone.