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

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
   {{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}
   {{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}
  {{#arraydefine:lifeSpells|Bless,Cure Wounds,Aid,Lesser Restoration,Revivify,Beacon of Hope,Guardian of Faith,Death Ward,Greater Restoration,Mass Cure Wounds}}
  {{#arraydefine:lightSpells|Light,Burning Hands,Faerie Fire,Flaming Sphere,Scorching Ray,Daylight,Fireball,Guardian of Faith,Wall of Fire,Destructive Wave,Flame Strike}}
  {{#arraydefine:trickerySpells|Charm Person,Disguise Self,Mirror Image,Pass Without Trace,Bestow Curse,Fear,Dimension Door,Polymorph,Dominate Person,Seeming}}
  {{#arraydefine:knowledgeSpells|Command,Sleep,Calm Emotions,Hold Person,Slow,Speak with Dead,Confusion,Otiluke's Resilient Sphere,Otiluke&#039;s Resilient Sphere,Dominate Person,Telekinesis}}
  {{#arraydefine:natureSpells|Poison Spray,Produce Flame,Shillelagh,Thorn Whip,Speak with Animals,Animal Friendship,Barkskin,Spike Growth,Plant Growth,Sleet Storm,Dominate Beast,Grasping Vine,Insect Plague,Wall of Stone}}
  {{#arraydefine:tempestSpells|Thunderwave,Fog Cloud,Gust of Wind,Shatter,Call Lightning,Sleet Storm,Freedom of Movement,Ice Storm,Destructive Wave,Insect Plague}}
  {{#arraydefine:warSpells|Divine Favour,Shield of Faith,Magic Weapon,Spiritual Weapon,Spirit Guardians,Crusader's Mantle,Crusader&#039;s Mantle,Freedom of Movement,Stoneskin,Flame Strike,Hold Monster}}
 
  {{#vardefine: domainName
    | {{#arraysearch: lifeSpells|{{{name}}}|0|Life|
      {{#arraysearch: lightSpells|{{{name}}}|0|Light|
      {{#arraysearch: trickerySpells|{{{name}}}|0|Trickery|
      {{#arraysearch: knowledgeSpells|{{{name}}}|0|Knowledge|
      {{#arraysearch: natureSpells|{{{name}}}|0|Nature|
      {{#arraysearch: tempestSpells|{{{name}}}|0|Tempest|
      {{#arraysearch: warSpells|{{{name}}}|0|War|
      }}
      }}
      }}
      }}
      }}
      }}
      }}
  }}
   {{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}}
   {{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}}
     | STR
     | STR
Line 41: Line 17:
   }} }}
   }} }}
   <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>{{User:Toancaro/Template:Class|{{#var:domainName|}}}}</td>
     <td>[[{{{name}}}]]</td>
     <td>{{User:Toancaro/Template:Class|{{{spell school|}}}}}</td>
     <td>{{User:Toancaro/Template:Class|{{{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:21, 13 January 2024


Name Spell School Classes C C R A Saving Throw Icon.png Range Icon.png D Description
Otiluke's Resilient Sphere Otiluke's Resilient Sphere Evocation Evocation Bard Bard
Cleric Cleric
Druid Druid
Paladin Paladin
Ranger Ranger
0m Heal a creature you can touch.