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

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly> {{#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,...")
 
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><nowiki
  {{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}
/>{{#arraydefine:arr_classes|{{{classes|}}}|,|sort=asc}}<nowiki
  {{#arraydefine:lifeSpells|Bless,Cure Wounds,Aid,Lesser Restoration,Revivify,Beacon of Hope,Guardian of Faith,Death Ward,Greater Restoration,Mass Cure Wounds}}
/>{{#arraydefine:gloomStalkerSpells|Disguise Self,Misty Step,Fear}}<nowiki
  {{#arraydefine:lightSpells|Light,Burning Hands,Faerie Fire,Flaming Sphere,Scorching Ray,Daylight,Fireball,Guardian of Faith,Wall of Fire,Destructive Wave,Flame Strike}}
/>{{#vardefine: subclassName
  {{#arraydefine:trickerySpells|Charm Person,Disguise Self,Mirror Image,Pass Without Trace,Bestow Curse,Fear,Dimension Door,Polymorph,Dominate Person,Seeming}}
     | {{#arraysearch: gloomStalkerSpells|{{{name}}}|0|Gloom Stalker|
  {{#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|
       }}
       }}
      }}
  }}<nowiki
      }}
/>{{#vardefine:saveShort|{{#switch: {{{save|{{!}}}}}
      }}
    | STR
      }}
    | Strength = STR
      }}
    | DEX
      }}
    | Dexterity = DEX
  }}
    | CON
 
    | Constitution = CON
  <tr>
    | INT
     <td>{{SAI|{{{spell}}}|{{{name}}}|w=30|c={{#if:{{{conc|}}}| 20 | }}|r={{#if:{{{ritual|}}}|16}}}}</td>
    | Intelligence = INT
     <td>{{User:Toancaro/Template:Class|{{#var:domainName|}}}}</td>
    | WIS
    | Wisdom = WIS
    | CHAR
    | Charisma = CHA
    | #default =
  }} }}<nowiki
/><tr>
     <td>{{Icon|{{#replace:{{#replace:{{#replace:{{#replace:{{{spell}}}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}} Icon.webp|link={{{spell}}}|w=40}}</td>
    <td>[[{{{name}}}]]</td>
     <td>{{User:Toancaro/Template:Class|{{#var:subclassName|}}}}</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: {{{damage|}}} | {{DamageType|{{{damage}}} }} | <div style="text-align:center"></div> }}</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: {{{save|}}} | [[{{{save}}}|{{#var:saveShort}}]] | }}</td>
    <td>{{#switch: {{{range|{{!}}}}}
      | self
      | Self = 0m
      | melee
      | Melee
      | touch
      | Touch = 1.5m
      | weapon
      | Weapon = Weapon Range
      | short ranged = 15m
      | ranged = 18m
      | #default = {{#explode: {{{range}}} |/|0 }}m
    }}</td>
    <td>{{#if: {{{area|}}}
      | {{#explode: {{{area}}} |/|0 }}m
      |
    }}</td>
    <td>{{#if: {{{damage|}}} | {{DamageIcon|{{{damage}}} }} | }}</td>
     <td>{{{description}}}</td>
     <td>{{{description}}}</td>
   </tr>
   </tr>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
{{User:Toancaro/Cleric/Template:ExtraSpellTable/Header}}
{{User:Toancaro/Ranger/Template:ExtraSpellTable/Header}}
{{User:Toancaro/Cleric/Template:ExtraSpellTable/Row|name=Otiluke's Resilient Sphere|spell=Otiluke's Resilient Sphere|classes=Bard, Cleric, Druid, Paladin, Ranger|spell school=Evocation|description=Heal a creature you can touch.}}
{{User:Toancaro/Ranger/Template:ExtraSpellTable/Row|name= Disguise Self|spell= Disguise Self|classes=Bard, Cleric, Druid, Paladin, Ranger|spell school=Evocation|description=Heal a creature you can touch.|range=self}}
{{User:Toancaro/Cleric/Template:ExtraSpellTable/Footer}}
{{User:Toancaro/Ranger/Template:ExtraSpellTable/Footer}}
</noinclude>
</noinclude>

Latest revision as of 08:32, 13 January 2024


Name Subclass Spell School Classes C C R A Saving Throw Icon.png Range Icon.png D Description
Disguise Self Disguise Self Gloom Stalker Gloom Stalker Evocation School Evocation Bard Bard
Cleric Cleric
Druid Druid
Paladin Paladin
Ranger Ranger
0m Heal a creature you can touch.