User:Toancaro/Druid/Template:ExtraSpellTable/Row: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
/>{{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}<nowiki
/>{{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}<nowiki


/>{{#arraydefine:landSpells|Barkskin,Blight,Blur,Call Lightning,Cloudkill,Cone of Cold,Confusion,Conjure Elemental,Conjure Minor Elemental,Contagion,Darkness,Daylight,Dominate Beast,Freedom of Movement,Gaseous Form,Grant Flight,Grasping Vine,Greater Invisibility,Greater Restoration,Haste,Hold Person,Hypnotic Pattern,Ice Storm,Insect Plague,Invisibility,Lightning Bolt,Mass Cure Wounds,Melf's Acid Arrow,Mirror Image,Misty Step,Pass Without Trace,Plant Growth,Polymorph,Protection from Energy,Silence,Sleet Storm,Spike Growth,Stinking Cloud,Stoneskin,Vampiric Touch,Wall of Fire,Wall of Stone,Web}}<nowiki
/>{{#arraydefine:landSpells|Barkskin,Blight,Blur,Call Lightning,Cloudkill,Cone of Cold,Confusion,Conjure Elemental,Conjure Minor Elemental,Contagion,Darkness,Daylight,Dominate Beast,Freedom of Movement,Gaseous Form,Grant Flight,Grasping Vine,Greater Invisibility,Greater Restoration,Haste,Hold Person,Hypnotic Pattern,Ice Storm,Insect Plague,Invisibility,Lightning Bolt,Mass Cure Wounds,Melf's Acid Arrow,Melf&#039;s Acid Arrow,Mirror Image,Misty Step,Pass Without Trace,Plant Growth,Polymorph,Protection from Energy,Silence,Sleet Storm,Spike Growth,Stinking Cloud,Stoneskin,Vampiric Touch,Wall of Fire,Wall of Stone,Web}}<nowiki
/>{{#arraydefine:sporesSpells|Animate Dead,Blight,Blindness,Bone Chill,Cloudkill,Confusion,Contagion,Detect Thoughts,Gaseous Form}}<nowiki
/>{{#arraydefine:sporesSpells|Animate Dead,Blight,Blindness,Bone Chill,Cloudkill,Confusion,Contagion,Detect Thoughts,Gaseous Form}}<nowiki


Line 8: Line 8:
/>{{#arraydefine: hasSpores|{{#arraysearch: sporesSpells|{{{name}}}|0|Spores|}} }}<nowiki
/>{{#arraydefine: hasSpores|{{#arraysearch: sporesSpells|{{{name}}}|0|Spores|}} }}<nowiki
/>{{#arraymerge: subclassNames|hasLand|hasSpores}}<nowiki
/>{{#arraymerge: subclassNames|hasLand|hasSpores}}<nowiki
/>Test: {{#var: subclassNames}}<nowiki


/>{{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}}
/>{{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}}
Line 27: Line 25:
   }} }}<nowiki
   }} }}<nowiki
/><tr>
/><tr>
     <td>{{SAI|{{{spell}}}|{{{name}}}|w=30|c={{#if:{{{conc|}}}| 20 | }}|r={{#if:{{{ritual|}}}|16}}}}</td>
     <td>{{Icon|{{#replace:{{#replace:{{#replace:{{#replace:{{{spell}}}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}} Icon.webp|link={{{spell}}}|w=40}}</td>
    <td>[[{{{name}}}]]</td>
     <td>{{#arrayprint:subclassNames|<br/>|@|{{User:Toancaro/Template:Class|@}}}}</td>
     <td>{{#arrayprint:subclassNames|<br/>|@|{{User:Toancaro/Template:Class|@}}}}</td>
     <td>{{User:Toancaro/Template:SpellSchool|{{{spell school|}}}}}</td>
     <td>{{User:Toancaro/Template:SpellSchool|{{{spell school|}}}}}</td>
     <td>{{#if: {{{classes|}}} | {{#arrayprint:arr_classes|<br/>|@|{{User:Toancaro/Template:Class|@}}}} | <div style="text-align:center"></div> }}</td>
     <td>{{#if: {{{classes|}}} | {{#arrayprint:arr_classes|<br/>|@|{{User:Toancaro/Template:Class|@}}}} | <div style="text-align:center"></div> }}</td>
     <td>{{#if: {{{casttime|}}} | {{Action icon|{{{casttime}}} }} | }}</td>
     <td>{{#if: {{{casttime|}}} | {{Action icon|{{{casttime}}} }} | }}</td>
    <td>{{#if: {{{conc|}}} | {{Icon|Concentration Icons.png|link=Concentration|w=20}} | }}</td>
    <td>{{#if: {{{ritual|}}} | {{Icon|Ritual Spell Icon.png|link=Ritual|w=16}} | }}</td>
     <td>{{#if: {{{attack|}}} | <span style="display:inline-block">[[File:Attack Roll Icon.png|25px|alt=Attack roll|link=Attack roll]]</span> | }}</td>
     <td>{{#if: {{{attack|}}} | <span style="display:inline-block">[[File:Attack Roll Icon.png|25px|alt=Attack roll|link=Attack roll]]</span> | }}</td>
     <td>{{#if: {{{save|}}} | [[{{{save}}}|{{#var:saveShort}}]] | }}</td>
     <td>{{#if: {{{save|}}} | [[{{{save}}}|{{#var:saveShort}}]] | }}</td>

Latest revision as of 08:06, 13 January 2024


Name Subclass Spell School Classes C C R A Saving Throw Icon.png Range Icon.png D Description
Cloudkill Cloudkill Circle of the Land Land
Circle of the Spores Spores
Evocation School Evocation Bard Bard
Cleric Cleric
Druid Druid
Druid Druid
Paladin Paladin
0m Heal a creature you can touch.