mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
Added back the save function
This commit is contained in:
parent
cc0766fc20
commit
6eedc92e8c
2 changed files with 5 additions and 2 deletions
|
|
@ -90,7 +90,10 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
|
|||
|
||||
static async save() {
|
||||
await this.actor.update({
|
||||
'system.levelData.selections': [{ tier: 1, level: 2, type: 'hitPoint', checkboxNr: 1 }]
|
||||
'system.levelData': {
|
||||
'level.current': this.actor.system.levelData.level.changed,
|
||||
'selections': this.levelup.playerData
|
||||
}
|
||||
});
|
||||
|
||||
this.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue