13 lines
379 B
JavaScript
13 lines
379 B
JavaScript
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;
|
|
}
|
|
} |