Template:Action: Difference between revisions

Template page
No edit summary
Tag: wikieditor
No edit summary
Tag: wikieditor
Line 13: Line 13:
<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
* ?</tab>
* ?</tab>
<tab name="Contests">
<tab name="Contests">

Revision as of 18:02, 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 that is listed on the action page 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