You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
379 B
JavaScript
13 lines
379 B
JavaScript
3 weeks ago
|
import WanderhomeItemBase from "./base-item.mjs";
|
||
|
|
||
|
export default class WanderhomeSpell extends WanderhomeItemBase {
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
}
|