Template:Spell page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
(60 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{this is an example}}}
<includeonly>{{#lvardef: filename | {{#replace:{{#replace:{{#replace:{{#replace:{{#titleparts: {{PAGENAME}} }}|:|}}|/|<nowiki/> <nowiki/>}}|(|<nowiki/> <nowiki/>}}|)|<nowiki/> <nowiki/>}}}}{{#lvardef: icon | {{#if: {{{icon|}}} | {{{icon}}} | {{#lvar: filename}} Unfaded Icon.webp }} }}{{#lvardef: controllericon | {{#if: {{{controller icon|}}} | {{{controller icon}}} | {{#lvar: filename}} Icon.webp }} }}{{#switch: {{{this is an example}}}
| yes =
| yes =
| #default = {{PageSeo|image = {{{image}}}|description = {{{seo description|{{{name|{{PAGENAME}} }}} is a {{#ifeq:{{{level}}}
| #default = {{PageSeo|image = {{#lvar: controllericon}}|description = {{{seo description|{{{name|{{PAGENAME}} }}} is a {{#ifeq:{{{level}}}
| cantrip
| cantrip
| Cantrip ({{{school}}})
| Cantrip ({{{school}}})
| Level {{{level}}} {{{school}}} Spell }}. {{#if:{{{cannot be learned| }}}|It cannot be learned by player characters.}} }}} {{{plain summary|{{{summary}}} }}}
| Level {{{level}}} {{#if: {{{school|}}} | {{lc:{{{school}}}}} }} spell }}. {{#if:{{{npc only| }}}|It cannot be learned by players and is only used by NPCs.}} }}} {{{plain summary|{{{summary}}} }}}
   }}
   }}
}}
}}
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> __NOTOC__
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> __NOTOC__  
[[File:{{{image}}}|frameless|right]]
{{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right]] }}


'''{{{name|{{PAGENAME}} }}}''' is a [[Spells|{{#ifeq: {{{level}}} | cantrip | Cantrip ({{{school}}}) | Level {{{level}}} {{{school}}} Spell }}]]. {{{summary}}} {{#if:{{{cannot be learned|}}}|It cannot be learned by player characters.}}
'''{{{name|{{PAGENAME}} }}}''' is a [[Spells|{{#ifeq: {{{level}}} | cantrip | cantrip {{#if: {{{school|}}} | ({{{school}}}) }} | level {{{level}}} {{#if: {{{school|}}} | {{lc:{{{school}}}}} }} spell }}]]. {{{summary}}} {{#if:{{{npc only| }}}|It cannot be learned by players and is only used by NPCs.}}


<h2> Description </h2>
<h2> Description </h2>


{{{description}}}
{{{description}}} {{#if: {{{extra description|}}} | {{blank}}
 
{{{extra description}}}
 
}}{{#if: {{{warning|}}} | {{blank}}
 
<p>{{Colour|white|{{{warning}}}}}</p>
 
}}


<h2> Properties </h2>
<h2> Properties </h2>


<dl class="bg3wiki-property-list">
<div class="bg3wiki-property-list">
{{#if: {{{cost|}}} |
{{#if: {{{cost|}}} |
<dt> Cost:</dt>
; Cost
<dd> {{Resource|{{{cost}}}|{{{cost amount|1}}}}} {{#if: {{{cost2|}}} | + {{Resource|{{{cost2}}}|{{{cost2 amount|1}}}}}}}</dd>
: {{InfoBlob|{{ResourceList|{{{cost}}}}}}}
| <dt> Cost:</dt>
<dd> {{action
    | {{{action type}}}
    }} {{#if: {{{no spell slot|}}}
        | <!-- nothing -->
        | {{#switch: {{{level}}}
          | cantrip =
          | #default = + {{SmallIcon|Spell Slot Icon.png}} Level {{{level}}} Spell Slot
          }}
        }}</dd>
}} {{#if: {{{hit cost|}}} |
}} {{#if: {{{hit cost|}}} |
<dt> Cost on hit:</dt>
; Cost on hit
<dd> {{Resource|{{{hit cost}}}|{{{hit cost amount|1}}}}} {{#if: {{{hit cost2|}}} | + {{Resource|{{{hit cost2}}}|{{{hit cost2 amount|1}}}}}}}</dd>
: {{InfoBlob|{{ResourceList|{{{hit cost}}}}}}}
}} {{#if: {{{damage|}}} |
}} {{#if: {{{damage|}}} |
<dt> Damage:</dt>
; {{#ifeq: {{{damage type|}}} | Healing | Healing | Damage }}
<dd> {{DamageInfo
: {{DamageInfo
    | {{{damage}}}
  | {{{damage}}}
    | {{{damage type}}}
  | {{{damage type}}}
    | modifier = {{{damage modifier|}}}
  | modifier = {{{damage modifier|}}}
    | save = {{{damage save|}}}
  | save = {{{damage save|}}}
    | save effect = {{{damage save effect|}}}
  | save effect = {{{damage save effect|}}}
    | per = {{{damage per|}}}
  | save dc = {{{damage save dc|}}}
    }}</dd>
  | con = {{{damage con|}}}
  | per = {{{damage per|}}}
  }}
}} {{#if: {{{extra damage|}}} |
}} {{#if: {{{extra damage|}}} |
<dt> Extra damage:</dt>
: + {{DamageInfo
<dd> {{DamageInfo
    | {{{extra damage}}}
    | {{{extra damage}}}
    | {{{extra damage type}}}
    | {{{extra damage type}}}
    | modifier = {{{extra damage modifier|}}}
    | modifier = {{{extra damage modifier|}}}
    | save = {{{extra damage save|}}}
    | save = {{{extra damage save|}}}
    | save effect = {{{extra damage save effect|}}}
    | save effect = {{{extra damage save effect|}}}
    | save dc = {{{extra damage save dc|}}}
    | per = {{{extra damage per|}}}
    | con = {{{extra damage con|}}}
    }}</dd>
    | per = {{{extra damage per|}}}
    }}
}} {{#if: {{{extra damage 2|}}} |
: + {{DamageInfo
    | {{{extra damage 2}}}
    | {{{extra damage type 2}}}
    | modifier = {{{extra damage modifier 2|}}}
    | save = {{{extra damage save 2|}}}
    | save effect = {{{extra damage save effect 2|}}}
    | save dc = {{{extra damage save dc 2|}}}
    | con = {{{extra damage con 2|}}}
    | per = {{{extra damage per 2|}}}
    }}
}} {{#if: {{{extra damage 3|}}} |
: + {{DamageInfo
    | {{{extra damage 3}}}
    | {{{extra damage type 3}}}
    | modifier = {{{extra damage modifier 3|}}}
    | save = {{{extra damage save 3|}}}
    | save effect = {{{extra damage save effect 3|}}}
    | save dc = {{{extra damage save dc 3|}}}
    | con = {{{extra damage con 3|}}}
    | per = {{{extra damage per 3|}}}
    }}
}} {{#if: {{{healing|}}} |
}} {{#if: {{{healing|}}} |
<dt> Healing:</dt>
; Healing
<dd> {{HealingInfo
: {{HealingInfo
    | {{{healing}}}
  | {{{healing}}}
    | modifier = {{{healing modifier|}}}
  | modifier = {{{healing modifier|}}}
    | per = {{{healing per|}}}
  | per = {{{healing per|}}}
    }}</dd>
  }}
}}</dl>{{#if: {{{attack roll|}}} {{{ritual|}}} {{{range|}}} {{{range m|}}} {{{range ft|}}} {{{aoe|}}} {{{concentration|}}} {{{area|}}} {{{recharge|}}}|
}} {{#if: {{{attack roll|}}} {{{save|}}} {{{range|}}} {{{range m|}}} {{{range ft|}}} {{{aoe|}}} {{{area|}}} {{{ritual|}}} {{{recharge|}}} {{{concentration|}}} |
<dl class="bg3wiki-property-list"><dt> Details:</dt> <!-- If you add any further detail fields below, make sure to extend the list above as well. -->
; Details <!-- If you add any further detail fields below, make sure to extend the list above as well. -->
{{#if: {{{attack roll|}}} |
}} {{#if: {{{attack roll|}}} |
<dd> {{Attack Roll}} </dd>
: {{Attack Roll|{{{attack roll|}}}}} {{#if: {{{on miss|}}} | (On Miss: {{{on miss}}}) }}
}} {{#if: {{{save|}}} |
: {{Save | {{{save}}} | dc = {{{save dc|}}} }} {{#if: {{{on save|}}} | (On Save: {{{on save}}}) }}
}} {{#if: {{{range m|}}} {{{range ft|}}}
}} {{#if: {{{range m|}}} {{{range ft|}}}
| <dd> {{Range | m = {{{range m}}} | ft = {{{range ft}}} }} </dd>
| : {{Range | {{{range|}}} | m = {{{range m}}} | ft = {{{range ft}}} }}
| {{#if: {{{range|}}}
| {{#if: {{{range|}}}
   | <dd> {{Range | {{{range}}} }} </dd>
   | : {{Range | {{{range}}} }}
   }}
   }}
}} {{#if: {{{aoe|}}} |
}} {{#if: {{{aoe|}}} |
<dd> {{AOE | {{{aoe}}} | m = {{{aoe m}}} | ft = {{{aoe ft}}} }} </dd>
: {{AOE | {{{aoe}}} | m = {{{aoe m}}} | ft = {{{aoe ft}}} }}
}} {{#if: {{{area|}}} |
}} {{#if: {{{area|}}} |
<dd> {{SmallIcon|Aoe Icon.png}} Creates Area: {{{area}}} </dd>
: {{SmallIcon | Aoe Icon.png }} Creates Area: {{{area}}}
}} {{#if: {{{ritual|}}} |
}} {{#if: {{{ritual|}}} |
<dd> {{Ritual Spell}} </dd>
: {{Ritual Spell}}
}} {{#if: {{{recharge|}}} |
}} {{#if: {{{recharge|}}} |
<dd> {{Recharge|{{{recharge}}} }} </dd>
: {{Recharge | {{{recharge}}} }}
}} {{#if: {{{concentration|}}} |
}} {{#if: {{{concentration|}}} |
<dd> {{Concentration}} </dd>
: {{Concentration}}
}}
}} <!-- If you add any further detail fields above, make sure to extend the #if above it to display the "Details" header as well. -->
}} <!-- end details -->
</div>
</dl>
<h2> At higher levels </h2>
<h2> At higher levels </h2>
{{#if: {{{higher levels|}}}
{{#if: {{{higher levels|}}} | {{main namespace only|[[Category:Spells that gain benefits at higher levels]]}}
| {{{higher levels}}}{{main namespace only|[[Category:Spells that gain benefits at higher levels]]}}
{{{higher levels}}}
| Casting this spell at a higher level grants no additional benefit.  
| <p>Casting this spell at a higher level grants no additional benefit. </p>
}} {{clear}}</div> {{#if: {{{variants|}}} |
}} {{clear}}</div> {{#if: {{{variants|}}} |


Line 121: Line 145:
{{Main namespace only|{{Inflicts|{{{condition2|}}}|sai }} }}
{{Main namespace only|{{Inflicts|{{{condition2|}}}|sai }} }}
</div>
</div>
[[Category:Spells with renamed condition 2 property]]
}} {{#if: {{{condition2|}}} |


}} {{#if: {{{area|}}} |
<h2> Condition: {{{condition2}}} </h2>
 
<h2> Area: {{{area}}} </h2>


<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
The spell creates {{#switch: {{{area category}}}
{{Condition | {{{condition2}}}
| cloud = a cloud
| save = {{{condition2 save|}}}
| surface = a surface
| dc = {{{condition2 dc|}}}
| #default = an area
| duration = {{{condition2 duration|}}}
}} with the following properties.
 
* {{AOE | {{{area shape}}} | m = {{{area range m}}} | ft = {{{area range ft}}} }}
* {{Duration | {{{area duration}}} }} {{#if: {{{area turn start damage|}}} | {{blank}}
 
Creatures starting their turn in the area suffer:
{{DamageInfo
| {{{area turn start damage}}}
| {{{area turn start damage type}}}
| save = {{{area turn start damage save|}}}
| save effect = {{{area turn start damage save effect|}}}
}}
}}
}} <!-- / area turn start damage --> {{#if: {{{area turn end damage|}}} | {{blank}}
{{Main namespace only|{{Inflicts|{{{condition2|}}}|sai }} }}
</div>


Creatures ending their turn in the area suffer:
}} {{#if: {{{area|}}} |
{{DamageInfo
| {{{area turn end damage}}}
| {{{area turn end damage type}}}
| save = {{{area turn end damage save|no}}}
| save effect = {{{area turn end damage save effect|}}}
}}
}} <!-- / area turn end damage --> {{#if: {{{area condition|}}} | {{blank}}


Creatures within the area are affected by the following conditions:
<h2> Area: {{{area}}} </h2>


{{Condition | {{{area condition}}} }}{{Main namespace only|{{Inflicts|{{{area condition|}}}|sai }} }}
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{#if: {{{area condition 2|}}} | {{blank}}
{{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}}
{{Condition | {{{area condition 2}}} }}{{Main namespace only|{{Inflicts|{{{area condition 2|}}}|sai }} }}
}} {{#if: {{{area condition 3|}}} | {{blank}}
{{Condition | {{{area condition 3}}} }}{{Main namespace only|{{Inflicts|{{{area condition 3|}}}|sai }} }}
}} {{#if: {{{area condition 4|}}} | {{blank}}
{{Condition | {{{area condition 4}}} }}{{Main namespace only|{{Inflicts|{{{area condition 4|}}}|sai }} }}
}}
}} <!-- / area condition -->
</div>
</div>
}} <!-- / area -->
}} <!-- / area -->
Line 173: Line 173:
     {{#loop: level | 1 | 12 |
     {{#loop: level | 1 | 12 |
       {{#if: {{{ class learns at level {{#var:level}}|}}} | {{blank}}
       {{#if: {{{ class learns at level {{#var:level}}|}}} | {{blank}}
       {{#lvardef:classes|{{{class learns at level {{#var:level}} |}}},{{#lvar:classes}} }}
       {{#lvardef:classes|{{#explode: {{{class learns at level {{#var:level}} |}}}|:|0}},{{#lvar:classes}} }}
* Class Level {{#var:level}}: {{#invoke: ParseList | main | {{{ class learns at level {{#var:level}} }}} | useTemplate = Class }}
* Class Level {{#var:level}}: {{#invoke: ParseList | main | {{{ class learns at level {{#var:level}} }}} | useTemplate = Class/Format }}
       }}
       }}
     }}
     }}
Line 180: Line 180:
     {{#loop: level | 1 | 20 |
     {{#loop: level | 1 | 20 |
       {{#if: {{{ race learns at level {{#var:level}} |}}} | {{blank}}
       {{#if: {{{ race learns at level {{#var:level}} |}}} | {{blank}}
* Character Level {{#var:level}}: {{#invoke: ParseList | main | {{{ race learns at level {{#var:level}} }}} | useTemplate = Race }}
* Character level {{#var:level}}: {{#invoke: ParseList | main | {{{ race learns at level {{#var:level}} }}} | useTemplate = Race }}
       }}
       }}
     }}
     }}
Line 191: Line 191:
{{#lvar:races-learn-list}}
{{#lvar:races-learn-list}}


(Character Level is the sum of all Class Levels for a multi-classed character.)
(''Character level'' is the sum of all class levels for a multi-classed character.)
   }}{{#if: {{{granted by feats|}}} | {{blank}}
   }}{{#if: {{{granted by feats|}}} | {{blank}}


Feats: {{#invoke: ParseList | main | {{{granted by feats}}} | makeLinks = yes }}
Feats: {{#invoke: ParseList | main | {{{granted by feats}}} | type = htmlList| useTemplate = SAI/fixedSmall }}
   }}{{#if: {{{granted by items|}}} | {{blank}}
   }}{{#if: {{{granted by items|}}} | {{blank}}


Granted by equipping the following items:
Granted by the following items:
 
{{#invoke: ParseList | main | {{{granted by items}}} | type = htmlList | useTemplate = GrantedByItems/Format }}
  }}{{#if: {{{used by creatures|}}} | {{blank}}


{{#invoke: ParseList | main | {{{granted by items}}} | type = htmlList | useTemplate = MdRarityItem }}
Used by creatures:
{{#invoke: ParseList | main | {{{used by creatures}}} | makeLinks = yes }}
  }}{{#if: {{{variant of|}}} | {{blank}}
 
This spell is a variation of:<br>
{{SAI|{{{variant of}}}|w=40}}
   }}{{#if: {{{other ways to learn|}}} | {{blank}}
   }}{{#if: {{{other ways to learn|}}} | {{blank}}
 
Other ways to learn:
Other ways to learn:


Line 214: Line 223:
{{{notes}}}
{{{notes}}}
</div>
</div>
}}{{#if: {{{video|}}} |
}} {{#if: {{{bugs|}}} |
 
<h2> Bugs </h2>
 
<div class="bg3wiki-tooltip-box">
{{{bugs}}}
{{Main namespace only|[[Category:Bugs]]}}
</div>
}} {{#if: {{{video|}}} |


<h2> Visuals </h2>
<h2> Visuals </h2>
Line 221: Line 238:


}}
}}
 
{{#if: {{{area category|}}}{{{area turn start damage|}}}{{{area turn end damage|}}}{{{area condition|}}}{{{area condition 2|}}}{{{area condition 3|}}}{{{area condition 4|}}} | {{Main namespace only|[[Category:Pages using deprecated parameters]]}} }}
{{#switch: {{{this is an example|}}}
{{#switch: {{{this is an example}}}
| yes =
| yes =
| #default = [[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }} [[Category:{{{school}}} Spells]] {{#if: {{{ritual|}}} | [[Category:Ritual Spells]]}} {{#cargo_store:
| #default = {{Main namespace only|[[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }} {{#if: {{{school|}}} | [[Category:{{{school|}}} spells]]}}{{#if: {{{ritual|}}} | [[Category:Ritual spells]]}} {{#cargo_store:
_table = spells
_table = spells
| name = {{{name|{{PAGENAME}} }}}
| name = {{{name|{{#titleparts: {{PAGENAME}} }} }}}
| image = {{{image|}}}
| controller_icon = {{#lvar:controllericon}}
| icon = {{#lvar:icon}}
| spell_level = {{#ifeq:{{{level|}}}|cantrip|0|{{{level|}}} }}
| spell_level = {{#ifeq:{{{level|}}}|cantrip|0|{{{level|}}} }}
| spell_school = {{{school}}}
| spell_school = {{{school|}}}
| is_concentration = {{#if:{{{concentration|}}}|yes}}
| is_concentration = {{#if:{{{concentration|}}}|yes}}
| is_ritual = {{#if:{{{ritual|}}}|yes}}
| is_ritual = {{#if:{{{ritual|}}}|yes}}
| is_spell = yes
| is_weapon_action = no
| aoe = {{{aoe|}}}
| aoe = {{{aoe|}}}
| aoe_size = {{#if:{{{aoe|}}}|{{{aoe m|}}}/{{{aoe ft|}}} }}
| aoe_size = {{#if:{{{aoe|}}}|{{{aoe m|}}}/{{{aoe ft|}}} }}
| is_npc = {{#if:{{{cannot be learned|}}}|yes}}
| is_npc = {{#if:{{{npc only|}}}|yes}}
| can_upcast = {{#if:{{{higher levels|}}}|yes}}
| can_upcast = {{#if:{{{higher levels|}}}|yes}}
| has_attack_roll = {{#if:{{{attack roll|}}}|yes}}
| has_attack_roll = {{#if:{{{attack roll|}}}|yes}}
| description = {{{description|}}}
| description = {{{description|}}}
| action_type = {{{action type|}}}
| extra_description = {{{extra description|}}}
| action_type = {{#if:{{#pos:{{{cost|}}}|reaction}}|reaction|{{#if:{{#pos:{{{cost|}}}|bonus}}|bonus|{{#if:{{#pos:{{{cost|}}}|action}}|action|{{#if:{{#pos:{{{cost|}}}|movement}}|movement|}}}}}}}}
| spell_range = {{#if:{{{range m|}}}{{{range ft|}}}|{{{range m|}}}/{{{range ft|}}}|{{{range|}}} }}
| spell_range = {{#if:{{{range m|}}}{{{range ft|}}}|{{{range m|}}}/{{{range ft|}}}|{{{range|}}} }}
<!-- A little logic to try to make sure the list of classes only contains unique values. -->
<!-- A little logic to try to make sure the list of classes only contains unique values. -->
| classes = {{#arraydefine:classes|{{#lvar:classes}}|,}}{{#arrayunique:classes}}{{#arrayprint:classes|,}}
| classes = {{{classes|}}}
| save = {{{save|}}}
| damage = {{{damage|}}}
| damage_type = {{{damage type|}}}
| damage_type = {{{damage type|}}}
| extra_damage = {{{extra damage|}}}
| extra_damage_type = {{{extra damage type|}}}
| damage_save = {{{damage save|{{{condition save|}}} }}}
| damage_save = {{{damage save|{{{condition save|}}} }}}
| is_healing = {{#if:{{{healing|}}}|yes}}
| is_healing = {{#if:{{{healing|}}}|yes}}
| condition_duration = {{{condition duration|}}}
| condition_duration = {{{condition duration|}}}
| recharge = {{{recharge|}}}
}}
}}
}}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
}} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
_table = spells
_table = spells
| name = String
| name = String
| image = File
| controller_icon = File
| icon = File
| spell_level = String
| spell_level = String
| spell_school = String
| spell_school = String
| is_spell = Boolean
| is_weapon_action = Boolean
| is_concentration = Boolean
| is_concentration = Boolean
| is_ritual = Boolean
| is_ritual = Boolean
Line 259: Line 292:
| has_attack_roll = Boolean
| has_attack_roll = Boolean
| description = Wikitext
| description = Wikitext
| extra_description = Wikitext
| action_type = String
| action_type = String
| spell_range = String
| spell_range = String
| classes = List (,) of String
| classes = List (,) of String
| save = String
| damage = String
| damage_type = String
| damage_type = String
| extra_damage = String
| extra_damage_type = String
| damage_save = String
| damage_save = String
| is_healing = String
| is_healing = String
| condition_duration = String
| condition_duration = String
| recharge = String
}}</noinclude>
}}</noinclude>

Revision as of 06:33, 6 May 2024

Template documentation

This is a template for generating an entire pre-formatted page for a spell or spell-like ability.

Scroll to the bottom of the page for full documentation of template parameters.

Usage example:

{{SpellPage
| name =
| image =
| icon =
| level =
| school =
| ritual =
| class learns at level 1 =
| class learns at level 2 =
| race learns at level 1 =
| race learns at level 2 =
| summary =
| description =
| extra description = 
| brief =
| cost =
| hit cost =
| attack roll =
| on miss =
| damage =
| damage modifier =
| damage type =
| damage save =
| damage save effect =
| damage save dc =
| damage per =
| extra damage =
| extra damage modifier = 
| extra damage type =
| extra damage save =
| extra damage save effect =
| extra damage save dc =
| extra damage per =
| concentration =
| save = 
| save dc =
| on save =
| range =
| range m =
| range ft =
| aoe =
| aoe m =
| aoe ft =
| condition =
| condition duration =
| condition save =
| condition dc =
| condition2 =
| condition2 duration =
| condition2 save =
| condition2 dc =
| area =
| area shape = 
| area range m =
| area range ft =
| area duration =
| warning =
| higher levels =
| granted by feats = 
| granted by items =
| used by creatures = 
| other ways to learn =
| variants =
| variant of =
| notes =
| bugs =
| video =
| npc only =
}}

Examples of the template are below:

Acid Splash

Acid Splash.webp

Acid Splash is a cantrip (Conjuration). It deals Acid damage to enemies in a small area.

Description

Hurl a bubble of acid that deals 1d6Damage TypesAcid damage to each creature it hits in a small area.

Properties

Cost
Action
Damage
D6 Acid.png 1d6 (1~6) Damage TypesAcid (Dexterity save to negate)
Details
 Range: 18 m / 60 ft
AoE: 2 m / 7 ft (Radius)

At higher levels

When the spellcaster reaches Level 5, the damage increases by another 1d6, for a total of:

D6 Acid.png 2d6 (2~12) Damage TypesAcid

Variants

How to learn

Classes:

Races:

(Character level is the sum of all class levels for a multi-classed character.)

Feats:


Bg3 content hr.png

Bone Chill

Bone Chill.webp

Bone Chill is a cantrip (Necromancy). It deals Necrotic damage and prevents the target from regaining hit points.

Description

Assail a creature with the chill of the grave. It takes 1d8Damage TypesNecrotic damage and cannot regain Hit Points. Undead creatures also get Disadvantage Icon.png Disadvantage on Attack Rolls.

Properties

Cost
Action
Damage
D8 Necrotic.png 1d8 (1~8) Damage TypesNecrotic
Details
 Range: 18 m / 60 ft

At higher levels

When the spellcaster reaches Level 5, the damage increases by another 1d8, for a total of:

D8 Necrotic.png 2d8 (2~16) Damage TypesNecrotic

Condition: Bone Chilled

Bone Chilled Bone Chilled

Duration: 1 turn

How to learn

(Information not yet added.)


Bg3 content hr.png

Blade Ward

Blade Ward.webp

Blade Ward is a cantrip (Abjuration). It allows spellcasters to become more resilient against physical damage.

Description

The caster gains resistance against Damage TypesBludgeoning, Damage TypesPiercing, and Damage TypesSlashing damage dealt by weapon attacks for two turns. Damage of these types is halved.

Properties

Cost
Action
Details
 Range: Self

At higher levels

Casting this spell at a higher level grants no additional benefit.

Condition: Blade Ward

Blade Ward Blade Ward

Duration: 2 turns

How to learn

Granted by the following items:


Bg3 content hr.png

Hunger of Hadar

Hunger of Hadar.webp

Hunger of Hadar is a level 3 conjuration spell. It allows the caster to create a sphere of cold blackness, teeming with unknown horrors.

Description

Create a sphere of cold blackness, teeming with unknown horrors. Creatures starting their turn in the area take 2d6Damage TypesCold damage. Creatures ending their turn in the area possibly take 2d6Damage TypesAcid damage.

The area is Difficult Terrain and creatures within are Blinded.

Properties

Cost
Action + Level 3 Spell Slot
Damage
D10 Fire.png 1d10 (1~10) + Spellcasting modifier Damage TypesFire (Dexterity save to halve)
Details
Attack roll
 Range: 18 m / 60 ft
AoE: 10 m / 35 ft (Radius)
Creates Area: Hunger of Hadar (area)
Concentration Concentration

At higher levels

Casting this spell at a higher level grants no additional benefit.

Variants

Area: Hunger of Hadar (area)

How to learn

Classes:

Notes

  • Here's some notes just for testing purposes.
  • Two note entries even.

Bugs

  • Some known bug about this spell.


Bg3 content hr.png

Aid

Aid.webp

Aid is a level 2 abjuration spell. It allows spellcasters to heal and embolden their allies and themselves with resolve. Affected creatures have their maximum hit points increased for the duration of the spell. It cannot be learned by players and is only used by NPCs.

Description

Bolster your allies with toughness and resolve to heal and increase their hit point maximum.

Properties

Cost
Action + Level 2 Spell Slot
Details
 Range: Self
AoE: 9 m / 30 ft (Radius)

At higher levels

Casting this spell at a higher level grants no additional benefit.

Condition: Aid

Aid Aid
  • Hit point maximum increased by 5hit points.
  • Hit point maximum increases by a further 5hit points for every Spell Slot Level above 2 used.

How to learn

Classes:

Other ways to learn:

Bg3 content hr.png

This page template creates an entire spell page for a given spell.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Spell namename

The name of the spell, as it is displayed.

Example
Fireball
Stringsuggested
Spell imageimage

This is the spell's in-game 380x380 tooltip image.

Example
Fireball.webp
Stringsuggested
Spell iconicon

This is the spell's in-game 144x144 controller UI icon.

Example
Fireball Icon.webp
Stringsuggested
Spell levellevel

This is the level of the spell. Use "cantrip" to indicate a 0th level or cantrip spell.

Suggested values
cantrip 1 2 3 4 5 6
Example
2
Stringsuggested
Spell schoolschool

The school of magic that the spell belongs to.

Suggested values
Abjuration Conjuration Divination Enchantment Evocation Illusion Necromancy Transmutation
Example
Evocation
Stringsuggested
ritualritual

Indicates whether the spell is a ritual spell or not. Leave blank if not a ritual spell.

Example
yes
Stringoptional
class learns at level Xclass learns at level X

This specifies what level the classes get access to this spell. Use e.g. "class learns at level 5" with a comma-separated list of classes to specify classes that learn this spell at class level 5. You can use subclass names such as "Fiend" or "Light Domain" to indicate that Fiend Warlocks or Light Domain clerics gain access.

Example
Sorcerer, Wizard, Fiend, Light Domain
Stringsuggested
race learns at level Xrace learns at level X

This specifies what level the races get access to this spell. Use e.g. "race learns at level 5" with a comma-separated list of races to specify which races learn this spell at level 5. You can use subrace names such as "Wood Elf" or "Seldarine Drow" as well.

Example
Elf, Seldarine Drow
Stringsuggested
Spell description summarysummary

A short summary of the spell. This appears at the top of the page and on link previews.

Example
This spell allows the caster to unleash a streak of fire from their hands that ignites into a large explosion at a chosen point within range.
Contentsuggested
Spell descriptiondescription

This is the full in-game description of the spell. Try to reflect the in-game description as closely as possible.

Example
Shoot a bright flame from your fingers that explodes upon contact, torching everything in the vicinity for 8d6 Fire damage.
Contentrequired
Extra descriptionextra description

The extra in-game description of the spell, shown when the tooltip is locked on screen.

Contentoptional
Brief descriptionbrief

Minimal description with as little visual clutter (like in-line icons) as possible, for use in infoboxes and the like.

Contentoptional
costcost

The resource needed to cast this spell.

Suggested values
action bonus reaction spell1 l1
Example
action
Stringsuggested
hit costhit cost

The resource expended when the spell hits the target.

Suggested values
bonus reaction spell1 l1
Example
bonus
Stringsuggested
attack rollattack roll

Whether the spell creates an attack roll or not and what type. Leave blank if no attack roll is made.

Suggested values
yes melee weapon melee spell melee unarmed melee off-hand weapon ranged weapon ranged spell ranged unarmed ranged off-hand weapon
Default
No
Stringoptional
on misson miss

Used in conjunction with 'attack roll' describes what happens if the spell misses its attack roll.

Suggested values
Targets still take half damage.
Example
Targets still take half damage.
Stringoptional
damagedamage

The amount of damage dealt by the spell's primary effect, in dice. Leave blank if the spell does not directly deal damage.

Example
3d6
Stringoptional
damage modifierdamage modifier

What stats (if any) get added to the damage dealt.

Suggested values
Strength Dexterity Constitution Wisdom Intelligence Charisma melee ranged finesse Spellcasting
Example
Spellcasting
Stringoptional
damage typedamage type

The type of damage that spell deals.

Suggested values
Acid Cold Fire Force Healing Lightning Necrotic Poison Radiant Thunder Psychic Physical Piercing Bludgeoning Slashing
Example
Fire
Stringoptional
damage savedamage save

The save (if any) that a target must roll against the damage effect of the spell.

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Example
Dexterity
Stringoptional
damage save effectdamage save effect

What happens on a successful save. Leave blank to default to "negate".

Suggested values
half negate
Default
negate
Example
half
Stringoptional
damage save dcdamage save dc

Use this parameter if the spell's has a fixed saving throw DC

Example
15
Numberoptional
damage perdamage per

Optional descriptor that indicates that the damage occurs every time something happens,

Example
damage per = missile; damage per = turn
Stringoptional
concentrationconcentration

Whether the spell requires the caster to maintain concentation. "Yes" if it does, leave blank otherwise.

Suggested values
Yes No
Default
No
Example
Yes
Stringoptional
savesave

The saving throw stat commonly used by this spell

Suggested values
DEX STR WIS
Example
WIS
Stringoptional
save dcsave dc

The saving throw DC

Suggested values
16 caster weapon action
Example
15
Stringoptional
on saveon save

Used in conjunction with 'save', describes what happens when the target successfully makes their saving throw.

Suggested values
Targets still take half damage.
Example
Targets still take half damage.
Stringoptional
rangerange

The range of the spell.

Suggested values
ranged melee self
Example
ranged
Stringoptional
range mrange m

Use this parameter if the spell's range does not fit into one of the presets, "melee", "ranged", or "self". Indicates the range in meters.

Example
5
Numberoptional
range ftrange ft

Use this parameter if the spell's range does not fit into one of the presets, "melee", "ranged", or "self". Indicates the range in feet.

Example
35
Numberoptional
aoeaoe

Indicates if the spell affects an area, and what type of shape its effect is.

Suggested values
radius cone cube line
Example
cone
Stringoptional
aoe maoe m

This indicates the range of the spell's aoe shape, in meters.

Example
5
Numberoptional
aoe ftaoe ft

This indicates the range of the spell's aoe shape, in feet.

Example
15
Numberoptional
conditioncondition

The full name of the condition (if any) that this spell applies to its target/s. Leave blank if there is no condition.

Example
Hastened
Stringoptional
condition durationcondition duration

The duration in turns of the spell's applied condition. Leave blank if the duration is unlimited.

Example
5
Numberoptional
condition savecondition save

The save that the spell's target must roll to avoid or reduce its effects. Can use short or long name, e.g: "STR" or "Strength"

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Example
WIS
Stringoptional
condition dccondition dc

The dc of the spell's applied condition. Leave blank if the dc is unknown.

Example
13, caster, weapon action
Stringoptional
condition2condition2

The full name of the second condition (if any) that this spell applies to its target/s. Leave blank if there is no second condition.

Example
Hastened
Stringoptional
condition2 durationcondition2 duration

The duration in turns of the spell's second applied condition. Leave blank if the duration is unlimited.

Example
5
Numberoptional
condition2 savecondition2 save

The second save that the spell's target must roll to avoid or reduce its effects. Can use short or long name, e.g: "STR" or "Strength"

Suggested values
Strength Dexterity Constitution Intelligence Wisdom Charisma
Example
WIS
Stringoptional
condition2 dccondition2 dc

The dc of the spell's second applied condition. Leave blank if the dc is unknown.

Example
13, caster, weapon action
Stringoptional
Spell area namearea

Indicates the page of a special area/field/surface/cloud created by the spell (if any). Leave blank if there is none.

Example
Hunger of Hadar (area)
Stringoptional
area shapearea shape

This indicates the shape that the special area created by the spell takes.

Suggested values
Radius Cone Cube
Example
Radius
Stringoptional
area range marea range m

Indicates the range of the area created by spell, in meters.

Example
5
Numberoptional
area range ftarea range ft

Indicates the range of the area created by spell, in feet.

Example
12
Numberoptional
area durationarea duration

This indicates how long the area created by the spell lasts, in turns.

Example
6
Numberoptional
warningwarning

Warning text for the tooltip that doesn't belong in the description.

Stringoptional
higher levelshigher levels

This describes what happens when the spell is casting using a higher than normal spell slot.

Example
When the spell is cast at 2nd Level or higher, the damage increases 1d6 Fire damage for each spell slot level above 1st.
Contentoptional
variantsvariants

Comma-separated list of variants of the spell, like the element types of Chromatic Orb.

Example
Chromatic Orb: Fire, Chromatic Orb: Ice, Chromatic Orb: Acid, ...
Stringoptional
variant ofvariant of

The spell that is the parent of this spell

Example
Chromatic Orb
Stringoptional
notesnotes

Any extra or related information about the spell.

Contentoptional
bugsbugs

Any known bugs about the spell.

Contentoptional
videovideo

Name of an uploaded video file showcasing the spell.

Fileoptional
rechargerecharge

The frequency of recharge for this spell, if any.

Suggested values
Long Rest Short Rest Per Combat
Stringoptional
other ways to learnother ways to learn

Will be inserted directly into the How to Learn section after all the other ways of learning.

Stringoptional
npc onlynpc only

If specified, will mark the spell as unable to be learned by players.

Booleanoptional
This template defines the table "spells". View table.