Editing User:Toancaro/Druid/Template:ExtraSpellTable/Row

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<includeonly><nowiki
<includeonly><nowiki
/>{{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}<nowiki
/>{{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}<nowiki
 
/>{{#arraydefine:gloomStalkerSpells|Disguise Self,Misty Step,Fear}}<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
/>{{#vardefine: subclassName
/>{{#arraydefine:sporesSpells|Animate Dead,Blight,Blindness,Bone Chill,Cloudkill,Confusion,Contagion,Detect Thoughts,Gaseous Form}}<nowiki
    | {{#arraysearch: gloomStalkerSpells|{{{name}}}|0|Gloom Stalker|
 
      }}
/>{{#arraydefine: hasLand|{{#arraysearch: landSpells|{{{name}}}|0|Land|}} }}<nowiki
  }}<nowiki
/>{{#arraydefine: hasSpores|{{#arraysearch: sporesSpells|{{{name}}}|0|Spores|}} }}<nowiki
/>{{#arraymerge: subclassNames|hasLand|hasSpores}}<nowiki
 
/>{{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}}
/>{{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}}
     | STR
     | STR
Line 25: Line 22:
   }} }}<nowiki
   }} }}<nowiki
/><tr>
/><tr>
     <td>{{Icon|{{#replace:{{#replace:{{#replace:{{#replace:{{{spell}}}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}} Icon.webp|link={{{spell}}}|w=40}}</td>
     <td>{{SAI|{{{spell}}}|{{{name}}}|w=30|c={{#if:{{{conc|}}}| 20 | }}|r={{#if:{{{ritual|}}}|16}}}}</td>
    <td>[[{{{name}}}]]</td>
     <td>{{User:Toancaro/Template:Class|{{#var:subclassName|}}}}</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>
Line 58: Line 52:
<noinclude>
<noinclude>
{{User:Toancaro/Druid/Template:ExtraSpellTable/Header}}
{{User:Toancaro/Druid/Template:ExtraSpellTable/Header}}
{{User:Toancaro/Druid/Template:ExtraSpellTable/Row|name=Cloudkill|spell=Cloudkill|classes=Bard, Cleric, Druid, Paladin, Druid|spell school=Evocation|description=Heal a creature you can touch.|range=self}}
{{User:Toancaro/Druid/Template:ExtraSpellTable/Row|name= Disguise Self|spell= Disguise Self|classes=Bard, Cleric, Druid, Paladin, Druid|spell school=Evocation|description=Heal a creature you can touch.|range=self}}
{{User:Toancaro/Druid/Template:ExtraSpellTable/Footer}}
{{User:Toancaro/Druid/Template:ExtraSpellTable/Footer}}
</noinclude>
</noinclude>
Please note that all contributions to Baldur's Gate 3 Wiki are considered to be released under the CC BY-NC-SA license, except when noted otherwise (see BG3Wiki:Copyrights for details). If you do not want your writing to be edited and redistributed at will, do not submit it here. Per our Content Rules, you are promising that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)