Finish implementing the Add Spell button
This commit is contained in:
parent
1f26bbae1b
commit
e5bd1e8338
5 changed files with 32 additions and 5 deletions
|
|
@ -1,5 +1,10 @@
|
|||
export class PlayerActor {
|
||||
static createCustomSpell() {};
|
||||
static createCustomSpell() {
|
||||
this.createEmbeddedDocuments(
|
||||
"Item",
|
||||
[{ type: `spell`, name: `New Spell` }]
|
||||
);
|
||||
};
|
||||
|
||||
static async updateEmbeddedDocument($event) {
|
||||
let data = $event.target.dataset;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue