Template:Action: Difference between revisions

Template page
Created blank page
Tag: wikieditor
 
No edit summary
Tag: wikieditor
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{also|[[Template:Buff]], [[Template:Reaction]]}}
This template is for clients reading through the API.


All properties are optional and should only be specified if the action has such a component<pre>
{{Action
| type= //Which type of Action it is, Attack/Spellcasting/Bonus etc
| effect1..= //For specific details if the Action has other effects, or if there are more than one component, each is a separate effect
| contest= //The type of a contested check with the target to determine success AS(skill), Spell/Attack etc.
| save= //What a target needs to save with against your contest.
| contestFail= //what happens if the contest fails halfDmg/noDmg etc?. Default is nothing
| check= //A check for the character to determine success
}}
</pre>
<tabs>
<tab name="Types">
====Acceptable types====
Anything that is listed on the [[action]] page as full page names, the most specific for the action.
Many things are multi tiered, like maneuvers for example. See [[Commander's Strike/Tier 2]] below:<pre>
{{Action | type=Combat Action
| effect1 = {{Buff ... | effect1 = {{Reaction | type=Attack}} }}
| effect2 = {{Action | type=Attack}}
}}</pre>
</tab>
<tab name="Contests">
{| class="wikitable"
|+ Contest types
|-
! Type !! Example or value
|-
| Skill checks || [[Ability Score|Strength]]([[Skill Proficiency|Brawn]])<br>''ASI(Skill)''
|-
| Spell DC || DC<br>''(Default for spells)''
|-
| Attack roll || Attack(melee/ranged/spell)<br>''(Default for attacks)''
|-
| a || b
|-
|}</tab>
<tab name="Saves">
{| class="wikitable"
|+ Save types
|-
! Type !! Example or value
|-
| Skill checks || [[Ability Score|Strength]]([[Skill Proficiency|Brawn]])<br>''ASI(Skill)''
|-
| a || b
|-
|}</tab>
<tab name="Contest fails">
What happens if the contest fails, that is if the target succeeds in their save. Default is nothing (
{| class="wikitable"
|+ Fail
|-
! Type !! Value
|-
| Skill checks || [[Ability Score|Strength]]([[Skill Proficiency|Brawn]])<br>''ASI(Skill)''
|-
| a || b
|-
|}</tab>
</tabs>
</noinclude>

Latest revision as of 19:13, 8 December 2023

See also: Template:Buff, Template:Reaction.


This template is for clients reading through the API.

All properties are optional and should only be specified if the action has such a component

{{Action
| type= //Which type of Action it is, Attack/Spellcasting/Bonus etc
| effect1..= //For specific details if the Action has other effects, or if there are more than one component, each is a separate effect
| contest= //The type of a contested check with the target to determine success AS(skill), Spell/Attack etc.
| save= //What a target needs to save with against your contest. 
| contestFail= //what happens if the contest fails halfDmg/noDmg etc?. Default is nothing
| check= //A check for the character to determine success
}}

Acceptable types

Anything that is listed on the action page as full page names, the most specific for the action.

Many things are multi tiered, like maneuvers for example. See Commander's Strike/Tier 2 below:
{{Action | type=Combat Action
| effect1 = {{Buff ... | effect1 = {{Reaction | type=Attack}} }}
| effect2 = {{Action | type=Attack}}
}}
Contest types
Type Example or value
Skill checks Strength(Brawn)
ASI(Skill)
Spell DC DC
(Default for spells)
Attack roll Attack(melee/ranged/spell)
(Default for attacks)
a b
Save types
Type Example or value
Skill checks Strength(Brawn)
ASI(Skill)
a b

What happens if the contest fails, that is if the target succeeds in their save. Default is nothing (

Fail
Type Value
Skill checks Strength(Brawn)
ASI(Skill)
a b