Skip to content
Back

Daggerheart classes

system: dh · type: classes

Fields

  • titleobjectrequired
    At least one language must be non-empty
    • enstring
    • rustring
  • descriptionobject
    Short description shown in class selection
    • enstring
    • rustring
  • description_fullobject
    Full class text
    • enstring
    • rustring
  • hpintegerrequired
    Starting hit points
    min 1
  • evasionintegerrequired
    Starting evasion
    min 1
  • domainsarray<integer>required
  • traitsobject
    Suggested trait distribution, e.g. { "AGL": 2, "STR": 1, "FNS": 1, "INS": 0, "PRE": 0, "KNW": -1 }
    • STRinteger
    • AGLinteger
    • FNSinteger
    • INSinteger
    • PREinteger
    • KNWinteger
  • featuresarray<object>
    Named abilities of this record. Each entry is either { "feature_id": <id> } for a feature YOU own, or an inline dh-features item (title, description, type, tier, mechanics) that creates a new feature owned by you. Put a mechanic in the entity's own `mechanics` when it is an unnamed effect of the entity itself (e.g. armor that adds +1 evasion, a potion that is a craft recipe). When the effect is a named ability with its own description text - something the player sees as a separate block (e.g. "Reliable", "Heavy") - create it as a feature (inline in `features`) and put the mechanics on that feature. Every class feature must have type "class" (a class ability) or "hope" (the class Hope feature); at most one "hope" feature. Class features carry the class's mechanics - the class itself has no own mechanics field.
    How features are attached
  • itemsarray<array<integer>>
    Starting item choice groups: each group is a non-empty list of dh-items ids (your own or SRD) the player picks one from
  • optionsobject
    Suggested starting equipment: primary/secondary - tier 1 dh-weapons ids of that weapon type, armor - a tier 1 dh-armor id; your own or SRD. On update the whole object is replaced, missing keys become null
    • primaryinteger | null
    • secondaryinteger | null
    • armorinteger | null
  • sourcestring
  • imgstring

Example

A file with one filled-in classes record:
[
  {
    "system": "dh",
    "type": "classes",
    "data": [
      {
        "title": {},
        "hp": 1,
        "evasion": 1,
        "domains": [
          1
        ]
      }
    ]
  }
]