This commit is contained in:
2022-01-12 17:21:37 +01:00
parent 5479605214
commit a5eb96cd97
8 changed files with 35 additions and 13 deletions

View File

@@ -348,6 +348,11 @@ export class PegasusItemSheet extends ItemSheet {
specArray.push( newItem );
await this.object.update( { 'data.recoveryrollspec': specArray} );
}
if ( event.toElement.className =='drop-effect-specaffected') {
let specArray = duplicate(this.object.data.data.specaffected);
specArray.push( newItem );
await this.object.update( { 'data.specaffected': specArray} );
}
}
/* -------------------------------------------- */