forked from public/foundryvtt-reve-de-dragon
Adaptation Feuilles Acteurs
This commit is contained in:
@ -122,10 +122,10 @@ export class Draconique {
|
||||
}
|
||||
|
||||
async createCaseTmr(actor, label, tmr, sourceId = undefined) {
|
||||
await actor.createOwnedItem({
|
||||
await actor.createEmbeddedDocuments('Item',[{
|
||||
name: label, type: 'casetmr', img: this.img(), _id: randomID(16),
|
||||
data: { coord: tmr.coord, specific: this.code(), sourceid: sourceId }
|
||||
});
|
||||
}]);
|
||||
}
|
||||
|
||||
async deleteCasesTmr(actor, draconique) {
|
||||
|
Reference in New Issue
Block a user