Adds import support from our other project.
This commit is contained in:
92
rulesets/open5e/entities/spell.json
Normal file
92
rulesets/open5e/entities/spell.json
Normal file
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"$schema": "../../../schema/entity-definition.json",
|
||||
"id": "spell",
|
||||
"name": "Spell",
|
||||
"description": "5e Spell entity definition declaring level, school, casting time, range, components, duration, and spell description.",
|
||||
"ruleset_id": "open5e",
|
||||
"version": "1.0.0",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"level",
|
||||
"school",
|
||||
"casting_time",
|
||||
"range",
|
||||
"duration",
|
||||
"description"
|
||||
],
|
||||
"properties": {
|
||||
"level": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 9,
|
||||
"description": "Spell level from 0 (cantrip) up to 9."
|
||||
},
|
||||
"school": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"abjuration",
|
||||
"conjuration",
|
||||
"divination",
|
||||
"enchantment",
|
||||
"evocation",
|
||||
"illusion",
|
||||
"necromancy",
|
||||
"transmutation"
|
||||
]
|
||||
},
|
||||
"casting_time": {
|
||||
"type": "string",
|
||||
"description": "e.g. 1 action, 1 bonus action, 1 reaction, 10 minutes."
|
||||
},
|
||||
"range": {
|
||||
"type": "string",
|
||||
"description": "e.g. Self, Touch, 30 feet, 60 feet, 120 feet."
|
||||
},
|
||||
"components": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"verbal": { "type": "boolean", "default": true },
|
||||
"somatic": { "type": "boolean", "default": true },
|
||||
"material": { "type": "boolean", "default": false },
|
||||
"material_specified": { "type": "string" }
|
||||
}
|
||||
},
|
||||
"duration": {
|
||||
"type": "string",
|
||||
"description": "e.g. Instantaneous, 1 round, 1 hour, Concentration up to 1 minute."
|
||||
},
|
||||
"concentration": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"ritual": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "Rules text of the spell effect."
|
||||
},
|
||||
"higher_levels": {
|
||||
"type": "string",
|
||||
"description": "Rules text for casting at higher slot levels."
|
||||
}
|
||||
}
|
||||
},
|
||||
"default_values": {
|
||||
"level": 0,
|
||||
"school": "evocation",
|
||||
"casting_time": "1 action",
|
||||
"range": "60 feet",
|
||||
"components": {
|
||||
"verbal": true,
|
||||
"somatic": true,
|
||||
"material": false
|
||||
},
|
||||
"duration": "Instantaneous",
|
||||
"concentration": false,
|
||||
"ritual": false,
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user