Template:Weapon action page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(InfoBlob the costs)
(the "name" parameter does not have to be explicitly defined anymore for the query to function)
 
(56 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{
<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|}}}
#lvardef: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}
}}{{
#lvardef: image | {{{image | {{#replace:{{#replace:{{#replace:{{#replace:{{#lvar:name}}|:|}}|/|}}|(|}}|)|}}.webp }}}
}}{{
#lvardef: icon | {{{icon | {{#replace:{{#replace:{{#replace:{{#replace:{{#lvar:name}}|:|}}|/|}}|(|}}|)|}} Icon.webp }}}
}}{{#switch: {{{this is an example|}}}
| yes =
| yes =
| #default = {{PageSeo
| #default = {{PageSeo
   | image = {{#lvar:image}}
   | image = {{#lvar:controllericon}}
   | description = {{{seo description|{{{description|}}}}}}
   | description = {{{seo description|{{{description|}}}}}}
   }}
   }}
}}
}}
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> {{#if: {{#lvar:image}} | [[File:{{#lvar:image}}|300px|right]] }}
__NOTOC__
{{{summary|'''{{#lvar:name}}''' is a [[Weapon Actions|weapon action]] {{#if: {{{weapons|}}}
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> {{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right]] }}
{{{summary|'''{{{name | {{#titleparts: {{PAGENAME}} }} }}}''' is a [[Weapon actions|weapon action]] {{#if: {{{weapons|}}}
| granted by {{#invoke: ParseList | main | {{{weapons}}} | useTemplate = RarityItem }}.
| granted by {{#invoke: ParseList | main | {{{weapons}}} | useTemplate = RarityItem }}.
| available to characters [[proficient]] in and wielding a {{#invoke: ParseList | main | {{{weapon types}}} | makeLinks = yes | makeSingular = yes | makeLowercase = yes | joinWord = or }} in their main hand.
| available to characters [[proficient]] in and wielding a {{#invoke: ParseList | main | {{{weapon types}}} | makeLinks = yes | makeSingular = yes | makeLowercase = yes | textLastDelim = <nowiki>, or </nowiki> }} in their main hand.
}} }}}
}} }}}


<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> {{InfoBlob| {{Resource|{{{cost}}}|{{{cost amount|1}}}}} }} {{#if: {{{cost2|}}} | + {{InfoBlob| {{Resource|{{{cost2}}}|{{{cost2 amount|1}}}}} }}</dd>
: {{InfoBlob|{{ResourceList|{{{cost}}}}}}}
| <dt> Cost:</dt>
<dd> {{InfoBlob | {{#switch: {{{action type|}}}
    | movement = {{action | movement | ft = {{{movement ft}}} | m = {{{movement m}}} }}
    | #default = {{action | {{{action type|}}} }}
    }} }}</dd>
}} {{#if: {{{hit cost|}}} |
}} {{#if: {{{hit cost|}}} |
<dt> Cost on hit:</dt>
; Cost on hit:
<dd> {{InfoBlob| {{Resource|{{{hit cost}}}|{{{hit cost amount|1}}}}} }} {{#if: {{{hit cost2|}}} | + {{InfoBlob| {{Resource|{{{hit cost2}}}|{{{hit cost2 amount|1}}}}} }}</dd>
: {{InfoBlob|{{ResourceList|{{{hit cost}}}}}}}
}} {{#if: {{{damage|}}} |
}} {{#if: {{{damage|}}} |
<dt> Damage:
; Damage:
{{#if: {{{save effect|}}} |
: {{DamageInfo | {{{damage}}} | {{{damage type}}} | modifier = {{{damage modifier|}}} }}
<dd> {{DamageInfo | {{{damage}}} | {{{damage type}}} | modifier = {{{damage modifier|}}} | save = {{{save|}}} | save effect = {{{save effect|}}} }} |
}} {{#if: {{{extra damage|}}} |
<dd> {{DamageInfo | {{{damage}}} | {{{damage type}}} | modifier = {{{damage modifier|}}} }}
: + {{DamageInfo | {{{extra damage}}} | {{{extra damage type}}} | con = {{{extra damage con|}}} }}
}}}} {{#if: {{{extra damage|}}} |
}} {{#if: {{{extra damage 2|}}} |
<dt> Extra damage:
: + {{DamageInfo | {{{extra damage 2}}} | {{{extra damage type 2}}} | con = {{{extra damage con 2|}}} }}
{{#if: {{{extra damage con|}}} |
}} {{#if: {{{attack roll|}}} {{{range m|}}} {{{range ft|}}} {{{range|}}} {{{aoe|}}} {{{area|}}} {{{duration|}}} {{{recharge|}}} |
<dd> {{DamageInfo | {{{extra damage}}} | {{{extra damage type}}} | con }} |
; Details: <!-- If you add any more details below, remember to expand the list above too. -->
<dd> {{DamageInfo | {{{extra damage}}} | {{{extra damage type}}}}}
}}}} {{#if: {{{extra damage 2|}}} |
{{#if: {{{extra damage con 2|}}} |
<dd> {{DamageInfo | {{{extra damage 2}}} | {{{extra damage type 2}}} | con }} |
<dd> {{DamageInfo | {{{extra damage 2}}} | {{{extra damage type 2}}}}}
}}}} {{#if: {{{attack roll|}}} {{{range m|}}} {{{range ft|}}} {{{range|}}} {{{aoe|}}} {{{duration|}}} {{{recharge|}}} |
<dt> Details: <!-- If you add any more details below, remember to expand the list above too. -->
{{#if: {{{attack roll|}}} |
{{#if: {{{attack roll|}}} |
<dd> {{Attack Roll}}
: {{Attack roll|{{{attack roll|}}}}} {{#if: {{{on miss|}}} | (On Miss: {{{on miss}}}) }}
}} {{#if: {{{save|}}} |
}} {{#if: {{{save|}}} |
<dd> {{SavingThrow|{{{save}}}|dc={{{save dc|}}}}}
: {{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}}} }}
: {{Range | m = {{{range m}}} | ft = {{{range ft}}} }}
}} {{#if: {{{range|}}} |
}} {{#if: {{{range|}}} |
<dd> {{Range | {{{range | {{{range}}} }}} }}
: {{Range | {{{range | {{{range}}} }}} }}
}} {{#if: {{{aoe|}}} |
}} {{#if: {{{aoe|}}} |
<dd> {{AOE | {{{aoe}}} | m = {{{aoe m}}} | ft = {{{aoe ft}}} }}
: {{AOE | {{{aoe}}} | m = {{{aoe m}}} | ft = {{{aoe ft}}} }}
}} {{#if: {{{area|}}} |
: {{SmallIcon | Aoe Icon.png }} Creates Area: {{{area}}}
}} {{#if: {{{duration|}}} |
}} {{#if: {{{duration|}}} |
<dd> {{Duration | {{{duration}}} }}
: {{Duration | {{{duration}}} }}
}} {{#if: {{{recharge|}}} |
}} {{#if: {{{recharge|}}} |
<dd> {{Recharge | {{{recharge}}} }}
: {{Recharge | {{{recharge}}} }}
}}
}}
}}
}}
</dl>
</div>


{{clear}}
{{clear}}


</div> {{#if: {{{condition|}}} | {{blank}}
</div>  
{{#if: {{{variants|}}} |
<h2> Variants </h2>
 
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{#invoke: ParseList | main | {{{variants}}} | type = htmlListNoBullets | useTemplate = SAI/fixed }}
</div>
 
}}{{#if: {{{condition|}}} |
 
<h2> Condition: {{{condition}}} </h2>


<h2>Conditions</h2>
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Inflicts|{{{condition}}}|weapon action}}
<div class="bg3wiki-tooltip-box">
{{Condition | {{{condition}}}
{{Condition | {{{condition}}}
| save = {{{condition save|}}}
| save = {{{condition save|}}}
Line 82: Line 83:
| duration = {{{condition duration|}}}
| duration = {{{condition duration|}}}
}}
}}
</div>{{#if: {{{condition 2|}}} |
{{main namespace only|{{Inflicts|{{{condition}}}|sai|type=spell|save={{{condition save|}}}|dc={{{condition dc|}}}|duration={{{condition duration|}}}}}}}
{{Inflicts|{{{condition 2}}}|weapon action}}
<div class="bg3wiki-tooltip-box">
{{Condition | {{{condition 2}}}
| save = {{{condition 2 save|}}}
| dc = {{{condition 2 dc|}}}
| duration = {{{condition 2 duration|}}}
}}
</div>
</div>
}}
}}{{#if: {{{condition2|}}} |
}} {{#if: {{{notes|}}} | {{blank}}


<h2>Notes</h2>
<h2> Condition: {{{condition2}}} </h2>


<div class="bg3wiki-tooltip-box">
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{{notes}}}
{{Condition | {{{condition2}}}
| save = {{{condition2 save|}}}
| dc = {{{condition2 dc|}}}
| duration = {{{condition2 duration|}}}
}}
{{main namespace only|{{Inflicts|{{{condition2}}}|sai|type=spell|save={{{condition2 save|}}}|dc={{{condition2 dc|}}}|duration={{{condition2 duration|}}}}}}}
</div>
</div>


}} {{#switch: {{{this is an example|}}}
}}{{#if: {{{area|}}} | {{blank}}
| yes =
| #default = [[Category:Weapon Actions]] {{#switch: {{{action type|}}}
  | bonus = [[Category:Bonus Actions]]
  | movement = [[Category:Movement-Expending Actions]]
  | reaction = [[Category:Reactions]]
  | #default = [[Category:Actions]]
  }}
}}</includeonly><noinclude>
Examples follow.


= Piercing Strike =
<h2> Area: {{{area}}} </h2>


{{WeaponActionPage
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
| name = Piercing Strike
{{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}}
| weapon types = Daggers, Pikes, Rapiers, Shortswords, Tridents
</div>
| description = Stab an enemy and possibly inflict [[Gaping Wounds (Condition)|Gaping Wounds]]. [[List_of_Creature_Types#Undead|Undead]] and [[List_of_Creature_Types#Construct|Constructs]] can't suffer '''Gaping Wounds'''.
| damage = weapon
| range = weapon
| attack roll = yes
| recharge = Short Rest
| condition = Gaping Wounds
| condition save = CON
| condition duration = 2
| this is an example = yes
}}
}}
<h2> How to learn </h2>
{{#lvardef: how-to-learn-content |
  {{#lvardef: classes-learn-list |
    {{#loop: level | 1 | 20 |
      {{#if: {{{ class learns at level {{#var:level}} |}}} | {{#lvardef:hasclasslearn|1}}{{blank}}
* Class level {{#var:level}}: {{#invoke: ParseList | main | {{{ class learns at level {{#var:level}} }}} | makeLinks = yes }}
      }}
    }}
  }}{{#if: {{#lvar:classes-learn-list}} |


{{clear}}
Classes:
{{#lvar:classes-learn-list}}
  }}{{#if: {{{granted by feats|}}} | {{blank}}


= Gargantuan Cleave =
Granted by feats:
{{#invoke: ParseList | main | {{{granted by feats}}} | makeLinks = yes }}
  }}{{#cargo_query: tables = weapons
| fields = _pageName = page, name, legacy
| where = special_weapon_actions HOLDS "{{{name|{{#titleparts: {{PAGENAME}} }}}}}"
| order by = weapons._pageName
| more results text =
| intro = Granted by the weapons: <ul style="list-style: none;">
| outro = </ul>
| default =
| format = template
| named args = yes
| template = Passive sources/format
}}{{#if: {{{used by creatures|}}} | {{blank}}


{{WeaponActionPage
Used by creatures:
| name = Gargantuan Cleave
{{#invoke: ParseList | main | {{{used by creatures}}} | makeLinks = yes }}
| weapons = Very Heavy Greataxe
  }}{{#if: {{{variant of|}}} | {{blank}}
| description = Swing your weapon with all your might. You can attack multiple targets, but become Off Balanced.
 
| damage = weapon
This action is a variation of:<br>
| extra damage = 1d6
{{SAI|{{{variant of}}}|w=40}}
| extra damage type = Slashing
  }}{{#if: {{{weapon types|}}} | {{blank}}
| aoe = cone
Granted by wielding the following weapon types with [[proficiency]]:
| aoe m = 1.5
| aoe ft = 5
| attack roll = yes
| recharge = Short Rest
| this is an example = yes
}}


{{clear}}
{{#invoke: ParseList | main | {{{weapon types}}} | type = htmlList | useTemplate = WeaponType }}
  }}{{#if:{{{other ways to learn|}}} | {{blank}}
Other ways to learn:


= Pommel Strike =
{{{other ways to learn}}} }}
}}<div class="bg3wiki-tooltip-box">
{{#lvar: how-to-learn-content | ''(Information not yet added.)'' }}
</div>
{{#if: {{{notes|}}} | {{blank}}


{{WeaponActionPage
<h2>Notes</h2>
| name = Pommel Strike
| action type = bonus
| weapon types = Greatswords, Longswords
| description = Make a non-lethal attack against an enemy and possibly [[Dazed (Condition)|daze]] them.
| damage = 1d4
| damage type = Bludgeoning
| damage modifier = Strength
| attack roll = yes
| range = melee
| condition = Dazed
| condition save = CON
| condition duration = 2
| recharge = Short Rest
| this is an example = yes
}}


{{clear}}
<div class="bg3wiki-tooltip-box">
{{{notes}}}
</div>


= Brace (Melee) =
}} {{#if: {{{bugs|}}} |


{{WeaponActionPage
<h2> Bugs </h2>
| name = Brace (Melee)
| action type = movement
| movement ft = 20
| movement m = 6
| weapon types = Glaives, Pikes
| description = Spend {{distance|ft=20}} of your [[Movement Speed|movement]]. For the rest of your turn, roll melee damage twice and use the highest result.
| duration = 1
| recharge = Short Rest
| this is an example = yes
}}


{{clear}}
<div class="bg3wiki-tooltip-box">
 
{{{bugs}}}
= Tenacity =
{{Main namespace only|[[Category:Bugs]]}}
 
</div>
{{WeaponActionPage
}} {{Main namespace only|{{#if: {{{cost|}}} | | [[Category:Free actions]]}}
| name = Tenacity
[[Category:Weapon actions]] {{#cargo_store:
| action type = reaction
_table = spells
| weapon types = Greatclubs, Maces, Mauls, Morningstars
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| description = When you miss an attack, deal {{DamageType|Bludgeoning}} damage equal to your [[Ability Score Modifier|Strength Modifier]] (or a minimum of 1).
| image = {{{image|}}}
| this is an example = yes
| controller_icon = {{#lvar:controllericon}}
| icon = {{#lvar:icon}}
| is_spell = no
| is_weapon_action = yes
| aoe = {{{aoe|}}}
| aoe_size = {{#if:{{{aoe|}}}|{{{aoe m|}}}/{{{aoe ft|}}} }}
| has_attack_roll = {{#if:{{{attack roll|}}}|yes}}
| description = {{{description|}}}
| brief = {{{brief|}}}
| 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|}}} }}
| save = {{{save|}}}
| damage = {{{damage|}}}
| damage_type = {{{damage type|}}}
| damage_modifier = {{{damage modifier|}}}
| extra_damage = {{{extra damage|}}}
| extra_damage_type = {{{extra damage type|}}}
| extra_damage_modifier = {{{extra damage modifier|}}}
| extra_damage_2 = {{{extra damage 2|}}}
| extra_damage_type_2 = {{{extra damage type 2|}}}
| extra_damage_modifier_2 = {{{extra damage modifier 2|}}}
| extra_damage_3 = {{{extra damage 3|}}}
| extra_damage_type_3 = {{{extra damage type 3|}}}
| extra_damage_modifier_3 = {{{extra damage modifier 3|}}}
| damage_save = {{{damage save|{{{condition save|}}} }}}
| condition_duration = {{{condition duration|}}}
| recharge = {{{recharge|}}}
}}
}}
 
}}</includeonly><noinclude>
{{clear}}
{{documentation}}{{#cargo_attach:
 
_table = spells
= Zephyr Flash =
{{WeaponActionPage
|name=Zephyr Flash
|description=Rush forward, creating an air vortex that blasts foes and possibly inflicts {{Cond|Bleeding}}.
|damage=6d8
|save effect = half
|weapons=Nyrulna
|damage type=Thunder
|recharge=Short Rest
|condition=Bleeding
|condition save=DEX
|condition duration=3
|range m=12
|range ft=40
|save = Dexterity
|this is an example = yes
}}
 
{{clear}}
 
= Profane Scourge =
 
{{WeaponActionPage
| name = Profane Scourge
| weapons = The Undead Bane
| description = Strike with subjugating fury, adding your [[proficiency bonus]] to the damage roll. If you hit a [[Fiend]] or [[Undead]] creature, deal an additional {{DamageText|2d6|Slashing|drs=t}} damage and possibly {{cond|Bane}} it.
| damage = weapon
| damage type = Slashing
| damage modifier =
| extra damage = prof
| extra damage type = Slashing
| extra damage 2 = 2d6
| extra damage type 2 = Slashing
| extra damage con 2 = yes
| attack roll = yes
| range = weapon
| recharge = Short Rest
| condition = Bane
| condition save = STR
| condition duration = 3
|this is an example = yes
}}
 
{{clear}}
----
 
[[Category:Page generating templates]]
 
{{#cargo_declare: _table = weapon_actions
| name = String (unique, mandatory)
| image = File
| icon = File
| action_type = String
| weapon_types = List (,) of String
| weapons = List (,) of Page
| description = Wikitext
| damage = String
| damage_type = String
| damage_modifier = String
| attack_roll = Boolean
| duration = Integer
<!-- "range" is an SQL keyword, so we use "range_type" -->
| range_type = String
| range_ft = Float
| range_m = Float
<!-- "condition" is an SQL keyword, so we use "condition_name" -->
| condition_name = String
| condition_save = String
| condition_duration = Integer
| recharge = String
}}
</noinclude><includeonly>{{#switch: {{{this is an example|}}}
| yes =
| #default = {{#cargo_store: _table = weapon_actions
| name = {{#lvar:name}}
| image = {{#lvar:image}}
| icon = {{#lvar:icon}}
| action_type = {{{action type|action}}}
| attack_roll = {{{attack roll|no}}}
| duration = {{{duration|0}}}
| range_ft = {{{range ft|0}}}
| range_m = {{{range m|0}}}
| condition_name = {{{condition|}}}
| condition_duration = {{{condition duration|0}}}
}}
}}
}}</includeonly>
</noinclude>

Latest revision as of 20:36, 20 October 2024

Template documentation

Usage

{{Weapon action page
| this is an example = 
| summary =
| weapons =
| weapon types =
| description =
| extra description = 
| image =
| controller icon =
| icon =
| cost =
| hit cost =
| damage =
| damage type =
| damage modifier =
| extra damge = 
| extra damage type = 
| extra damage modifier = 
| extra damge 2 = 
| extra damage type 2 = 
| extra damage modifier 2 = 
| recharge =
| duration =
| save =
| save dc =
| on save =
| attack roll = 
| on miss =
| range =
| range m = 
| range ft = 
| aoe =
| aoe m =
| aoe ft =
| variants =
| variant of =
| 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 =
| X learns at level X =
| granted by feats =
| used by creatures =
| other ways to learn =
| warning =
| notes =
| bugs =
}}
Bg3 content hr.png

This generates pages that don't fit other generators, automatically formatting and categorizing the page. Don't be daunted by the number of parameters/options and fill in what you need.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Weapon Action summarysummary

The summary of the weapon action and its effects. This goes at the top of the article. If not specified, this will be auto-generated based on the 'weapons' and weapon types' parameters.

Example
This weapon action allows the use to strike all targets within melee range.
Contentoptional
Weaponsweapons

Specifies the weapons that grant this weapon action. Will be used to auto-generate the summary above.

Example
The Undead Bane
Stringoptional
Weapon typesweapon types

Specifies the weapon types that grant this weapon action. Used for common weapon actions that appear based on the base weapon type

Example
Daggers, Pikes, Rapiers, Shortswords, Tridents
Stringoptional
Weapon Action descriptiondescription

The raw in-game description of the action. Use summary for summarizing the action and its effects.

Example
Spend a superiority die to deal {{C|Weapon Damage + 1d8 Physical damage}} and possibly {{Cond|Frightened|Frighten}} the target.
Contentoptional
Extra descriptionextra description

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

Stringoptional
Tooltip Imageimage

The page's main image used for the tooltip in-game. This should be 380x380

Example
Zephyr Flash Faded.webp
Stringsuggested
Controller Iconcontroller icon

The weapon action's controller icon, used for controller interfaces. This should be the 144x144.

Example
Zephyr Flash Unfaded.webp
Stringsuggested
Iconicon

The weapon action's small icon, used for the hotbar. This should be the 64x64.

Example
Zephyr Flash Unfaded Icon.webp
Stringrequired
costcost

A comma separated list of resources used to perform the action. Use a colon and a number to specify > 1 cost. Valid resources are any resource available in the Resource Template.

Suggested values
action bonus reaction movement half movement ki supdie
Example
action, ki:2
Stringsuggested
hit costhit cost

A comma separated list of resources used only if the action is successful. Any resource defined in [[Template:Resource]] can be used

Suggested values
action bonus reaction supdie ki
Example
ki, bonus
Stringsuggested
damagedamage

The damage of the action, expressed as a number, damage dice, or in text

Suggested values
1d4 20 Weapon Damage
Example
3d6
Stringoptional
damage typedamage type

The type of damage being dealt

Suggested values
Slashing Piercing Bludgeoning Acid Fire Cold Lightning Thunder Necrotic Poison Healing
Example
Acid
Stringoptional
damage modifierdamage modifier

Any modifiers to the damage, found after the plus sign in the damage tooltip. Often a flexible value that scales with the source's ability scores.

Suggested values
STR DEX Spellcasting
Example
STR
Stringoptional
extra damageextra damage

The secondary damage of the action, if applicable. Will be output as damage + damage2. Same parameters as damage. Extra damage can be added up to six times by adding and incrementing the parameters each additional time, i.e. extra damage 2, extra damage type 2 etc.

Suggested values
1d4 20 Weapon Damage
Example
3d6
Stringoptional
extra damage typeextra damage type

The type of damage being dealt

Suggested values
Slashing Piercing Bludgeoning Acid Fire Cold Lightning Thunder Necrotic Poison Healing
Example
Acid
Stringoptional
extra damage modifierextra damage modifier

Any modifiers to the damage, found after the plus sign in the damage tooltip. Often a flexible value that scales with the source's ability scores.

Suggested values
STR DEX Spellcasting
Example
STR
Stringoptional
rechargerecharge

Action recharge time, if applicable

Example
Long Rest
Stringoptional
durationduration

Duration in turns of the action. Generally you will use condition duration instead.

Example
10
Stringoptional
attack rollattack roll

Whether the action is reliant on a attack roll and it's 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 action misses its attack roll.

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

The save (if any) that a target must roll against the damage effect of the action, with the result after the comma.

Suggested values
Strength, half damage Dexterity, negated Constitution Intelligence Wisdom Charisma
Example
Dexterity
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 action.

Suggested values
ranged melee self
Example
ranged
Stringoptional
range mrange m

Use this parameter if the action'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 action'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 action 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 action's aoe shape, in meters.

Example
5
Numberoptional
aoe ftaoe ft

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

Example
15
Numberoptional
conditioncondition

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

Example
Hastened
Stringoptional
condition durationcondition duration

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

Example
5
Numberoptional
condition savecondition save

The save that the action'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 optional fixed DC of the condition that targets have to pass to apply it

Example
12
Numberoptional
condition2condition2

The full name of the condition (if any) that is applied if there is a second condition.

Example
Hastened
Stringoptional
condition2 durationcondition2 duration

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

Example
5
Numberoptional
condition2 savecondition2 save

The save that the action's target must roll to avoid or reduce the effects of the second condition. 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 optional fixed DC of the second condition that targets have to pass to apply it

Example
12
Numberoptional
Area namearea

Indicates the page of a special area/field/surface/cloud created by the action (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 action takes.

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

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

Example
5
Numberoptional
area range ftarea range ft

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

Example
12
Numberoptional
area durationarea duration

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

Example
6
Numberoptional
variantsvariants

Comma-separated list of variants of the action, like the element types of Divine Strike.

Example
Divine Strike: Fire, Divine Strike: Ice, Divine Strike: Cold, ...
Stringoptional
variant ofvariant of

The weapon action that is the parent of this weapon action

Example
Divine Strike
Stringoptional
class learns at level 1class learns at level 1

This specifies what level the classes get access to this action at level 1. 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
Stringoptional
class learns at level 2class learns at level 2

This specifies what level the classes get access to this action at level 2. 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
Stringoptional
class learns at level 3class learns at level 3

This specifies what level the classes get access to this action at level 3. 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
Stringoptional
class learns at level 4class learns at level 4

This specifies what level the classes get access to this action at level 4. 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
Stringoptional
class learns at level 5class learns at level 5

This specifies what level the classes get access to this action at 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
Stringoptional
class learns at level 6class learns at level 6

This specifies what level the classes get access to this action at level 6. 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
Stringoptional
class learns at level 7class learns at level 7

This specifies what level the classes get access to this action at level 7. 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
Stringoptional
class learns at level 8class learns at level 8

This specifies what level the classes get access to this action at level 8. 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
Stringoptional
class learns at level 9class learns at level 9

This specifies what level the classes get access to this action at level 9. 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
Stringoptional
class learns at level 10class learns at level 10

This specifies what level the classes get access to this action at level 10. 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
Stringoptional
class learns at level 11class learns at level 11

This specifies what level the classes get access to this action at level 11. 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
Stringoptional
class learns at level 12class learns at level 12

This specifies what level the classes get access to this action at level 12. 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
Stringoptional
warningwarning

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

Stringoptional
granted by featsgranted by feats

This specifies what feats get access to this weapon action. Similar to the class and race arguments, this list can be comma-separated as well.

Example
Magic Initiate: Druid
Stringoptional
used by creaturesused by creatures

This specifies which creatures use this action.

Example
Magma Mephit
Stringoptional
notesnotes

Any extra or related information about the action.

Contentoptional
bugsbugs

Any known bugs about the action.

Contentoptional
If this is an examplethis is an example

If this is an example and you don't want the page to be categorized and related.

Example
yes
Stringoptional
other ways to learnother ways to learn

Other ways to learn. These will be inserted as-is at the end of the how to learn field.

Stringoptional

Examples

Piercing Strike

Piercing Strike is a weapon action available to characters proficient in and wielding a dagger, pike, rapier, shortsword, or trident in their main hand.

Description

Stab an enemy and possibly inflict Gaping Wounds. Undead and Constructs can't suffer Gaping Wounds.

Properties

Cost
Action
Damage
Normal weapon damage
Details
Melee weapon attack roll
 Range: Normal weapon range
Recharge: Short rest

Condition: Gaping Wounds

Gaping Wounds Gaping Wounds

Duration: 2 turns

Constitution saving throw

  • Attacks against this creature deal an additional 2Damage TypesPiercing damage.
  • Removed by healing.

How to learn

Granted by wielding the following weapon types with proficiency:


Gargantuan Cleave

Gargantuan Cleave is a weapon action granted by Very Heavy Greataxe.

Description

Swing your weapon with all your might. You can attack multiple targets, but become Off Balanced.

Properties

Cost
Action
Damage
Normal weapon damage
+
D6 Slashing.png 1d6 (1~6) Damage TypesSlashing
Details
Attack roll
AoE: 1.5 m / 5 ft (Cone)
Recharge: Short rest

How to learn

Granted by the weapons:


Pommel Strike

Pommel Strike is a weapon action available to characters proficient in and wielding a greatsword, or longsword in their main hand.

Description

Make a non-lethal attack against an enemy and possibly daze them.

Properties

Cost
Bonus action
Damage
Details
Attack roll
 Melee: 1.5 m / 5  ft
Recharge: Short rest

Condition: Dazed

Dazed Dazed

Duration: 2 turns

Constitution saving throw

How to learn

Granted by wielding the following weapon types with proficiency:


Brace (Melee)

Brace (Melee) is a weapon action available to characters proficient in and wielding a glaive, or pike in their main hand.

Description

Spend 6 m / 20 ft of your movement. For the rest of your turn, roll melee damage twice and use the highest result.

Properties

Cost
6 m / 20 ftMovement
Details
Duration: 1 turn
Recharge: Short rest

How to learn

Granted by wielding the following weapon types with proficiency:


Tenacity

Tenacity is a weapon action available to characters proficient in and wielding a greatclub, mace, maul, or morningstar in their main hand.

Description

When you miss an attack, deal Damage TypesBludgeoning damage equal to your Strength Modifier (or a minimum of 1).

Properties

Cost
Reaction

How to learn

Granted by wielding the following weapon types with proficiency:


Zephyr Flash

Zephyr Flash is a weapon action granted by Nyrulna.

Description

Rush forward, creating an air vortex that blasts foes and possibly inflicts Bleeding Bleeding.

Doesn't provoke Opportunity Attacks.

Properties

Cost
Action
Cost on hit
Bonus action
Damage
D8 Thunder.png 6d8 (6~48) Damage TypesThunder
Details
DEX Save (DC 15) (On Save: Targets still take half damage.)
 Range: 12 m / 40 ft
Recharge: Short rest

Condition: Bleeding

Bleeding Bleeding

Duration: 3 turns

Dexterity saving throw

How to learn

Granted by the weapons:


Profane Scourge

Profane Scourge is a weapon action granted by The Undead Bane.

Description

Strike with subjugating fury, adding your proficiency bonus to the damage roll. If you hit a Fiend or Undead creature, deal an additional 2d6Damage TypesSlashingDRS damage and possibly Bane Bane it.

Properties

Cost
Action + Bonus action
Damage
Normal weapon damage
+
+
D6 Slashing.png 2d6 (2~12) Damage TypesSlashing (conditional)
Details
Attack roll
 Range: Normal weapon range
Recharge: Short rest

Condition: Bane

Bane Bane

Duration: 3 turns

Strength saving throw

How to learn

Granted by the weapons:


Menacing Attack

Menacing Attack Melee.webp

Menacing Attack (Melee) is a Battle Master Battle Master Action. This combat manoeuvre allows the Fighter to deal damage to enemies with Melee Weapons and possibly Frighten them.

Description

Spend a superiority die to deal Weapon Damage + 1d8 Physical damage and possibly Frighten Frighten the target.

Properties

Cost
Action
Cost on hit
Superiority Die
Damage
Normal weapon damage
+ Superiority Die Damage TypesWeapon damage
Details
Attack roll (On Miss: Does not spend Superiority Die.)

Condition: Frightened

Frightened Frightened

Duration: 1 turn

Wisdom saving throw

How to learn

Classes:

This template adds rows to the table "spells", which is declared by the template Spell page. View table.