Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

vorpalhex/srd_spells

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 

Repository files navigation

Archived

Please use 5eTools data instead.

This won't be getting additional updates as it's fairly behind already and much better versions of this exist now. The 5eTools version handles scaling, is much more complete, and has a better overall data structure.

Spells from the SRD

This is a JSON formatted list of all the spells from the SRD, automatically pulled from @ephe's very nice grimoire with permission. This list has been both automatically and manually inspected, but is still likely to contain errors.

General Format of a Spell

{
  "name": "Acid Splash",
  "tags": [
    "sorcerer",
    "wizard",
    "cantrip"
  ],
  "type": "Conjuration cantrip",
  "ritual": false,
  "level": "cantrip",
  "school": "Conjuration",
  "casting_time": "1 action",
  "range": "60 feet",
  "components": {
    "verbal": true,
    "somatic": true,
    "material": false,
    "raw": "V, S"
  },
  "duration": "Instantaneous",
  "description": "You hurl a bubble of acid. Choose one creature within range, or choose two creatures within range that are within 5 feet of each other. A target must succeed on a Dexterity saving throw or take 1d6 acid damage.\n\nThis spell's damage increases by 1d6 when you reach 5th level (2d6), 11th level (3d6), and 17th level (4d6)."
}

Formatting notes

The description preserves whitespace in the form of linebreak characters (\n). If you want to display descriptions correctly in html, either wrap the description with <pre> tags or replace the \n's with <br>.

List of Tags

'sorcerer',
'wizard',
'cantrip',
'ranger',
'level1',
'bard',
'druid',
'cleric',
'warlock',
'paladin',
'cleric (trickery)',
'level3',
'level2',
'level4',
'level8',
'level9',
'level7',
'level5',
'level6'

Users

If you make use of this repo and would like to be added here, just open a ticket!

Dungeons and Dragons 5th edition character sheet

SharpShark28

Web-based application to elegantly view spells and save them to your local spellbook.

Licensing Bits

Open Game License v1.0a Copyright 2000, Wizards of the Coast, Inc.

spells.json contains content from the SRD and is restricted and covered by the OGL. You can find the OGL 1.0a at ogl.html in this repo, or online here. When using said data, please make sure to conform appropriately with the proper licenses and whatnot.

About

A JSON formatted list of all the spells from the 5e SRD

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages