grislyeye / vellum-sheet

Web component for displaying 5th Edition character sheets
Apache License 2.0
4 stars 1 forks source link

Fix: display spellcasting information in the "Attacks & Spellcasting" box #12

Open rg-wood opened 5 years ago

rg-wood commented 5 years ago

Currently spellcasting is displayed in the "Features & Traits" section but more properly belongs in the "Attacks & Spellcasting" box.

Possible structure for spellcasting information:

{
  "spellcasting": {
    "ability": "charisma",
    "spells": {
      "cantrips": {
        "spells": ["light", "sacred flame"]
      },
      "1": {
        "slots": 2,
        "spells": ["Charm Person"]
      }
    }
  }
}

What to do when you have more than one kind of spellcasting, for example, multiclassing?