Shadowrun6eUltimaniaSys/module/data/spell.mjs

13 lines
379 B
JavaScript
Raw Normal View History

2024-05-20 09:59:52 +00:00
import Shadowrun6ItemBase from "./item-base.mjs";
export default class Shadowrun6Spell extends Shadowrun6ItemBase {
static defineSchema() {
const fields = foundry.data.fields;
const schema = super.defineSchema();
schema.spellLevel = new fields.NumberField({ required: true, nullable: false, integer: true, initial: 1, min: 1, max: 9 });
return schema;
}
}