User:Toancaro/Cleric/Template:ExtraSpellTable/Row: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
{{#arraydefine:lifeSpells|Bless,Cure Wounds,Aid,Lesser Restoration,Revivify,Beacon of Hope,Guardian of Faith,Death Ward,Greater Restoration,Mass Cure Wounds}} | {{#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: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'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's Mantle,Freedom of Movement,Stoneskin,Flame Strike,Hold Monster}} | |||
{{#vardefine: domainName | {{#vardefine: domainName | ||
| {{#arraysearch: lifeSpells|{{{ | | {{#arraysearch: lifeSpells|{{{name}}}|0|Life| | ||
{{#arraysearch: lightSpells|{{{ | {{#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|{{!}}}}} | |||
| STR | |||
| Strength = STR | |||
| DEX | |||
| Dexterity = DEX | |||
| CON | |||
| Constitution = CON | |||
| INT | |||
| Intelligence = INT | |||
| WIS | |||
| Wisdom = WIS | |||
| CHAR | |||
| Charisma = CHA | |||
| #default = | |||
}} }} | |||
<tr> | <tr> | ||
<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: | <td>[[{{{name}}}]]</td> | ||
<td>{{User:Toancaro/Template: | <td>{{User:Toancaro/Template:Class|{{#var:domainName|}}}}</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: {{{ | <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> | ||
Line 23: | Line 75: | ||
<noinclude> | <noinclude> | ||
{{User:Toancaro/Cleric/Template:ExtraSpellTable/Header}} | {{User:Toancaro/Cleric/Template:ExtraSpellTable/Header}} | ||
{{User:Toancaro/Cleric/Template:ExtraSpellTable/Row|name= | {{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.|range=self}} | ||
{{User:Toancaro/Cleric/Template:ExtraSpellTable/Footer}} | {{User:Toancaro/Cleric/Template:ExtraSpellTable/Footer}} | ||
</noinclude> | </noinclude> |