Template:Action: Difference between revisions

Template page
No edit summary
Tag: wikieditor
No edit summary
Tag: wikieditor
Line 1: Line 1:
<noinclude><pre>
<noinclude>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
{{Action
| type= //Which type of Action it is, Attack/Spellcasting/Bonus etc, full page name as listed on the Action page
| type= //Which type of Action it is, Attack/Spellcasting/Bonus etc
| contest= //The type of a contested check with the target to determine success, specify roll, 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 the target needs to save with against your contest.  
| save= //What a target needs to save with against your contest.  
| contestFail= //what happens if the contest fails [halfDmg/noDmg]. Default is nothing (
| contestFail= //what happens if the contest fails halfDmg/noDmg etc?. Default is nothing
| check= //A check for the character to determine success
| check= //A check for the character to determine success
}}
}}
</pre>
</pre>
<tabs>
<tabs>
<tab name="Types">
====Acceptable types====
* Anything non-specific that is listed on the [[action]] page (i.e not Dodge) as full page names
* ?</tab>
<tab name="Contests">
<tab name="Contests">
{| class="wikitable"
{| class="wikitable"
Line 15: Line 21:
! Type !! Example or value
! Type !! Example or value
|-
|-
| Skill checks || Strength(Brawn)
| Skill checks || [[Ability Score|Strength]]([[Skill Proficiency|Brawn]])<br>''ASI(Skill)''
|-
|-
| Spell DC || DC<br>(Default for spells)
| Spell DC || DC<br>''(Default for spells)''
|-
|-
| Spellattack roll || Spellattack
| Attack roll || Attack(melee/ranged/spell)<br>''(Default for attacks)''
|-
|-
| Attack roll || Attack(melee/ranged)<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
| a || b

Revision as of 17:59, 10 September 2023

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
| 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 non-specific that is listed on the action page (i.e not Dodge) as full page names
  • ?
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