Template:Action: Difference between revisions

Template page
No edit summary
Tag: wikieditor
No edit summary
Tag: wikieditor
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>This template is for clients reading through the API.
<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>
All properties are optional and should only be specified if the action has such a component<pre>
{{Action
{{Action
| type= //Which type of Action it is, Attack/Spellcasting/Bonus etc
| 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.
| 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.  
| save= //What a target needs to save with against your contest.  
Line 10: Line 12:
}}
}}
</pre>
</pre>
<tabs>
<tabs>
<tab name="Types">
<tab name="Types">
====Acceptable types====
====Acceptable types====
* Anything non-specific that is listed on the [[action]] page (i.e not Dodge) as full page names
Anything that is listed on the [[action]] page as full page names, the most specific for the action.
* ?</tab>
 
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">
<tab name="Contests">
{| class="wikitable"
{| class="wikitable"

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